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

the problem of crazyflie2 's config parmas #70

Closed
Suvian-wy opened this issue May 10, 2021 · 5 comments
Closed

the problem of crazyflie2 's config parmas #70

Suvian-wy opened this issue May 10, 2021 · 5 comments
Assignees
Labels
type: question Further information is requested

Comments

@Suvian-wy
Copy link

Firstly, thanks for ding so many wroks! I have a simple quenstion.
I don't know what't the mean of the param "angle" in files crazyflie2.yaml. Then if the -3.14 and 3.14 is a same angle or not?

sendpix2

@welcome
Copy link

welcome bot commented May 10, 2021

Thanks for opening your first issue here! Make sure that no other issues on the same topic have already been opened!

@gsilano gsilano self-assigned this May 10, 2021
@gsilano gsilano added the type: question Further information is requested label May 10, 2021
@gsilano
Copy link
Owner

gsilano commented May 10, 2021

Hi! As described in RotorS – A Modular Gazebo MAV Simulator Framework and in CrazyS: a software-in-the-loop simulation platform for the Crazyflie 2.0 nano-quadcopter, the "angle" variable describes the angles spanned by each rotor starting from the origin of the body frame (it is located in the middle of the drone). Yes, you are right -3.14 and +3.14 are the same angle, but the sign identifies the direction. So whether they are positioned counter-clockwise or clockwise.

@Suvian-wy
Copy link
Author

yeah, I know they have differet directio, but if the two rotors will in a same position?

@gsilano
Copy link
Owner

gsilano commented May 14, 2021

What does "if the rotors have the same position" mean? I think you are confusing the spinning direction of the rotors (clockwise or counter-clockwise) with their position in the XY-plane. Let's think about the rotors as a point moving on a circle. So, how we can describe its position? We can provide its x and y projects on the XY reference frame (Cartesian frame) or we can use polar coordinates, i.e., the arm length and the angle spanned by the rotor from the origin of the reference frame to its position in the XY plane.

I hope it is clearer now than before.

@Suvian-wy
Copy link
Author

ok,thanks, maybe I have no clear idea in the spinning rotors. But this confusing have no influence in using the project. So I think I can close this issue.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants