forked from Archive/PX4-Autopilot
enable offboard control mode topic for multiplatform
This commit is contained in:
parent
1c9509c235
commit
3475d8883b
|
@ -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
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue