Skip to content

Fix trimming on takeoff() #25

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

Closed
wants to merge 2 commits into from
Closed

Fix trimming on takeoff() #25

wants to merge 2 commits into from

Conversation

janl
Copy link
Contributor

@janl janl commented Nov 10, 2012

No description provided.

@janl
Copy link
Contributor Author

janl commented Nov 10, 2012

mmmh I suck at PRs. sorry for the two commits.

@janl
Copy link
Contributor Author

janl commented Nov 10, 2012

Also, this is all a bit ugly, but it should be good for demonstration purposes.

The reasoning is this entry in the drone PDF:

AT*FTRIM

Summary : Flat trims - Tells the drone it is lying horizontally Corresponding API function : ardrone_at_set_flat_trim

Syntax : AT*FTRIM=%d,
Argument 1 : the sequence number
Description :

This command sets a reference of the horizontal plane for the drone internal control system.

It must be called after each drone start up, while making sure the drone actually sits on a horizontal ground. Not doing so before taking-off will result in the drone not being able to stabilize itself when flying, as it would not be able to know its actual tilt. This command MUST NOT be sent when the AR.Drone is flying.

When receiving this command, the drone will automatically adjust the trim on pitch and roll controls.

@janl
Copy link
Contributor Author

janl commented Nov 10, 2012

Cleaned up PR at #27.

@janl janl closed this Nov 10, 2012
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

Successfully merging this pull request may close these issues.

1 participant