-
Notifications
You must be signed in to change notification settings - Fork 3
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
height control #4
Comments
Hi Oliver, Yes of course this is possible, although I need to add a new function to the library for this. I'm happy to do this work, since it will be a useful addition to this repository, and also not much labor is required. What we have done in the past is use motion capture as our positioning signal: then we implemented a PID controller that uses position errors to determine attitude (pitch, roll, and yaw setpoints) and thrust commands for the vehicle. This works quit well for closed-loop position control, since about a hovering equilibrium the dynamics of the vehicle's XYZ coordinates are approximately linear in attitude and thrust. Alternatively, it is also likely possible that we could send your external position signals directly to the vehicle, so that the control is computed on the crazyflie itself. However, I'm less certain how this would be done. It might take more time to determine if it is possible. Presently are you using python 2 or python 3? I would like to know so that I can make these changes to the branch of the code which you might use first. |
Thanks for your reply. |
could please give me an evidence of how to add new function of enabling external device like lighthouse to achieve the velocity and position control? |
I have a question whether we can add our external positioning signal to do the height control based on your architecture. As for now, it uses the z-range to control height which is not very suitable for some cases which don't have a flat surface.
The text was updated successfully, but these errors were encountered: