AirSim icon indicating copy to clipboard operation
AirSim copied to clipboard

Setting PID controller gains using API causes loss of altitude

Open sandilyasg opened this issue 2 years ago • 1 comments

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)

sandilyasg avatar Feb 03 '24 07:02 sandilyasg

any progress?

sandyUni avatar Oct 11 '24 03:10 sandyUni