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

Joystick initializes thrust at 50% when springy-throttle false #724

Open
matejkarasek opened this issue Aug 14, 2024 · 1 comment
Open
Labels

Comments

@matejkarasek
Copy link

When using a joystick without a spring on the throttle axis (using the "springythrottle": false in the config file), the cfclient initializes with a 50% throttle ignoring the joystick position.
Only once the joystick is moved, it will give a correct throttle value.

This is not desired, as connecting to the drone with joystick throttle axis at 0 may spin up the motors in some situations (restart of cfclient without a restart of the crazyflie, which has already been flown).

@knmcguire knmcguire added the bug label Aug 16, 2024
@knmcguire
Copy link
Member

No that's not great. The crazyflie firmware locks the input of the attitude setpoint commands if the first values aren't zeros to solve this issue.

But if the cfclient restarts and the crazyflie not, than that is indeed the corner case it didn't think of... We need to perhaps consider adding a check for this also in the cfclient perhaps?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants