AirSim
AirSim copied to clipboard
Setting PID controller gains using API causes loss of altitude
Bug report
- AirSim Version/#commit: latest
- UE/Unity version: Unity Editor 2022.13f1
- autopilot version: Simflight controller
- OS Version: Linux Ubuntu 18.04
What's the issue you encountered?
When I use any of the setAngleRateControllerGains, setAngleLevelControllerGains, setPositionControllerGains, or setVelocityControllerGains APIs, the quadrotor rapidly loses altitude. I am trying to understand why this is happening.
Settings
Deafult single quadrotor
How can the issue be reproduced?
I am using this script to control my quadrotor through checkpoints and adjust the PID gain: (https://gist.github.com/sandilyasg/1966c156f40ddcdf3b6715f55e607f5d)
any progress?