fw_att_control only store battery_status scale

This commit is contained in:
Daniel Agar
2018-02-21 21:07:29 -05:00
parent 94b8e4a2bf
commit 7fa858ad84
2 changed files with 18 additions and 22 deletions
@@ -116,7 +116,6 @@ private:
actuator_controls_s _actuators {}; /**< actuator control inputs */
actuator_controls_s _actuators_airframe {}; /**< actuator control inputs */
battery_status_s _battery_status {}; /**< battery status */
manual_control_setpoint_s _manual {}; /**< r/c channel data */
vehicle_attitude_s _att {}; /**< vehicle attitude setpoint */
vehicle_attitude_setpoint_s _att_sp {}; /**< vehicle attitude setpoint */
@@ -136,6 +135,8 @@ private:
bool _landed{true};
float _battery_scale{1.0f};
struct {
float p_tc;
float p_p;
@@ -301,9 +302,4 @@ private:
*/
void vehicle_land_detected_poll();
/**
* Check for battery status updates.
*/
void battery_status_poll();
};