-
Notifications
You must be signed in to change notification settings - Fork 23
Module #9: Custom Interfaces
Muhammad Luqman edited this page Mar 29, 2024
·
2 revisions
- package : custom_interfaces
- How to create your own custom messages in ROS2
- Ubuntu 22.04 LTS
- Vscode
- ROS2 Humble
- Create you own workspace ( if not done already )
mkdir -p ~/ros2_my_ws/src cd ~/ros2_my_ws/src
- Clone repository ( if not done already )
https://github.com/Robotisim/robotics_software_engineer.git
- Install dependencies
cd ~/ros2_my_ws/src/robotics_software_engineer vcs import < dependencies.repos cd ~/ros2_my_ws/ rosdep install --from-paths src --ignore-src -r -y
- Build your workspace
cd ~/ros2_my_ws/ colcon build && source ~/ros2_my_ws/install/setup.bash
- Run nodes that will utilize custom messages
ros2 run custom_interfaces combine_sensors