README

Build Instructions

First, source your ros2 installation.

source /opt/ros/humble/setup.bash

Before you build, make sure you’ve installed all the dependencies…

rosdep install --ignore-src --from-paths src -y -r

Then build with colcon build…

colcon build

Operating Instructions

After you built the project don’t forget to setup your environment: First source the gazebo setup via

source /opt/ros/humble/share/gazebo_ros/local_setup.bash

Then source the proper workspace…

source ~/workspace/humble_ws/install/setup.sh

And then run the launch file…

ros2 launch sm_multi_panda_sim sm_multi_panda_sim.launch.py

If the simulation is not starting up properly check if your GAZEBO_RESOURCE_PATH is set correctly (echo $GAZEBO_RESOURCE_PATH). Otherwise simply set it with:

export GAZEBO_RESOURCE_PATH=/usr/share/gazebo-<your_gazebo_version>/

Note: Sometimes the Gazebo server is not shutdown correctly. If you cannot restart the simulation you might have to look if there is still a instance of the server (gzserver) running. You then have to end it manually. Or just run:

killall -9 gzserver

Viewer Instructions

If you have the SMACC2 Runtime Analyzer installed then type...
ros2 run smacc2_rta smacc2_rta

If you don’t have the SMACC2 Runtime Analyzer click here