Saturday, August 9, 2014

Desired flight mode control flow


Mavlink receiver


     By July 21th, roscopter could send only mavlink message #76 to PX4. Few days after July 21, the reason of failing to send other mavlink messages was found. The problem was that there are no handle functions for other mavlink messages in current PX4 firmware version. In mavlink_reciever app as shown above, only mavlink message #76, #100, #11, #104, #61, #109, #69, #0, #66 and #131 handle functions were implemented.


Mavlink message #32 was implemented successfully, and it was displayed in QGC 



      QGC shows that local position data (right window from roscopter) were successfully sent to PX4 (shows in QGC on the left window).

   As a result, to enable the communication between ROS and PX4, subscriber functions of missing mavlink messages need to be implemented in roscopter node, and handle functions and topics of missing mavlink messages need to be implemented in mavlink_receiver app. In other words, PX4 firmware was hacked to enable the communication.
 
Desired flight mode control flow

No comments:

Post a Comment