• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
ModalAI Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
    • Register
    • Login

    Calibration for VOXL SDK 1.1.3

    Ask your questions right here!
    2
    3
    100
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      Phi Nguyen
      last edited by Phi Nguyen 22 Apr 2024, 18:00 22 Apr 2024, 17:33

      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
      QGroundControl showed that, Screenshot from 2024-04-22 19-59-44.png
      what should I need to do for the first flight.
      Thank all!

      E 1 Reply Last reply 24 Apr 2024, 02:51 Reply Quote 0
      • E
        Eric Katzfey ModalAI Team @Phi Nguyen
        last edited by 24 Apr 2024, 02:51

        @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.

        E 1 Reply Last reply 24 Apr 2024, 02:52 Reply Quote 0
        • E
          Eric Katzfey ModalAI Team @Eric Katzfey
          last edited by 24 Apr 2024, 02:52

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

          1 Reply Last reply Reply Quote 0
          1 out of 3
          • First post
            1/3
            Last post
          Powered by NodeBB | Contributors