Go to Post Whether we realize it or not, we've all been touched by the works of Dr. Kamen - through his TED talks, through his research and scores of publications in pediatric oncology, or perhaps more directly through his daughter. What an incredible life, what an incredible legacy. - Taylor [more]
Home
Go Back   Chief Delphi > Technical > Control System > Sensors
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #11   Spotlight this post!  
Unread 08-02-2016, 13:00
Richard100 Richard100 is offline
Registered User
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Nov 2009
Rookie Year: 2008
Location: Southern Maryland
Posts: 78
Richard100 is a splendid one to beholdRichard100 is a splendid one to beholdRichard100 is a splendid one to beholdRichard100 is a splendid one to beholdRichard100 is a splendid one to beholdRichard100 is a splendid one to behold
Re: Got Sensor Fusion?

When you were plugged into the 'singular' (On-Board) I2C interface, you likely needed to set the I2C port to "On-Board" in the front panel control of the Demo vi. The I2C Read/Write vi's need to know where to look for your sensor.

When you switched to the MXP I2C port, it was likely connected but you had selected "Config Mode" (reference your screen shot) which may explain why you received a "Bad Result".

Now it sounds like you're configured correctly ... since you're seeing cal status updates. Yes keep trying ... if you're having trouble with the magnetometer calibration move the sensor in all three axes and the mag cal will improve to green. Bosch suggests moving the sensor in a figure-8 pattern. I found that orbiting the sensor in a polar axis followed by an equatorial axis calibrates the Mag quickly.

The 'S' element represents the status of the "System". There's not much explanation from Bosch on this but it appears that the internal Kalman filter needs to build up some agreement between the accel, gyro, and mag for it to reach cal status level 3 (green in our software).

Keep going, you're almost there ... this sensor is unlike many others you come across in FRC - it is highly advanced but takes some initial effort to set it up. The performance is staggering, especially since it's effectively free via the virtual KoP. It's a sweet piece of tech and worth the effort.

Last edited by Richard100 : 08-02-2016 at 14:03.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 19:54.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi