- Create a valid ROS2 workspace using colcon.
- Clone this repo inside your
src
folder. - Add sprintbot-model and optionally key_teleop packages in your
src
folder from here - Build these 3 packages using
colcon build
. - Source the workspace:
source install/setup.bash
- Launch:
ros2 launch ros_acoustics gazebo_test_launch.py
. You should be able to see gazebo with a sprintbot and some objects. - In another terminal, get the acoustic waveform by running
ros2 run ros_acoustics basic_test.py
- Optionally, you can teleop sprintbot by running this in another terminal:
ros2 run key_teleop key_teleop
Note: Make sure gazebo is installed using sudo apt install ros-foxy-gazebo-ros*