# Calibration for VOXL SDK 1.1.3

Source: https://forum.modalai.com/topic/3347/calibration-for-voxl-sdk-1-1-3
Category: General Questions (https://forum.modalai.com/category/2/general-questions)
Posted: 2024-04-22 17:33:12 UTC by Phi Nguyen
Replies: 2 · Views: 381

## Phi Nguyen · 2024-04-22 17:33:12 UTC

I did upgrade the RB5 Flight with VOXL SDK Platform 1.1.3. 
When I try to calibrate the IMU, it happend: 

rb5:/$ voxl-check-calibration 
Calibration File Status:
Missing /data/px4/param/parameters_mag.cal 

rb5:/$ voxl-calibrate-imu
ERROR: in json_read_file, config file is empty or unreadable

ERROR: Malformed calibration file: /data/modalai/voxl-imu-server.cal
Please make a new calibration file with voxl-calibrate-imu

ERROR: Neither IMU pipe appear to be open
Make sure the voxl-imu-server service is running and try again

and

voxl-imu-server          |  Enabled  | Not Running

After calibration with QGroundControl, I realized that the orientation was wrong, I do not exactly which orientation is, it was mentioned in this link https://docs.modalai.com/px4-calibrate-sensors/ is:
When you click on the Compass or Accelerometer calibration buttons, QGroundControl rightly asks you to confirm the board orientation. If using the PX4 master branch or the ModalAI build 1.10 then use ROTATION_NONE. The default orientation in the parameters file you uploaded before takes this into account. NOTE: the 1.10 release from PX4 for Flight Core is not recommended as there have been fixes including a orientation change.
![Screenshot from 2024-04-22 19-01-25.png](https://forum.modalai.com/assets/uploads/files/1713808829400-screenshot-from-2024-04-22-19-01-25.png) 
QGroundControl showed that, ![Screenshot from 2024-04-22 19-59-44.png](https://forum.modalai.com/assets/uploads/files/1713808816939-screenshot-from-2024-04-22-19-59-44.png) 
what should I need to do for the first flight.
Thank all!

## Reply by Eric Katzfey (ModalAI staff) · 2024-04-24 02:51:14 UTC

@Phi-Nguyen The magnetometer rotation is specified directly with the magnetometer driver so you don't need to set it with that parameter. The `/usr/bin/voxl-px4-start` startup script will attempt to launch the magnetometer driver with the `-R 10` option to specify the rotation.

## Reply by Eric Katzfey (ModalAI staff) · 2024-04-24 02:52:01 UTC (in reply to Eric Katzfey)

@Eric-Katzfey So you probably just need to do the magnetometer calibration procedure to be ready for flight.
