mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 05:23:34 +08:00
FixedWingPositionControl: remove get_nav_speed_2d function as npfg can handle this internally.
This commit is contained in:
@@ -650,17 +650,6 @@ private:
|
||||
void reset_takeoff_state();
|
||||
void reset_landing_state();
|
||||
|
||||
/**
|
||||
* @brief Returns the velocity vector to be input in the lateral-directional guidance laws.
|
||||
*
|
||||
* Replaces the ground velocity vector with an air velocity vector depending on the wind condition and whether
|
||||
* NPFG or L1 are being used for horizontal position control.
|
||||
*
|
||||
* @param ground_speed Vehicle ground velocity vector [m/s]
|
||||
* @return Velocity vector to control with lateral-directional guidance [m/s]
|
||||
*/
|
||||
Vector2f get_nav_speed_2d(const Vector2f &ground_speed);
|
||||
|
||||
/**
|
||||
* @brief Decides which control mode to execute.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user