Making slow IMUs become fast IMUs

captainSlowI got the system up and working and did a trial run last night only to see it act disappointingly slow.  I'm not 100% sure if it is my new laptop (Lenovo x300) or I am missing some bit of code.

One big thing I forgot to do is to tune the Inertial Measurement Unit (IMU) again along with the code.

How can I make a device that runs as a fixed rate faster?  Easy!  By turning off stuff that you don't need to send back, I can get get about a 30%+ jump in data speed.  What don't I need?

The Z gyro, Z gyro voltage, Z gyro temperature, Y gyro, Y gyro voltage, Y gyro temperature, and last but not least, Z accelerometer.  That makes the means I'm reducing my data by exactly 50%.  This almost means I don't have to calculate as much data.  I should make a special "skateboard IMU" and IMU Data class for this.

Plus I question how fast I'm updating my UI.  This may account for some sluggishness.

And I need to redo how I handle data logging again to prevent memory issues.

Note to self: never have bag stole again with source modifications that haven't been checked in.

P.S. If you don't watch Top Gear on the BBC, that is Captain Slow, James May.  Seriously, awesome show.

No comments posted yet.

Post a Comment

Please add 3 and 8 and type the answer here: