|
|
|
@ -119,15 +119,15 @@ private:
@@ -119,15 +119,15 @@ private:
|
|
|
|
|
int _control_task; /**< task handle for task */ |
|
|
|
|
int _mavlink_fd; /**< mavlink fd */ |
|
|
|
|
|
|
|
|
|
int _vehicle_status_sub; /**< vehicle status subscription */ |
|
|
|
|
int _att_sub; /**< vehicle attitude subscription */ |
|
|
|
|
int _vehicle_status_sub; /**< vehicle status subscription */ |
|
|
|
|
int _att_sub; /**< vehicle attitude subscription */ |
|
|
|
|
int _att_sp_sub; /**< vehicle attitude setpoint */ |
|
|
|
|
int _control_mode_sub; /**< vehicle control mode subscription */ |
|
|
|
|
int _params_sub; /**< notification of parameter updates */ |
|
|
|
|
int _manual_sub; /**< notification of manual control updates */ |
|
|
|
|
int _arming_sub; /**< arming status of outputs */ |
|
|
|
|
int _local_pos_sub; /**< vehicle local position */ |
|
|
|
|
int _pos_sp_triplet_sub; /**< position setpoint triplet */ |
|
|
|
|
int _pos_sp_triplet_sub; /**< position setpoint triplet */ |
|
|
|
|
int _local_pos_sp_sub; /**< offboard local position setpoint */ |
|
|
|
|
int _global_vel_sp_sub; /**< offboard global velocity setpoint */ |
|
|
|
|
|
|
|
|
@ -135,16 +135,16 @@ private:
@@ -135,16 +135,16 @@ private:
|
|
|
|
|
orb_advert_t _local_pos_sp_pub; /**< vehicle local position setpoint publication */ |
|
|
|
|
orb_advert_t _global_vel_sp_pub; /**< vehicle global velocity setpoint publication */ |
|
|
|
|
|
|
|
|
|
struct vehicle_status_s _vehicle_status; /**< vehicle status */ |
|
|
|
|
struct vehicle_status_s _vehicle_status; /**< vehicle status */ |
|
|
|
|
struct vehicle_attitude_s _att; /**< vehicle attitude */ |
|
|
|
|
struct vehicle_attitude_setpoint_s _att_sp; /**< vehicle attitude setpoint */ |
|
|
|
|
struct manual_control_setpoint_s _manual; /**< r/c channel data */ |
|
|
|
|
struct vehicle_control_mode_s _control_mode; /**< vehicle control mode */ |
|
|
|
|
struct vehicle_control_mode_s _control_mode; /**< vehicle control mode */ |
|
|
|
|
struct actuator_armed_s _arming; /**< actuator arming status */ |
|
|
|
|
struct vehicle_local_position_s _local_pos; /**< vehicle local position */ |
|
|
|
|
struct position_setpoint_triplet_s _pos_sp_triplet; /**< vehicle global position setpoint triplet */ |
|
|
|
|
struct vehicle_local_position_setpoint_s _local_pos_sp; /**< vehicle local position setpoint */ |
|
|
|
|
struct vehicle_global_velocity_setpoint_s _global_vel_sp; /**< vehicle global velocity setpoint */ |
|
|
|
|
struct vehicle_global_velocity_setpoint_s _global_vel_sp; /**< vehicle global velocity setpoint */ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct { |
|
|
|
@ -210,7 +210,7 @@ private:
@@ -210,7 +210,7 @@ private:
|
|
|
|
|
/**
|
|
|
|
|
* Update our local parameter cache. |
|
|
|
|
*/ |
|
|
|
|
int parameters_update(bool force); |
|
|
|
|
int parameters_update(bool force); |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Update control outputs |
|
|
|
|