mavlink_msg_heartbeat_pack

asked 2016-04-07 04:23:34 -0500

MavTan gravatar image

This function was called in Line 249 of main.c but i cannot find the code for this function in any other c or header file.

Please advise.

edit retag flag offensive close merge delete

Comments

In the future when asking questions, please include a link to the source code or package that you're trying to compile. There are many, many files named main.c

ahendrix gravatar image ahendrix  ( 2016-04-07 04:30:50 -0500 )edit

I suspect this function is part of the generated code for encoding and decoding mavlink messages. You may want to look at the mavlink documentation.

ahendrix gravatar image ahendrix  ( 2016-04-07 04:31:38 -0500 )edit

Thanks.

The link is http://docs.ros.org/jade/api/mavlink/...

Where to get the mavlink documentation? I cannot find it in ROS site.

MavTan gravatar image MavTan  ( 2016-04-07 04:36:04 -0500 )edit

Mavlink is a separate project; it's just included in ROS for convenience. They have their own website: http://qgroundcontrol.org/mavlink/start

ahendrix gravatar image ahendrix  ( 2016-04-07 05:05:00 -0500 )edit