Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Software Development
  3. GPS-denied Navigation (VIO)
  4. Drone not moving in Offboard Mode

Drone not moving in Offboard Mode

Scheduled Pinned Locked Moved GPS-denied Navigation (VIO)
6 Posts 3 Posters 1.3k Views 1 Watching
  • 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.
  • Jetson NanoJ Offline
    Jetson NanoJ Offline
    Jetson Nano
    Veteran
    wrote on last edited by Jetson Nano
    #1

    I'm using a VOXL2 compute along with Flight Core V2 as external flight controller for development. I'm using the Starling 1 Image sensors.

    Flight Controller: Flight Core V2
    PX4 version: v1.15.1 (Stable)
    Companion Computer: VOXL 2

    The VOXL2 communicates with FC as mentioned in this documentation.

    The drone holds based on PX4 EV parameter using tracking camera fusing with a Optical Flow with Rangefinder onboard. I'm able to see the odometry message being shown in mavlink console on QGC. Also, I try streaming the message

    mavlink stream -r 30 -s ODOMETRY -d /dev/ttyS1
    

    In voxl-vision-hub I have set the mode to figure_eight. But once, I switch to offboard mode from position mode the drone stays at the same place and does not perform figure 8.

    Once I ssh into VOXL2, and check for mavlink status, I get the following output without #331 ID ODOMETRY message

    Screenshot from 2024-10-27 15-05-32.png

    For VIO inputs, I'm relying on Tracking camera from QVIO server. I'm not sure if VIO estimates from VOXL2 are being sent to FC. How can I troubleshoot to check for the ODOMETRY message to be passed on?

    I'm working on this as a priority, so any suggestion will be quickly tested. I hope to hear from you.

    1 Reply Last reply
    0
    • Zachary Lowell 0Z Offline
      Zachary Lowell 0Z Offline
      Zachary Lowell 0
      ModalAI Team
      wrote on last edited by
      #2

      @Jetson-Nano said in Drone not moving in Offboard Mode:

      mavlink stream -r 30 -s ODOMETRY -d /dev/ttyS1

      @Jetson-Nano why are you running a mavlink stream for ODOMETRY? Voxl-vision hub automatically handles the streaming of odometry into the flight core.

      If you are able to fly it in position mode without a GPS and QVIO is enabled and Odometry is showing in the mavlink console, then the packets are most likely making it to the Flight Core - I would recommend though removing the Optical flow and Rangefinder to ensure that you are indeed getting odometry from qvio and not from the optical flow and rangefinder.

      To confirm, can oyu please paste the paraemeters for voxl-vision-hub.conf as well as your parameters from QGC on efk2_ev*?

      Thanks,
      Zach

      Jetson NanoJ 1 Reply Last reply
      0
      • Zachary Lowell 0Z Zachary Lowell 0

        @Jetson-Nano said in Drone not moving in Offboard Mode:

        mavlink stream -r 30 -s ODOMETRY -d /dev/ttyS1

        @Jetson-Nano why are you running a mavlink stream for ODOMETRY? Voxl-vision hub automatically handles the streaming of odometry into the flight core.

        If you are able to fly it in position mode without a GPS and QVIO is enabled and Odometry is showing in the mavlink console, then the packets are most likely making it to the Flight Core - I would recommend though removing the Optical flow and Rangefinder to ensure that you are indeed getting odometry from qvio and not from the optical flow and rangefinder.

        To confirm, can oyu please paste the paraemeters for voxl-vision-hub.conf as well as your parameters from QGC on efk2_ev*?

        Thanks,
        Zach

        Jetson NanoJ Offline
        Jetson NanoJ Offline
        Jetson Nano
        Veteran
        wrote on last edited by
        #3

        @Zachary-Lowell-0 Thanks for reverting back. Earlier I was using a different flight controller with the similar system setup. When I had faced this issue, I was mentioned to run the seperate odometry stream command.

        Sharing that post for your ref. link.

        Parameters I have set for voxl-vision-hub

                "config_file_version":  1,
                "en_localhost_mavlink_udp":     true,
                "localhost_udp_port_number":    14551,
                "en_vio":       true,
                "vio_pipe":     "qvio",
                "secondary_vio_pipe":   "ov",
                "en_reset_vio_if_initialized_inverted": true,
                "vio_warmup_s": 3,
                "send_odom_while_failed":       true,
                "horizon_cal_tolerance":        0.5,
                "offboard_mode":        "figure_eight",
                "follow_tag_id":        0,
                "figure_eight_move_home":       true,
                "robot_radius": 0.300000011920929,
                "collision_sampling_dt":        0.1,
                "max_lookahead_distance":       1,
                "backtrack_seconds":    5,
                "wps_move_home":        true,
                "wps_stride":   0,
                "wps_timeout":  0,
                "wps_damp":     1,
                "en_tag_fixed_frame":   false,
                "fixed_frame_filter_len":       5,
                "en_transform_mavlink_pos_setpoints_from_fixed_frame":  true,
                "en_voa":       true,
                "voa_upper_bound_m":    -0.15000000596046448,
                "voa_lower_bound_m":    0.15000000596046448,
                "voa_voa_memory_s":     1,
                "voa_max_pc_per_fusion":        100,
                "voa_pie_max_dist_m":   20,
                "voa_pie_min_dist_m":   0.25,
                "voa_pie_under_trim_m": 1,
                "voa_pie_threshold":    3,
                "voa_send_rate_hz":     20,
                "voa_pie_slices":       36,
                "voa_pie_bin_depth_m":  0.15000000596046448,
                "voa_inputs":   [{
        
        

        The PX4 parameters in QGC for EKF2_EV_CTRL,

        Screenshot from 2024-10-29 22-32-56.png

        Jetson NanoJ 1 Reply Last reply
        0
        • Jetson NanoJ Jetson Nano

          @Zachary-Lowell-0 Thanks for reverting back. Earlier I was using a different flight controller with the similar system setup. When I had faced this issue, I was mentioned to run the seperate odometry stream command.

          Sharing that post for your ref. link.

          Parameters I have set for voxl-vision-hub

                  "config_file_version":  1,
                  "en_localhost_mavlink_udp":     true,
                  "localhost_udp_port_number":    14551,
                  "en_vio":       true,
                  "vio_pipe":     "qvio",
                  "secondary_vio_pipe":   "ov",
                  "en_reset_vio_if_initialized_inverted": true,
                  "vio_warmup_s": 3,
                  "send_odom_while_failed":       true,
                  "horizon_cal_tolerance":        0.5,
                  "offboard_mode":        "figure_eight",
                  "follow_tag_id":        0,
                  "figure_eight_move_home":       true,
                  "robot_radius": 0.300000011920929,
                  "collision_sampling_dt":        0.1,
                  "max_lookahead_distance":       1,
                  "backtrack_seconds":    5,
                  "wps_move_home":        true,
                  "wps_stride":   0,
                  "wps_timeout":  0,
                  "wps_damp":     1,
                  "en_tag_fixed_frame":   false,
                  "fixed_frame_filter_len":       5,
                  "en_transform_mavlink_pos_setpoints_from_fixed_frame":  true,
                  "en_voa":       true,
                  "voa_upper_bound_m":    -0.15000000596046448,
                  "voa_lower_bound_m":    0.15000000596046448,
                  "voa_voa_memory_s":     1,
                  "voa_max_pc_per_fusion":        100,
                  "voa_pie_max_dist_m":   20,
                  "voa_pie_min_dist_m":   0.25,
                  "voa_pie_under_trim_m": 1,
                  "voa_pie_threshold":    3,
                  "voa_send_rate_hz":     20,
                  "voa_pie_slices":       36,
                  "voa_pie_bin_depth_m":  0.15000000596046448,
                  "voa_inputs":   [{
          
          

          The PX4 parameters in QGC for EKF2_EV_CTRL,

          Screenshot from 2024-10-29 22-32-56.png

          Jetson NanoJ Offline
          Jetson NanoJ Offline
          Jetson Nano
          Veteran
          wrote on last edited by
          #4

          Hello @Eric-Katzfey @Zachary-Lowell-0 @James-Strawson @tom

          Could you look into once?

          Jetson NanoJ 1 Reply Last reply
          0
          • Jetson NanoJ Jetson Nano

            Hello @Eric-Katzfey @Zachary-Lowell-0 @James-Strawson @tom

            Could you look into once?

            Jetson NanoJ Offline
            Jetson NanoJ Offline
            Jetson Nano
            Veteran
            wrote on last edited by Jetson Nano
            #5

            @Zachary-Lowell-0 @Alex-Kushleyev @Eric-Katzfey @tom Could you look into this please?

            Eric KatzfeyE 1 Reply Last reply
            0
            • Jetson NanoJ Jetson Nano

              @Zachary-Lowell-0 @Alex-Kushleyev @Eric-Katzfey @tom Could you look into this please?

              Eric KatzfeyE Offline
              Eric KatzfeyE Offline
              Eric Katzfey
              ModalAI Team
              wrote on last edited by
              #6

              @Jetson-Nano As suggested before, can you disable the rangefinder and optic flow and see if things work with VIO alone?

              1 Reply Last reply
              0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              ModalAI
              Categories Recent Tags ModalAI.com Docs
              © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups