How to create unique Mavros messages

asked 2017-10-12 04:34:27 -0500

ta gravatar image

Hello, Skimming through the online documentation, I've figured out how to send default Mavlink messages from a ROS node (haven't tried yet but I know the steps to do it at least). However, I can't find a proper tutorial explaining how to create my own Mavlink message in ROS. (note that I've read this : and have successfully created my own message in px4 from a .xml file).

I know I could just re-use the .h file created by the MAVLink Generator and place it in the "/opt/ros/kinetic/include/mavros_msgs" folder but as the folder is protected by default, I'm sure there is a better way to do it that is supported by default by ROS (creating the mavlink message header file from a .msg file for instance).

Any help is much appreciated,


edit retag flag offensive close merge delete