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

ToneAlarm: ignore topic updates with 0 timestamp #11988

Merged
merged 1 commit into from
May 8, 2019

Conversation

bkueng
Copy link
Member

@bkueng bkueng commented May 8, 2019

Commander initially publishes a tune_control topic set to 0, which can interfere with the startup tone (as happening on the Pixhawk Cube).

A nicer solution would be if we had a separate orb_advertise API w/o initial publication.

Fixes #11980.

Commander initially publishes a tune_control topic set to 0, which can
interfere with the startup tone (as happening on the Pixhawk Cube).
@bkueng bkueng merged commit 1169d09 into master May 8, 2019
@bkueng bkueng deleted the fix_startup_sound_on_cube branch May 8, 2019 12:16
@LorenzMeier
Copy link
Member

That's ok, but the right fix would be to use orb_publish_auto() which does create the topic if required. To be revisited on commander refactor.

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.9.0 RC0 does not start properly on Pixhawk2 Cube
3 participants