mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-09 09:31:35 +08:00
addressed review comments
Signed-off-by: RomanBapst <bapstroman@gmail.com>
This commit is contained in:
committed by
Silvan Fuhrer
parent
e36e527488
commit
56cf77a74c
@@ -443,7 +443,7 @@ void TECS::_updateTrajectoryGenerationConstraints()
|
||||
{
|
||||
_alt_control_traj_generator.setMaxJerk(_jerk_max);
|
||||
_alt_control_traj_generator.setMaxAccel(_vert_accel_limit);
|
||||
_alt_control_traj_generator.setMaxVel(max(_max_climb_rate, _max_sink_rate));
|
||||
_alt_control_traj_generator.setMaxVel(fmax(_max_climb_rate, _max_sink_rate));
|
||||
|
||||
_velocity_control_traj_generator.setMaxJerk(_jerk_max);
|
||||
_velocity_control_traj_generator.setMaxAccelUp(_vert_accel_limit);
|
||||
|
||||
Reference in New Issue
Block a user