ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Based on the updated description, rmf_traffic
is failing to build due to missing dependencies.
The reason is that the tutorial fails to mention to install the packages dependencies before building.
In order to install the dependencies of the packages in your workspace, it is recommended to use rosdep
rosdep update
rosdep install --from-paths src --ignore-src -y
So in the tutorial you are using it will look like:
cd ~/client_ws
source /opt/ros/melodic/setup.bash
# install dependencies
rosdep update
rosdep install --from-paths src --ignore-src -y
# build cyclonedds first with the necessary cmake flags
catkin build cyclonedds --cmake-args -DBUILD_IDLC=NO
# build the rest of the packages
catkin build
and
cd ~/server_ws
source /opt/ros/eloquent/setup.bash
# install dependencies
rosdep update
rosdep install --from-paths src --ignore-src -y
# build cyclonedds first with the necessary cmake flags
colcon build --packages-select cyclonedds --cmake-args -DBUILD_IDLC=NO
2 | No.2 Revision |
Based on the updated description, rmf_traffic
is failing to build due to missing dependencies.
The reason is that the tutorial fails to mention to install the packages dependencies before building.
In order to install the dependencies of the packages in your workspace, it is recommended to use rosdep
rosdep update
rosdep install --from-paths src --ignore-src -y
So in the tutorial you are using it will look like:
cd ~/client_ws
source /opt/ros/melodic/setup.bash
# Tell rosdep to ignore the ROS 2 packages as this is the ROS 1 melodic workspace
touch ~/client_ws/src/free_fleet/free_fleet_examples_ros2/CATKIN_IGNORE
touch ~/client_ws/src/free_fleet/free_fleet_server_ros2/CATKIN_IGNORE
# install dependencies
rosdep update
rosdep install --from-paths src --ignore-src -y
-y --rosdistro melodic
# build cyclonedds first with the necessary cmake flags
catkin build cyclonedds --cmake-args -DBUILD_IDLC=NO
# build the rest of the packages
catkin build
and
cd ~/server_ws
source /opt/ros/eloquent/setup.bash
# install dependencies
rosdep update
rosdep install --from-paths src --ignore-src -y
-y --rosdistro eloquent
# build cyclonedds first with the necessary cmake flags
colcon build --packages-select cyclonedds --cmake-args -DBUILD_IDLC=NO