enable offboard control mode topic for multiplatform

This commit is contained in:
Thomas Gubler 2015-02-14 16:45:46 +01:00
parent 1c9509c235
commit 3475d8883b
2 changed files with 3 additions and 0 deletions

View File

@ -76,6 +76,7 @@ add_message_files(
position_setpoint_triplet.msg position_setpoint_triplet.msg
vehicle_local_position_setpoint.msg vehicle_local_position_setpoint.msg
vehicle_global_velocity_setpoint.msg vehicle_global_velocity_setpoint.msg
offboard_control_mode.msg
) )
## Generate services in the 'srv' folder ## Generate services in the 'srv' folder

View File

@ -66,6 +66,7 @@
#include <px4_vehicle_global_velocity_setpoint.h> #include <px4_vehicle_global_velocity_setpoint.h>
#include <px4_vehicle_local_position.h> #include <px4_vehicle_local_position.h>
#include <px4_position_setpoint_triplet.h> #include <px4_position_setpoint_triplet.h>
#include <px4_offboard_control_mode.h>
#endif #endif
#else #else
@ -93,6 +94,7 @@
#include <platforms/nuttx/px4_messages/px4_vehicle_global_velocity_setpoint.h> #include <platforms/nuttx/px4_messages/px4_vehicle_global_velocity_setpoint.h>
#include <platforms/nuttx/px4_messages/px4_vehicle_local_position.h> #include <platforms/nuttx/px4_messages/px4_vehicle_local_position.h>
#include <platforms/nuttx/px4_messages/px4_position_setpoint_triplet.h> #include <platforms/nuttx/px4_messages/px4_position_setpoint_triplet.h>
#include <platforms/nuttx/px4_messages/px4_offboard_control_mode.h>
#endif #endif
#include <systemlib/err.h> #include <systemlib/err.h>
#include <systemlib/param/param.h> #include <systemlib/param/param.h>