Files
mavlink-devguide/en/getting_started/ros.md
T
Hamish Willee b6c49b2cd1 Test migration to vitepress (#551)
* Add package/.vitepress folders - more work to be done

* Fix up config and add site/favicons

* Update styles for wide tables

* Rename English files from README.md to index.md

* Add root home page

* Update .gitignore for vitepress

* Delete unused: travis, book, redirects

* Fix up all Notes

* Warnings and notes - convert to github format

* Add running workflow

* Add yarn lock file

* Fix up links README.md to index.md

* Add lock files
2024-11-27 16:59:53 +11:00

917 B

Generate Source Files for ROS

To add MAVlink messages/dialects while working with ROS:

  1. Follow the MAVROS source install instructions to install the mavlink-gbp-release which is the MAVlink library released for ROS.

  2. Uninstall the MAVlink package for ROS if previously installed.

    sudo apt-get remove ros-${rosversion -d}-mavlink
    

    or source devel/setup.bash of your catkin workspace to override the library directory.

  3. In the mavlink-gbp-release, add the new MAVlink message to common.xml or add the new dialect dialect_name.xml in the message definitions. Do not checkout your MAVlink branch because it is not the version synced with ROS.

  4. Generate the MAVlink headers catkin build mavlink. You can find the headers in ~/catkin_ws/build/mavlink/include/.