Is there a difference between plane and copter in the mavlink stream from the telemetry port ?
I use an arduino telemetey converter to downink mavlink1 data to my rc receiver. With equal telemetry settings on the same pixhawk It works on plane firmware but not on copter. I would like to understand why.
Thanks. If there is a slight difference in message sets then probably this is the reason (indicating bug in the arduino code). I was also thinking maybe mavlink is initialized differently, but then I scrap this thought.
I did verify on a cube orange that it works with plane but not copter (and yes double and triple checked the settings were the same). Arduino code is the mav2ex (mavlink1 to jeti duplex)
I had a look at the converter to see if it could be brought up to date but it wont compile on anything newer than arduino 1.6.2 and its heavily tied to the AVR chips using:
fast serial
AVR timers
AVR EPROM functions
APM math (tied to AVR)
AP parameter libraries (tied to AVR).
it would need all that replaced to be compatible with a newer chip like rp2040.
can you try manually setting the SR*_Parameters ? set all the rates to 5 for the serial port that the adapter is connected to, just so we can test if it cannot understand the data or its just not being requested.
So there is a difference in mavlink between copter and plane (i learned today). The SRx parameters are by default disabled on Copter, but by default enabled on Plane. Thus on plane if you choose mavlink protocol for a serial port it will by automatically stream out mavlink data, but on copter it will only listen and transmit mavlink data if it is requested. That was the problem all along. The mav2ex code is still outdated and needs updating, but it works after all. When will I stop making noobi mistakes
great!, let me know if there are any other issues,
I suspect a lot of flight modes are probably missing. The part of the code that requests the mavlink stream will need updated too, il look into it when I get a chance.