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

    VIO gravity correction

    Ask your questions right here!
    3
    5
    424
    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.
    • G
      gauravshukla914
      last edited by 20 Aug 2021, 16:36

      HI. I'm working on just the VOXL board and I've integrated my own Pixhawk 4 flight controller. When I'm trying to print the odometry on the terminal by doing the command "voxl-vision-px4 -o" I'm getting this ```
      WARNING initializing VIO gravity correction, system not level enough

      What could be the possible reasons for this? I've done caliberation numerous times now making sure everything is correct and the overall system does look level. I have placed the Pixhawk on top of the VOXL board. I also tried disconnecting the pixhawk 4 connections (Power and communication port) with the VOXL, to check if this changes anything on VOXL, but the result is still the same.
      Is there anything else that I should be looking at?
      1 Reply Last reply Reply Quote 0
      • ?
        A Former User
        last edited by 20 Aug 2021, 16:43

        If you've changed the orientation of the boards you'll need to make sure that you update the reference extrinsics to specify your board's orientation. For instance, even if your imus are showing 0,-9.8,0 the voxl-vision service may be expecting gravity to be in the x direction. The config file for this is at /etc/modalai/extrinsics.conf. You can look at some of the default configurations that we have for the drone bodies that we sell at /usr/share/modalai/extrinsic_configs/.

        1 Reply Last reply Reply Quote 0
        • G
          gauravshukla914
          last edited by 20 Aug 2021, 17:34

          @Alex-Gardner this is the orientation of the boards which look fine to us. I'm attaching the picture. For the image that attached , the imus value are 0,0,-9.8. We checked this on QGC on highres_imu

          WhatsApp Image 2021-08-20 at 12.33.11 PM.jpeg

          1 Reply Last reply Reply Quote 0
          • G
            gauravshukla914
            last edited by 20 Aug 2021, 18:49

            @Alex-Gardner the issue is solve. The imu0 was not working, so by switching to imu1, it worked. Thanks for the help.
            But we don't know why imu0 is giving very off values compared to imu1 , its a new voxl board that we have.

            K 1 Reply Last reply 13 Apr 2023, 08:44 Reply Quote 0
            • K
              KAI WANG @gauravshukla914
              last edited by 13 Apr 2023, 08:44

              @gauravshukla914

              voxl_bug.png

              i have this issue, how switching to imu1? thanks

              1 Reply Last reply Reply Quote 0
              • J José Quintanilla referenced this topic on 30 Jun 2023, 17:09
              • First post
                Last post
              Powered by NodeBB | Contributors