Razor AHRS update: v1.4.1

Added by Peter Bartz almost 4 years ago

Additionally to magnetometer hard iron error compensation, Razor AHRS now also supports soft iron error compensation. Both compensations only work in the case of the hard/soft iron moving with the sensor - meaning not changing it's position relative to the sensors. Calibration is still static: it's done once and then being hardcoded into the firmware. Have a look at the new tutorial section about extended magnetometer calibration.

New output modes allow to read raw or calibrated direct sensor values on all 9 axes - very useful if you want to mess with sensor data directly. The C++ code was extended to be able to read data in these new modes, too. The Android lib will be updated soon.

C++ library BUGFIX

Added by Peter Bartz over 4 years ago

Just updated the v1.4.0 C++ library to fix a bug where reading from Serial Ports would fail on Linux. It seems on (some) Linux distributions when there is no data available on the port, non-blocking read() (using O_NDELAY) would return -1 with errno set to EAGAIN, while on Mac OS X read() would just return 0.

Razor AHRS v1.4.0 BUGFIX

Added by Peter Bartz over 4 years ago

Added an updated version of the v1.4.0 firmware on the files page. It fixes a sensor reading bug that was introduced in the original v1.4.0 release.
You should redo the sensor calibration for the magnetometer and the gyroscope!
Many thanks to Masafumi Miwa for finding and reporting the bug!

Razor AHRS update: v1.3.3

Added by Peter Bartz over 4 years ago

Added a library to interface the Razor AHRS using Android devices. It does all I/O in a background thread and forwards incoming data to a listener in the main thread.
An example project on how to use the lib is included.
Download from the files page.

Also the synching mechanism was extended. Now an ID is sent with the synch request and will be returned in the synch response. That way it's possible to tell apart different synchs.
Libraries and firmware from this release are not compatible with older releases.

Razor AHRS update: v1.3.1

Added by Peter Bartz over 4 years ago

Major changes:
  • Fixed a bug where firmware would not compile if OUTPUT__HAS_RN_BLUETOOTH was enabled.
  • Added initialization of rotation matrix at start-up based on first (unfiltered) sensor readings. That means now yaw/pitch/roll output is correct right after boot - before it took one or two seconds to converge. This is particularly useful if the tracker is auto-reset upon every serial connect (occurring when using USB with DTR pin connected, see Tutorial).
  • Adjusted gyro settings, so it should be more accurate now.

    Also available in: Atom