Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting PID controller gains using API causes loss of altitude #4925

Open
sandilyasg opened this issue Feb 3, 2024 · 0 comments
Open

Setting PID controller gains using API causes loss of altitude #4925

sandilyasg opened this issue Feb 3, 2024 · 0 comments

Comments

@sandilyasg
Copy link

sandilyasg commented Feb 3, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant