We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
If I want the Crazyflie to track different trajectories or waypoints, how do I go about it?
The text was updated successfully, but these errors were encountered:
Hi @sesem738, thanks for reaching out!
The easiest would be to add a new mode to the switch statement here: https://github.com/arplaboratory/learning_to_fly_controller/blob/d52b11a03caa1dadaf6b6bf02f328719b5bdd215/rl_tools_controller.c#L492 You can see how the FIGURE_EIGHT just defines the reference position and velocity depending on the time. So you could implement your own trajectory or waypoints there.
FIGURE_EIGHT
If you want to use setpoins from cflib the NORMAL mode should already work as it takes the data from the setpoint handed to the controller by the firmware: https://github.com/arplaboratory/learning_to_fly_controller/blob/d52b11a03caa1dadaf6b6bf02f328719b5bdd215/rl_tools_controller.c#L418
cflib
NORMAL
which are received from this function in cflib: https://github.com/bitcraze/crazyflie-lib-python/blob/c09bd869f1a823f26dbc2a3238444e018470a11e/cflib/crazyflie/commander.py#L70
I hope this helps, please let me know how it goes! Jonas
Sorry, something went wrong.
Thank you very much for your response.
So technically, if I run turn the autonomousSequence.py example with the rl_tools firmware, it would work?
https://github.com/bitcraze/crazyflie-lib-python/blob/c09bd869f1a823f26dbc2a3238444e018470a11e/examples/autonomy/autonomousSequence.py,
No branches or pull requests
Hi,
If I want the Crazyflie to track different trajectories or waypoints, how do I go about it?
The text was updated successfully, but these errors were encountered: