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

    MAVLink Odometry X Y value 0

    Ask your questions right here!
    4
    78
    6.2k
    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.
    • C
      Chad Sweet ModalAI Team
      last edited by 1 Sept 2022, 16:31

      If you are using PX4 1.12 or later, and do not have a magnetometer, and want to use VIO, yes.

      K 3 Replies Last reply 1 Sept 2022, 16:32 Reply Quote 0
      • K
        Kris @Chad Sweet
        last edited by 1 Sept 2022, 16:32

        @Chad-Sweet OK 👍 I’ll try that 😊

        1 Reply Last reply Reply Quote 0
        • K
          Kris @Chad Sweet
          last edited by Kris 1 Sept 2022, 16:37 1 Sept 2022, 16:35

          @Chad-Sweet There is not an option for 5 in EKF2_MAG_TYPE.
          Should I leave this at “Automatic” or select “None” ?

          1 Reply Last reply Reply Quote 0
          • K
            Kris @Chad Sweet
            last edited by Kris 1 Sept 2022, 17:09 1 Sept 2022, 17:00

            @Chad-Sweet I selected "None" for the EKF2_MAG_TYPE and entered "0" for the SYS_HAS_MAG.
            The Odometry x y values are still at 0.
            Do I need to change anything in my voxl-vision-px4.conf files now that I am not using a GPS?

            "config_file_version":  1,                                                                   
                    "qgc_ip":       "192.168.110.146",                                                           
                    "en_secondary_qgc":     false,                                                               
                    "secondary_qgc_ip":     "192.168.1.214",                                                     
                    "qgc_udp_port_number":  14550,                                                               
                    "udp_mtu":      512,                                                                         
                    "en_localhost_mavlink_udp":     true,                                                        
                    "localhost_udp_port_number":    14551,                                                       
                    "vio_pipe":     "qvio",                                                                      
                    "en_vio":       true,                                                                        
                    "en_send_vio_to_qgc":   true,                                                                
                    "en_reset_vio_if_initialized_inverted": true,                                                
                    "vio_warmup_s": 3,                                                                           
                    "en_set_clock_from_gps":        true,                                                        
                    "en_force_onboard_mav1_mode":   true,                                                        
                    "en_reset_px4_on_error":        true,                                                        
                    "horizon_cal_tolerance":        0.449999988079071,                                           
                    "offboard_mode":        "trajectory",                                                        
                    "follow_tag_id":        0,                                                                   
                    "figure_eight_move_home":       true,                                                        
                    "en_tag_fixed_frame":   false,                                                               
                    "fixed_frame_filter_len":       5,                                                           
                    "en_transform_mavlink_pos_setpoints_from_fixed_frame":  false,                               
                    "en_voa":       true,                                                                        
                    "en_send_voa_to_qgc":   true,                                                                
                    "voa_upper_bound_m":    -0.15000000596046448,                                                
                    "voa_lower_bound_m":    0.15000000596046448,                                                 
                    "voa_memory_s": 1,                                                                           
                    "voa_inputs":   [{                                                                           
                                    "enabled":      true,                                                        
                                                            "type": "point_cloud",                                                       
                                                            "input_pipe":   "dfs_point_cloud",                                           
                                                            "frame":        "stereo_l"                                                   
                                                    }, {                                                                                 
                                                            "enabled":      true,                                                        
                                                            "type": "point_cloud",                                                       
                                                            "input_pipe":   "stereo_front_pc",                                           
                                                            "frame":        "stereo_front_l"                                             
                                                    }, {                                                                                 
                                                            "enabled":      true,                                                        
                                                            "type": "point_cloud",                                                       
                                                            "input_pipe":   "stereo_rear_pc",                                            
                                                            "frame":        "stereo_rear_l"                                              
                                                    }, {                                                                                 
                                                            "enabled":      true,                                                        
                                                            "type": "tof",                                                               
                                                            "input_pipe":   "tof",                                                       
                                                            "frame":        "tof"                                                        
                                                    }, {                                                                                 
                                                            "enabled":      true,                                                        
                                                            "type": "rangefinder",                                                       
                                                            "input_pipe":   "rangefinders",                                              
                                                            "frame":        "body"                                                       
                                                    }]                                                                                   
                                    }                                                                                                    
            

            Should I just unplug the Cirocomm GPS?

            1 Reply Last reply Reply Quote 0
            • K
              Kris
              last edited by 1 Sept 2022, 17:23

              I unplugged the GPS from the Seeker. I am still not able to get position control in MAVLink and my Odometry x y values are still at 0.
              Maybe the last option to do is to re-calibrate my cameras...

              1 Reply Last reply Reply Quote 0
              • C
                Chad Sweet ModalAI Team
                last edited by Chad Sweet 1 Sept 2022, 17:26 1 Sept 2022, 17:25

                If voxl-inspect-qvio shows functioning VIO data, there is no need to calibrate cameras. VIO is working. PX4 is most likely misconfigured.

                If you have a GPS, then you likely have a magnetometer?

                Seeker should have arrived pre-configured for VIO flight. No need to change anything. VIO is flight tested for 20 minutes before being shipped.

                K 2 Replies Last reply 1 Sept 2022, 17:27 Reply Quote 0
                • K
                  Kris @Chad Sweet
                  last edited by 1 Sept 2022, 17:27

                  @Chad-Sweet
                  Multi-View-r.png

                  1 Reply Last reply Reply Quote 0
                  • K
                    Kris @Chad Sweet
                    last edited by 1 Sept 2022, 17:33

                    @Chad-Sweet
                    Yes, I have this GPS/Magnetometer that is on the back of the Seeker above the battery compartment.
                    Seeker.png

                    If my PX4 is possibly misconfigured, should I just remove PX4 and start clean?
                    Or, is there something you might know that could be causing the problem in PX4?

                    1 Reply Last reply Reply Quote 0
                    • C
                      Chad Sweet ModalAI Team
                      last edited by 1 Sept 2022, 17:41

                      Here are the default Seeker parameters for PX4 1.11

                      Here are the helper parameters for Seeker indoor VIO flight

                      K 1 Reply Last reply 1 Sept 2022, 17:44 Reply Quote 0
                      • K
                        Kris @Chad Sweet
                        last edited by 1 Sept 2022, 17:44

                        @Chad-Sweet Thank you 🙏
                        I will load these into PX4 and test it.

                        1 Reply Last reply Reply Quote 0
                        • A
                          Adrian Hidalgo ModalAI Team
                          last edited by 1 Sept 2022, 17:48

                          @Kris Can you post a pic of QGC under MavLink Inspector, go to the tab that says Local_Position_Ned and see what the X, Y, Z show. I want to verify how those numbers are numerating.
                          Normally if the X & Y are zeroed out, VIO hasn't started yet or has blown up. A power-cycle can fix this, but I would think you've already attempted that. Looks like you've already attempted resetting voxl-vision-px4 & qvio.
                          You may want to try reconfiguring mpa:

                          voxl-configure-mpa -p -f seeker -b blue -c 7 --fc yes
                          

                          Power-cycle afterwards. You'll have to set your qgc-ip again since mpa will reset it to factory.

                          K 4 Replies Last reply 1 Sept 2022, 17:58 Reply Quote 0
                          • K
                            Kris @Adrian Hidalgo
                            last edited by 1 Sept 2022, 17:58

                            @Adrian-Hidalgo
                            Ok, I will try that now.
                            My position is still being rejected after resetting PX4 and loading the new paremeter files.

                            NED.png

                            1 Reply Last reply Reply Quote 0
                            • K
                              Kris @Adrian Hidalgo
                              last edited by 1 Sept 2022, 18:00

                              @Adrian-Hidalgo
                              I have actually reconfigured mpa before, but I will try it again after I have loaded these new PX4 parameters.

                              1 Reply Last reply Reply Quote 0
                              • K
                                Kris @Adrian Hidalgo
                                last edited by 1 Sept 2022, 18:13

                                @Adrian-Hidalgo
                                Unfortunatly that didnt work either 😢

                                NED2.png

                                1 Reply Last reply Reply Quote 0
                                • K
                                  Kris @Adrian Hidalgo
                                  last edited by 1 Sept 2022, 19:10

                                  @Adrian-Hidalgo @Chad-Sweet , Is there anything else you would like to look at on my end or something else I can try to resolve this issue?

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    Adrian Hidalgo ModalAI Team
                                    last edited by 1 Sept 2022, 19:30

                                    @Kris what version of PX4 are you using?
                                    This forum may have similar issues and it was resolved by updating PX4

                                    K 2 Replies Last reply 1 Sept 2022, 19:33 Reply Quote 0
                                    • K
                                      Kris @Adrian Hidalgo
                                      last edited by 1 Sept 2022, 19:33

                                      @Adrian-Hidalgo I honestly don't remember which one I installed. Could you please remind me how to check for the version?

                                      1 Reply Last reply Reply Quote 0
                                      • K
                                        Kris @Adrian Hidalgo
                                        last edited by 1 Sept 2022, 19:35

                                        This post is deleted!
                                        1 Reply Last reply Reply Quote 0
                                        • A
                                          Adrian Hidalgo ModalAI Team
                                          last edited by 1 Sept 2022, 19:36

                                          @Kris select the Q, should say in the menu selection below application settings

                                          K 1 Reply Last reply 1 Sept 2022, 19:48 Reply Quote 0
                                          • A
                                            Adrian Hidalgo ModalAI Team
                                            last edited by 1 Sept 2022, 19:38

                                            @Kris you could try loading a previous sys-image & sdk. Did it work before updating?

                                            K 1 Reply Last reply 1 Sept 2022, 19:39 Reply Quote 0
                                            18 out of 78
                                            • First post
                                              18/78
                                              Last post
                                            Powered by NodeBB | Contributors