I am trying to use telemetry data (attitude) from a CC3D to send to another device on my FPV plane. It is a combination OSD/pseudo flight controller. I used the source code from minoposd as a starting point. I had it working with on an Arduino Pro Mini connected to CC3D running version 14_10. The attitude data seemed to drift a lot, so I upgraded the firmware on the CC3D to 15_09. Things stopped working at that point.
The first issue I found when looking through these forums, was that telemetry needs to be 57600. A bit of an issue for me, because my Pro Mini is a 3.3v/8Mhz, which my research says works best at 38400. I'll need to see if it works okay at 57600.
Temporarily, I switched to a Mega 2560, which gives me a few more serial ports for debugging at my computer.
Now I'm able to connect to the CC3D, I'm finding that the only UAVObject I'm receiving is this one:
<object id="0xE33E5D4E" name="FlightStatus">
<field name="Armed" values="Disarmed"/>
<field name="FlightMode" values="Stabilized1"/>
<field name="FlightModeAssist" values="None"/>
<field name="AssistedControlState" values="Primary"/>
<field name="AssistedThrottleState" values="Manual"/>
<field name="ControlChain" values="true,false,false"/>
</object>
The data I want is the roll and pitch which is in this object:
<object id="0xD7E0D964" name="AttitudeState">
<field name="q1" values="0.998124"/>
<field name="q2" values="0.00168246"/>
<field name="q3" values="-0.00758887"/>
<field name="q4" values="-0.0177555"/>
<field name="Roll" values="0.208602"/>
<field name="Pitch" values="-0.864599"/>
<field name="Yaw" values="-2.03982"/>
</object>
Has something changed in the way that telemetry is requested? With 14_10, I was getting the AttitudeState object without doing anything special. I didn't see anything obvious in the minoposd source code to request the AttitudeState data.
If I can't get this working, or the 57600/38400 speed is a roadblock, is there a way for me to change the CC3D firmware back to 14_10?
Thanks