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

Using MSP together with Serial ELRS #66

Closed
cmakelabs opened this issue Jan 11, 2025 · 4 comments
Closed

Using MSP together with Serial ELRS #66

cmakelabs opened this issue Jan 11, 2025 · 4 comments

Comments

@cmakelabs
Copy link

Thank you for providing this bridge for msp, I am wondering is it possible to use MSP to send commands from the companion computer that is connected via UART to the FCU, while in the same time keeping the connection to the RC sticks transmitter(through ELRS receiver)? If yes, what would be the right way to achieve that and how BetaFlight would be configured? Would be really grateful for your guidance.

@christianrauch
Copy link
Owner

You want to control the FC via MSP and the RC at the same time? I don't think this is possible. From the Betaflight documentation:

There are 3 features that control receiver mode:

RX_PPM
RX_SERIAL
RX_PARALLEL_PWM
RX_MSP

Only one receiver feature can be enabled at a time.

If you want to control the FC via MSP, you have to set this to RX_MSP. See also https://github.com/christianrauch/msp?tab=readme-ov-file#sending-and-receiving-rc-commands.

If you have questions around supporting multiple receivers at the same time, you better ask this in a Betaflight forum or such.

@cmakelabs
Copy link
Author

Thank you, I am just wondering how then can someone takeover with RC in case the control commands from the companion computer went wrong?

@christianrauch
Copy link
Owner

Thank you, I am just wondering how then can someone takeover with RC in case the control commands from the companion computer went wrong?

I think this is simply not possible. But check this with the Betaflight developers and forums.

If you are ok with doing such a switch on the PC, you could read the RC values via MSP_RC, use one of the channels as the switch, and then either send the original RC values back to the FC via MSP_SET_RAW_RC or send values from you own controller.

@cmakelabs
Copy link
Author

Thank you

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

No branches or pull requests

2 participants