mc_pos_control: switch back to velocity ramp
But fix the two crucial problems: - When to begin the ramp? There's a calculation now for the velocity ramp initial value such that the resulting thrust is zero at the beginning. - When to end the ramp? The ramp is applied to the upwards velocity constraint and it just ramps from the initial value to the velocity constraint which is applied during flight. Slower/going down is always possible.
Showing
- src/modules/mc_pos_control/Takeoff/Takeoff.cpp 18 additions, 12 deletionssrc/modules/mc_pos_control/Takeoff/Takeoff.cpp
- src/modules/mc_pos_control/Takeoff/Takeoff.hpp 11 additions, 9 deletionssrc/modules/mc_pos_control/Takeoff/Takeoff.hpp
- src/modules/mc_pos_control/mc_pos_control_main.cpp 29 additions, 24 deletionssrc/modules/mc_pos_control/mc_pos_control_main.cpp
Loading
Please register or sign in to comment