MSP2 implementation in ESP8266 chip #7
Unanswered
MahmoudHamandiNYUAD
asked this question in
Q&A
Replies: 2 comments
-
Hi, I am not sure about the MSP protocol part as @ricardodeazambuja handles this directly in the YAMSPy library (yb/stable branch), but the way we fake these sensors in cognifly-python are these lines of code |
Beta Was this translation helpful? Give feedback.
0 replies
-
My suggestion is to communicate with YAMSPy first (ESP to PC) as a way to easily debug things since YAMSPy will be able to receive and decode the messages. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are attempting to replicate your work on MSP based communication between PC and an inav/betaflight FC, while replacing the PC with an ESP8266 chip.
The ESP8266 chip is receiving optitrack data, and transforming it into GPS and Compass data, which is then sent to the FC through a UART port.
Currently we are testing with an T-motor F7 pro FC, running INAV (latest version).
While we were able to communicate the GPS as MSP v1 message, the communication as GPS MSP2 or Compass MSP2 is failing.
We would highly appreciate any intuition about what we are doing wrong.
The following is our Compass code:
The data in currentcompass is populated with dummy date as follows:
Beta Was this translation helpful? Give feedback.
All reactions