Browse Source
Because the velocity starts with a positive value (down) to ramp-up slowly the motors, the position setpoint (integral) was going down into the ground, canceling the input of the velocity controller during the early takeoff phase. Instead of a smooth ramp, the behavior was a delay followed by a quick takeoff or a land detection. Setting the current altitude setpoint with the current altitude during this phase avoids the canceling effect and creates a takeoff purely velocity-based.sbg
bresch
5 years ago
committed by
Mathieu Bresciani
1 changed files with 5 additions and 0 deletions
Loading…
Reference in new issue