Quote:
Originally Posted by euhlmann
What we use fast off-thread loops for:
- Dead reckoning. Integrating gyro angle with encoder distance for approximate field position. We run it at 60 Hz, the update rate of the NavX, for best accuracy
|
Just wanted to let you know that the latest navX-MXP/navX-Micro has been updated this year to support a 200Hz update rate...
There's also a new callback mechanism in the C++/Java Libraries that allow you to run code (as long as it's very efficient) off of the navX IO thread:
public interface ITimestampedDataSubscriber {
public void timestampedDataReceived( long system_timestamp, long sensor_timestamp, AHRSUpdateBase sensor_data, Object context );
}