LORD-MicroStrain / MSCL

MicroStrain Communication Library
https://www.microstrain.com/software/mscl
MIT License
76 stars 57 forks source link

Can't find python binding to set Declination #347

Open krav4 opened 1 year ago

krav4 commented 1 year ago

For my use case, I need to obtain the heading in reference to magnetic north for the following unit:

https://www.mouser.com/datasheet/2/1083/Parker_8400_0141_3DM_CV7_Datasheet-3218130.pdf

After the conversation with Barry (inertial support application engineer) I found out that we need to set the latitude/longitude or the magnetic declination in the unit in order for it to start reporting the estimated roll/pitch/yaw in reference to magnetic north.

I am using the python version of the MSCL, and I am struggling to find the interface that allows me to do so over the serial connection.

Is there a chance you can point me to these bindings?

krav4 commented 1 year ago

Update: I did find a function to update external GNSS values, which does include the latitude and longitude, but I can't be sure this is what I need to use

https://github.com/LORD-MicroStrain/MSCL/blob/6fed57f2f256060640e7891d4b5f01faccc48236/MSCL/source/mscl/MicroStrain/Inertial/InertialNode.h#L1276C8-L1276C83