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

Crazyflie Roll/Pitch/Yaw controller #4

Closed
arya-k opened this issue Sep 15, 2018 · 2 comments
Closed

Crazyflie Roll/Pitch/Yaw controller #4

arya-k opened this issue Sep 15, 2018 · 2 comments
Assignees
Labels
help wanted Extra attention is needed type: question Further information is requested

Comments

@arya-k
Copy link

arya-k commented Sep 15, 2018

Hello! Thank you for putting in all the hard work to build a Crazyflie simulator with Gazebo - without it my research project would be MUCH harder.

I need to use a roll/pitch/yaw/thrust controller with the Crazyflie, and I see that you've emulated the CrazyFlie's builtin controller for your position_controller, but I'm not sure how to use that.

In other words: How could I use the crazyflie_onboard_controller so that I can accept roll/pitch/yaw/thrust messages (like those sent with crazyflie_ros) and have the model behave just like the actual firmware would make it?

@gsilano
Copy link
Owner

gsilano commented Sep 17, 2018

Thank you for finding CrazyS interesting for you. As reported in the README.md file, if you are using the simulator in the search for the publication/project, please cite the reference paper. We are writing a further paper to explain in more detail how the code works (it will help developers and researchers to use CrazyS for research) and how to use it to simulate the Crazyflie 2.0

What do you mean exactly with "roll/pitch/yaw/thrust controller"? Did you emulate the joypad?

You should use the SetControlSignals, SetDroneState and RateController functions (described in the "crazyflie_onboard_controller.cpp" file), as shown in line 185 of the "position_controller.cpp" file and in Figure 7 of the reference paper.

@arya-k
Copy link
Author

arya-k commented Sep 18, 2018

Perfect! Thank you so much. I'll make sure to cite the reference paper in my research paper.

@arya-k arya-k closed this as completed Sep 18, 2018
@gsilano gsilano self-assigned this Dec 19, 2018
@gsilano gsilano added type: question Further information is requested help wanted Extra attention is needed labels Dec 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed type: question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants