Hi, Did you check this?-
https://github.com/StrawsonDesign/Robotics_Cape_Installer/issues/53


On Sunday, November 26, 2017 at 8:02:18 PM UTC+5:30, D Sellers wrote:
>
> Same issue here.  Raw readings seem to be correct, but the DMP mode of the 
> API  the heading (raw and filtered) just drift.
>
> On Saturday, October 14, 2017 at 12:29:44 PM UTC-4, Pierce Nichols wrote:
>>
>> Hi all, 
>>
>> I already posted this to the Beaglebone group, but I noticed there's 
>> lots of traffic here about the Beaglebone Blue as well, so I'm cross 
>> posting in hopes of finding an answer. 
>>
>> I'm having trouble getting the compass heading to work correctly in 
>> DMP mode on my Beaglebone Blue. I'm running with the default 
>> roboticscape overlay. 
>>
>> -- I calibrated the magnetometer and gyroscope as directed here: 
>> http://www.strawsondesign.com/#!manual-imu 
>>
>> -- I ran the rc_test_imu program and confirmed that the magnetometer 
>> is working correctly. 
>>
>> -- I ran rc_test_dmp -m -c -t. When I did this, I noticed that the raw 
>> compass was stuck near either 0, +180, or -180 degrees, jumping 
>> between those points as I rotated the Blue around the Z axis. When 
>> left still, the filtered compass always converged to the value of the 
>> raw. I also tested to make sure the pitch and roll angles were sane, 
>> and they were. 
>>
>> I tried rotating it around the X and Y axes as well as using the -o 
>> option to switch the IMU orientation. This did not materially change 
>> the compass behavior. Trying it without the -m or -c switches produced 
>> no change in behavior. 
>>
>> It behaves as if the magnetometer was simply not being turned on in 
>> DMP mode. I double-checked the source code of rc_test_dmp and 
>> recompiled it to see if the bug was there, and got the same results. 
>>
>> Any suggestions for what I can try next? My application is such I can 
>> get away with processing the raw values to get a compass heading, but 
>> it would be nice to be able to use the sensor fusion. I filed a github 
>> issue as well. 
>>
>> -- 
>> Pierce Nichols 
>> Principal Engineer 
>> Logos Electromechanical, LLC 
>>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/0d50e8f9-e133-4a64-bd93-6410da6b5fe1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to