GitHub - indro-robotics/delivery_bot at ros2
All package codebases, requirements, and descriptions are included in the above repository. Inside the package.xml
for each package are the executable dependencies needed to run the package. The installation instructions below walk through installing and launching the simulation.
In the src
directory of your ROS2 workspace, clone the delivery_bot
repository and select the ros2
branch.
cd ~/humble_ws/src
git clone <https://github.com/indro-robotics/delivery_bot.git>
cd deliverybot
git checkout ros2
Initialize, check and install the necessary package dependencies using the rosdep
function
<aside>
⚠️ If the rosdep package is not already installed, run sudo apt-get install python3-rosdep
</aside>
cd ~/humble_ws
sudo rosdep init
#Check dependencies
rosdep check --from-paths src --ignore-src --rosdistro humble
#Install dependencies
rosdep install --from-paths src --ignore-src --rosdistro humble -y
After installing dependencies, build and source the workspace.
cd ~/humble_ws
colcon build
#If an [alias](<https://indrorobotics.notion.site/ROS-2-5ba47651bc8e486584d291b463ff14e3>) has already been created
humble
#If no alias has been created (recommend creating one)
source install/setup.bash
If, when running colcon build
, the packages fail to build and return the error:
SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and \\
other standards-based tools
The setuptools
package version is newer than the latest ROS2-supported package. Roll the package back to a supported version.