Magnetic alignment process does not terminate

I've tried to run the magnetic alignment process. With autoend, it never finishes. Without autoend, the stop command does not make it stop.

I flashed the VG-AHRS app v1.1.3

One peculiarity is that the IMU is mounted sideways. Could that be the problem ? Is it an issue in general with the OpenIMU ?

Hi Sylvain Joyeux,
I checked the OpenIMU330ZI with firmware version VG_AHRS 1.1.3, it work normally on mag align process from my side as below, please reset IMU and test. Note: please do keep connection with PC during the mag align process or it will be never finish in case of disconnected.

84295e0f-4c44-4d51-867b-416cb6959178-image.png
4cb8e406-d31c-472c-8196-9902e9dc7605-image.png

208e2a24-8947-49e5-b8c3-7c3bf99799f8-image.png

Ah. I assumed the calibration was happening on the IMU. I'm not using the Aceinna python driver, the IMU is embedded in a low-power board inside the system, and using the python stuff is just too cumbersome.

I was basically sending the MA commands through my C++ driver. Is there any way to perform the calibration "offline" ? I.e. logging the data and then doing the calibration ?

To be clearer: I send through serial 'm', 'a', 0x1 (packet prelude and checksum omitted)

Then, repeatedly I send 'm', 'a', 0x0 which replies with a status of 0x1 (which I expect). It never goes to zero.

@Sylvain-Joyeux you should use VG_AHRS application and try again. the IMU application does not support Mag calibration with python driver.
3e20453a-17cc-4718-9059-7f5ad55beb66-image.png

As I stated in my first message, I have already run the calibration with the VG-AHRS app.

Also, I'm not using the python driver. I'm accessing the raw serial interface.

Now, having looked at the EKF code, the IMU's current firmware does not support having X/Y axes not on the horizontal plane (no correction is done on the Z axis), which won't work for me since it is mounted sideways (that is, with Y up and Z sideways).

Log in to reply