Is there an autopilot we can use for flying the drone? #3904
Unanswered
alik-git
asked this question in
Support Q&A
Replies: 2 comments
-
|
Hi @alik-git! And welcome! The drone already has a PID controller that is used when you move with the move* APIs. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
hey ali, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there, I'm working on an ML project and I'm trying to make a deep learning model learn how to navigate a quadrotor though the square obstacles in the Final Tier 2 Level in Airsim. At the moment we wrote a manual hacky controller for it in python that maps keyboard presses to yaw changes and eventually calls the moveByVelocityAsync function, but we'd like to use a PID controller to get it to follow a predetermined path. Is there such a pid controller available that I can use or do I have to write one myself? If so, whats the best way of doing that?
Basically we are trying to use reinforcement learning and have the PID controller correct the drone when it's flying off trajectory, while recording the controls it outputs so we can use the correction as new data to improve our model's navigation ability.
If you need more information feel free to ask.
My questions are:
Is there a PID controller or an Autopilot function somewhere I can call?
If I have to write one myself, whats the best / cleanest way of doing that?
Are there any pre-trained models online that follow a predetermined trajectory well that I can use as my autopilot?
Beta Was this translation helpful? Give feedback.
All reactions