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

Bad behaviour in PID controller when yaw > 2pi #533

Closed
krichardsson opened this issue Jan 15, 2020 · 0 comments
Closed

Bad behaviour in PID controller when yaw > 2pi #533

krichardsson opened this issue Jan 15, 2020 · 0 comments
Milestone

Comments

@krichardsson
Copy link
Contributor

The controller behaves weirdly, possibly ending up in a crash.

How to reproduce:
Write a python script using the high level commander, similar to

    commander = cf.high_level_commander
    commander.takeoff(1.0, 2.0)
    time.sleep(3.0)

    commander.go_to(0, 0, 1, 0, 1)
    time.sleep(1)

    commander.go_to(0, 0, 1, math.pi, 1)
    time.sleep(1)

    commander.go_to(0, 0, 1, math.pi * 2, 1)
    time.sleep(1)

    commander.go_to(0, 0, 1, math.pi * 3, 1)
    time.sleep(1)

    commander.go_to(0, 0, 1, math.pi * 4, 1)
    time.sleep(1)

When reaching yaw > 2 * pi, the crazyflie should do weird things

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

No branches or pull requests

1 participant