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

Tools: correct powr_change.py output for accumulated flags #28594

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

peterbarker
Copy link
Contributor

Was looking at Flags values when determining AccFlags output.

Old:

2024-11-12 19:56:17.93:  +BRICK_VALID ACCFLAGS+BRICK_VALID +SERVO_VALID ACCFLAGS+SERVO_VALID
2024-11-12 19:56:49.83:  -SERVO_VALID ACCFLAGS-SERVO_VALID +CHANGED ACCFLAGS+CHANGED
2024-11-12 19:56:50.23:  +SERVO_VALID
2024-11-12 19:56:54.93:  -SERVO_VALID ACCFLAGS-SERVO_VALID
2024-11-12 19:56:55.13:  +SERVO_VALID
2024-11-12 19:57:02.23:  -SERVO_VALID ACCFLAGS-SERVO_VALID
2024-11-12 19:57:02.43:  +SERVO_VALID
2024-11-12 19:57:05.43:  -SERVO_VALID ACCFLAGS-SERVO_VALID
2024-11-12 19:57:05.73:  +SERVO_VALID
2024-11-12 19:57:18.73:  -SERVO_VALID ACCFLAGS-SERVO_VALID
2024-11-12 19:57:19.03:  +SERVO_VALID
2024-11-12 19:57:20.93:  -SERVO_VALID ACCFLAGS-SERVO_VALID
2024-11-12 19:57:21.23:  +SERVO_VALID
2024-11-12 19:57:22.23:  -SERVO_VALID ACCFLAGS-SERVO_VALID
2024-11-12 19:57:22.43:  +SERVO_VALID
2024-11-12 19:57:22.83:  -SERVO_VALID ACCFLAGS-SERVO_VALID

New:

2024-11-12 19:56:17.93:  +BRICK_VALID ACCFLAGS+BRICK_VALID +SERVO_VALID ACCFLAGS+SERVO_VALID
2024-11-12 19:56:49.83:  -SERVO_VALID +CHANGED ACCFLAGS+CHANGED
2024-11-12 19:56:50.23:  +SERVO_VALID
2024-11-12 19:56:54.93:  -SERVO_VALID
2024-11-12 19:56:55.13:  +SERVO_VALID
2024-11-12 19:57:02.23:  -SERVO_VALID
2024-11-12 19:57:02.43:  +SERVO_VALID
2024-11-12 19:57:05.43:  -SERVO_VALID
2024-11-12 19:57:05.73:  +SERVO_VALID
2024-11-12 19:57:18.73:  -SERVO_VALID
2024-11-12 19:57:19.03:  +SERVO_VALID
2024-11-12 19:57:20.93:  -SERVO_VALID
2024-11-12 19:57:21.23:  +SERVO_VALID
2024-11-12 19:57:22.23:  -SERVO_VALID
2024-11-12 19:57:22.43:  +SERVO_VALID
2024-11-12 19:57:22.83:  -SERVO_VALID

@peterbarker peterbarker merged commit be769a6 into ArduPilot:master Nov 12, 2024
43 checks passed
@peterbarker peterbarker deleted the pr/power-change-fixes branch November 12, 2024 19:49
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.

1 participant