Skip to content

Conversation

@bengrocholsky
Copy link

Solved Problem

Some combinations of Spectrum RC Transmitters bound to the satellite receiver on the VOXL2 Sentinel drone result in DSM packets with protocol byte 0x01. The current spektrum_rc driver will only accept packets with 0x02 protocol byte. The current system will reject DSM packets in this case and not print the protocol version as the string is too long for the character terminal.

Addresses VOXL2 forum issue: https://forum.modalai.com/topic/2703/voxl2-spektrum-receiver-error/

Solution

  • Change logic to accept 0x01 or 0x02 protocol bytes
  • Shorten debug/error print message to fit on terminal

Changelog Entry

For release notes: Change spectrum_rc to accept protocol bytes 0x01 or 0x02 and shorten 'no first frame' error message to print in fewer than 80 characters

Alternatives

This avoids having to try alternative transmitter hardware

Test coverage

Ground test with DX7 transmitter shows expected behavior passing valid rc_input to the system. Input pauses and resumes as expected cycling power on the transmitter and VOXL2.

…'no first frame' error message to print in fewer than 80 characters
@bengrocholsky bengrocholsky changed the base branch from main to voxl-dev October 14, 2023 01:08
@github-actions github-actions bot added the stale label Nov 15, 2023
@github-actions github-actions bot removed the stale label Apr 15, 2025
@github-actions github-actions bot added the stale label May 15, 2025
@github-actions github-actions bot removed the stale label Oct 11, 2025
@github-actions github-actions bot added the stale label Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant