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

Servo output logging in blackbox #4501

Merged
merged 2 commits into from
Mar 14, 2019

Conversation

hali9
Copy link
Contributor

@hali9 hali9 commented Mar 12, 2019

No description provided.

@DzikuVx DzikuVx added this to the 2.2 milestone Mar 13, 2019
blackboxWriteSignedVB(blackboxCurrent->servo[5] - 1500);
for (int x = 0; x < MAX_SUPPORTED_SERVOS; x++) {
//Assume that servos spends most of its time around the center
blackboxWriteSignedVB(blackboxCurrent->servo[x] - 1500);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should use the set servo mid point instead of 1500: servoParams(i)->middle

@shellixyz shellixyz merged commit 6a5e1b1 into iNavFlight:development Mar 14, 2019
DzikuVx added a commit that referenced this pull request Mar 16, 2019
@hali9 hali9 deleted the servo-blackbox branch March 22, 2019 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants