You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have added a new message type (ParamsExtData) to get encoder offsets from the gimbal.
The values I get are "y-p-r: -2292, -27384, 0", and the actual values are "3319, 2197, 0".
#[derive(BgcPayload,Clone,Debug,PartialEq)]pubstructParamsExtData{//...stuf stuff stuff...///units: 0.02197265625 deg, aka 2^14 units per turn#[kind(payload)]#[size(6)]pubencoder_offset:RollPitchYaw<i16>,//...more stuff...}
converting the byte order on -2292:
>>>hex(-2292+65536)
'0xf70c'>>>0x0cf73319>>>
The text was updated successfully, but these errors were encountered:
I have added a new message type (ParamsExtData) to get encoder offsets from the gimbal.
The values I get are "y-p-r: -2292, -27384, 0", and the actual values are "3319, 2197, 0".
converting the byte order on -2292:
The text was updated successfully, but these errors were encountered: