mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 02:33:34 +08:00
FlightModeManager: handle MAV_CMD_DO_CHANGE_SPEED
- support setting the cruise speed of the auto flight task via command Signed-off-by: RomanBapst <bapstroman@gmail.com>
This commit is contained in:
@@ -175,6 +175,8 @@ public:
|
||||
_acceleration_setpoint_feedback = acc_sp;
|
||||
}
|
||||
|
||||
virtual bool setCruisingSpeed(const float cruising_speed_m_s) { return false; }
|
||||
|
||||
protected:
|
||||
uORB::SubscriptionData<vehicle_local_position_s> _sub_vehicle_local_position{ORB_ID(vehicle_local_position)};
|
||||
uORB::SubscriptionData<home_position_s> _sub_home_position{ORB_ID(home_position)};
|
||||
|
||||
Reference in New Issue
Block a user