aboutsummaryrefslogtreecommitdiff
path: root/src/modules/mavlink/mavlink_receiver.h
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-09-02 23:24:54 +0200
committerThomas Gubler <thomasgubler@gmail.com>2014-09-02 23:29:54 +0200
commit752b89b99811e27082be8147c7ff8426f0199478 (patch)
tree3e95ba027d4bb5ee8d951f8e785de41ef24e855a /src/modules/mavlink/mavlink_receiver.h
parent2780dc39ce5d47f2d9dfa921062100a1dc86c2be (diff)
downloadpx4-firmware-752b89b99811e27082be8147c7ff8426f0199478.tar.gz
px4-firmware-752b89b99811e27082be8147c7ff8426f0199478.tar.bz2
px4-firmware-752b89b99811e27082be8147c7ff8426f0199478.zip
parse hil_optical_flow message
publish to flow and range finder topic
Diffstat (limited to 'src/modules/mavlink/mavlink_receiver.h')
-rw-r--r--src/modules/mavlink/mavlink_receiver.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/mavlink/mavlink_receiver.h b/src/modules/mavlink/mavlink_receiver.h
index 91125736c..c4e12d8d8 100644
--- a/src/modules/mavlink/mavlink_receiver.h
+++ b/src/modules/mavlink/mavlink_receiver.h
@@ -112,6 +112,7 @@ private:
void handle_message_command_long(mavlink_message_t *msg);
void handle_message_command_int(mavlink_message_t *msg);
void handle_message_optical_flow(mavlink_message_t *msg);
+ void handle_message_hil_optical_flow(mavlink_message_t *msg);
void handle_message_set_mode(mavlink_message_t *msg);
void handle_message_vicon_position_estimate(mavlink_message_t *msg);
void handle_message_vision_position_estimate(mavlink_message_t *msg);
@@ -142,6 +143,7 @@ private:
orb_advert_t _battery_pub;
orb_advert_t _cmd_pub;
orb_advert_t _flow_pub;
+ orb_advert_t _range_pub;
orb_advert_t _offboard_control_sp_pub;
orb_advert_t _local_pos_sp_pub;
orb_advert_t _global_vel_sp_pub;