Skip to content

Commit

Permalink
Update src/lib/fw_performance_model/PerformanceModel.hpp
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Stastny <[email protected]>
  • Loading branch information
RomanBapst and Thomas Stastny authored Nov 13, 2023
1 parent 02b5578 commit ef62577
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/fw_performance_model/PerformanceModel.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ class PerformanceModel : public ModuleParams
(ParamFloat<px4::params::FW_THR_ASPD_MAX>) _param_fw_thr_aspd_max)

/**
* Get the trim throttle for the current airspeed setpoint.
* @param airspeed_sp in m/s
* @return trim throttle
* Get the sea level trim throttle for a given calibrated airspeed setpoint.
* @param airspeed_sp [m/s] calibrated
* @return trim throttle [0, 1] at sea level
*/
float getTrimThrottleForAirspeed(float airspeed_sp) const;

Expand Down

0 comments on commit ef62577

Please sign in to comment.