ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Gary Holmgren
    • Profile
    • Following 1
    • Followers 0
    • Topics 37
    • Posts 103
    • Best 3
    • Controversial 0
    • Groups 0

    Gary Holmgren

    @Gary Holmgren

    3
    Reputation
    45
    Profile views
    103
    Posts
    0
    Followers
    1
    Following
    Joined Last Online

    Gary Holmgren Unfollow Follow

    Best posts made by Gary Holmgren

    • RE: voxl 2 external rangefinder compatibility

      @jonathankampia Was able to configure the correct startup script as described here. Thanks!

      posted in Ask your questions right here!
      Gary HolmgrenG
      Gary Holmgren
    • RE: Holybro VL53L1X Lidar Support?

      @Gary-Holmgren Figured it out, I hope this helps others with a similar setup.

      I didn't notice before but in the usr/bin/voxl-px4-start script there is a comment:

      # qshell vl53l1x start -X -b 4
      

      Which you can make or replace to change the DISTANCE_SENSOR condition to:

      if [ "$DISTANCE_SENSOR" == "VL53L1X" ]; then
      	# Make sure to set the parameter SENS_EN_VL53L1X to 1 
      	qshell vl53l1x start -X -b 4
      	# qshell lightware_laser_serial start -d 7
      

      Then you can change the voxl-px4-conf to:

      DISTANCE_SENSOR=VL53L1X
      

      After setting the relevant distance sensor / EKF2 params in QGC you should be able to restart voxl-px4 and the distance sensor will appear!

      posted in Ask your questions right here!
      Gary HolmgrenG
      Gary Holmgren
    • Holybro VL53L1X Lidar Support?

      Hi i have been following along on this forum post about connecting an external rangefinder to VOXL 2's J19 QUP3 i2c connector for altitude/landing purposes. I have the Holybro version of this VL53L1X sensor. Supported in PX4. I am wondering if anyone else has tried to make this work directly with PX4 through the DSP.

      I had tried editing the parameters for EKF2_HGT, and EKF2_RNG_CTL. As well as adding SENS_EN_VL53L1X 1 to the startup script. when I manually configure SENS_EN_VL53L1X 1 in QGC with the mavlink console (parameter is normally hidden) it works to enable it. However when I try to use SENS_EN_VL53L1X 1 in the voxl-px4.conf in EXTRA_STEPS=() file and restart voxl-px4 then QGC is no longer able to connect to voxl 2's px4 instance. Either way the distance sensor data is not being published or working correctly. I have triple checked my wiring to be as follows:
      c6c030f0-7782-494c-875a-976aaba5891f-image.png

      I also noticed for DISTANCE_SENSOR=NONE a comment states: "Options include: [NONE, LIGHTWARE_SF000] " is there a plan to include more options here or is this being replaced by the voxl-rangefinder-server.

      It appears ModalAi's forked PX4 does include the drivers for this as shown:

      c603790b-07c9-40e0-94f1-14a9f6015ec0-image.png

      posted in Ask your questions right here!
      Gary HolmgrenG
      Gary Holmgren

    Latest posts made by Gary Holmgren

    • RE: QVIO Flight violently unstable

      @Alex-Kushleyev I have narrowed one of the main causes of instability down to my quads own frame (prop protectors) within the QVIO tacking FOV. Since I am using the AR0144 cam I modified the mask file in GIMP to include only 0 and 255 for the same aspect ratio of 1280x800 at full and 1.4 res to try to apply the mask in the qvio config file but no matter what I try it seems the mask is not affecting QVIO at all. I tired a fully blacked out mask as a test and it didn't change anything. I also ensured the header matching the format found in this post.

      Have you gotten a mask example to work with the AR0144?

      posted in Ask your questions right here!
      Gary HolmgrenG
      Gary Holmgren
    • RE: QVIO Flight violently unstable

      @Gary-Holmgren calibration results with AR0144

      5aeff43b-4c9a-4a60-8f3d-f74dfba3486e-image.png

      posted in Ask your questions right here!
      Gary HolmgrenG
      Gary Holmgren
    • RE: QVIO Flight violently unstable

      @Gary-Holmgren @Alex-Kushleyev Are you able to check this out I'm not sure what could be causing this. I had qvio working perfectly fine on this stack before.

      posted in Ask your questions right here!
      Gary HolmgrenG
      Gary Holmgren
    • RE: QVIO Flight violently unstable

      @Gary-Holmgren

      Not sure why these would be outputting different roll values? could it be the cause of the forward and back oscillation that happens when I put it into position mode? The vehicle was completely still and I ran these commands within 10 seconds of each other.

      41039103-0ae3-4a41-b793-37a1b825ade9-image.png

      I also see that voxl-inspect-pose and inspect-vio are matching but qvio is not

      fc127fb0-4fbe-40a6-a934-8e0f13b8b040-image.png

      also, is this something that ha to be set in PX4 relative to IMU_APPS??

      395e29bd-fd5e-4421-b932-c2790ca2195e-image.png

      posted in Ask your questions right here!
      Gary HolmgrenG
      Gary Holmgren
    • RE: Configuring VOXL 2 with a new UDP port

      @Eric-Katzfey Ahh that makes more sense, thankyou for explaining!

      posted in Ask your questions right here!
      Gary HolmgrenG
      Gary Holmgren
    • RE: Configuring VOXL 2 with a new UDP port

      @Eric-Katzfey My apologies I guess I am confused what you mean. I tried using MAVSDK with 14550 but it wouldn't let me connect. Also, I have QGC connected using 14550 if that matters.

      posted in Ask your questions right here!
      Gary HolmgrenG
      Gary Holmgren
    • RE: QVIO Flight violently unstable

      @Gary-Holmgren Tried re-calibrating the tracking cam and IMU, as well as ensuring everything was rigid. Still no luck.

      posted in Ask your questions right here!
      Gary HolmgrenG
      Gary Holmgren
    • RE: QVIO Flight violently unstable

      @Gary-Holmgren Updated this but still having errors
      bfa73bd9-f78b-4689-a8e4-b4854e9adfd9-image.png

      posted in Ask your questions right here!
      Gary HolmgrenG
      Gary Holmgren
    • RE: QVIO Flight violently unstable

      @Gary-Holmgren

      VOXL Version
      --------------------------------------------------------------------------------
      system-image: 1.8.02-M0054-14.1a-perf
      kernel:       #1 SMP PREEMPT Mon Nov 11 22:08:01 UTC 2024 4.19.125
      --------------------------------------------------------------------------------
      hw platform:  M0054
      mach.var:     1.0.0
      --------------------------------------------------------------------------------
      voxl-suite:   1.4.0
      --------------------------------------------------------------------------------
      Packages:
      Repo:  http://voxl-packages.modalai.com/ ./dists/qrb5165/sdk-1.4/binary-arm64/
      Last Updated: 2025-02-11 17:57:14
      List:
      kernel-module-voxl-fsync-mod-4.19.125     1.0-r0
      kernel-module-voxl-gpio-mod-4.19.125      1.0-r0
      kernel-module-voxl-platform-mod-4.19.125  1.0-r0
      libfc-sensor                              1.0.7
      libmodal-cv                               0.5.16
      libmodal-exposure                         0.1.3
      libmodal-journal                          0.2.2
      libmodal-json                             0.4.3
      libmodal-pipe                             2.10.4
      libqrb5165-io                             0.4.7
      libvoxl-cci-direct                        0.2.3
      libvoxl-cutils                            0.1.1
      modalai-slpi                              1.1.19
      mv-voxl                                   0.1-r0
      qrb5165-bind                              0.1-r0
      qrb5165-dfs-server                        0.2.0
      qrb5165-imu-server                        1.1.0
      qrb5165-rangefinder-server                0.1.4
      qrb5165-slpi-test-sig                     01-r0
      qrb5165-system-tweaks                     0.3.2
      qrb5165-tflite                            2.8.0-2
      voxl-bind-spektrum                        0.1.1
      voxl-camera-calibration                   0.5.9
      voxl-camera-server                        2.0.8
      voxl-ceres-solver                         2:1.14.0-10
      voxl-configurator                         0.9.4
      voxl-cpu-monitor                          0.5.1
      voxl-docker-support                       1.3.1
      voxl-elrs                                 0.3.4
      voxl-esc                                  1.4.8
      voxl-feature-tracker                      0.5.2
      voxl-flow-server                          0.3.6
      voxl-fsync-mod                            1.0-r0
      voxl-gphoto2-server                       0.0.10
      voxl-gpio-mod                             1.0-r0
      voxl-io-server                            0.0.4
      voxl-jpeg-turbo                           2.1.3-5
      voxl-lepton-server                        1.3.3
      voxl-lepton-tracker                       0.0.4
      voxl-libgphoto2                           0.0.4
      voxl-libuvc                               1.0.7
      voxl-logger                               0.4.9
      voxl-mavcam-manager                       0.5.7
      voxl-mavlink                              0.1.1
      voxl-mavlink-server                       1.4.4
      voxl-modem                                1.1.3
      voxl-mongoose                             7.7.0-1
      voxl-mpa-to-ros                           0.3.9
      voxl-mpa-tools                            1.3.4
      voxl-open-vins                            0.4.14
      voxl-open-vins-server                     0.2.83
      voxl-opencv                               4.5.5-3
      voxl-osd                                  0.0.2
      voxl-platform-mod                         1.0-r0
      voxl-portal                               0.7.3-202501201257
      voxl-px4                                  1.14.0-2.0.99
      voxl-px4-drover
      voxl-px4-drover-v1
      voxl-px4-imu-server                       0.1.2
      voxl-px4-params                           0.5.8
      voxl-qvio-server                          1.1.1
      voxl-remote-id                            0.0.9
      voxl-reset-slpi                           0.0.1
      voxl-state-estimator                      0.0.3
      voxl-streamer                             0.7.5
      voxl-suite                                1.4.0
      voxl-tag-detector                         0.0.4
      voxl-tflite-server                        0.3.7
      voxl-utils                                1.4.4
      voxl-uvc-server                           0.1.7
      voxl-vision-hub                           1.8.17
      voxl-vtx                                  1.1.3
      voxl2-io                                  0.0.3
      voxl2-system-image                        1.8.02-r0
      voxl2-wlan                                1.0-r0
      
      posted in Ask your questions right here!
      Gary HolmgrenG
      Gary Holmgren
    • QVIO Flight violently unstable

      Hello, I am trying to debug my QVIO flight which is very unstable. When hovering the vehicle does not stay still instead it pitches back and forth aggressively. I can fly in manual mode and altitude mode without any issues at all, but when hovering in altitude mode and switching to position it immediately starts cyclically shaking back and forth and gets worse the longer I let it go.

      Its paired with the AR0144 tracking cam and has been calibrated. This is setup to also use a GPS/MAG but indoors use VIO. there is also a VL53L1X mounted for altitude sensing below 4m. Is there something that anyone would recommend checking to see what may be happening here. I followed along with the EKF2 param helpers for VIO in px4 as well.

      This is my extrinsics:

      "extrinsics": [{
      			"parent": "imu_apps",
      			"child":  "tracking",
      			"T_child_wrt_parent": [0.0237, 0.0024, -0.0073],
      			"RPY_parent_to_child":    [0, 90, 90]
      		}, {
      			"parent": "body",
      			"child":  "imu_apps",
      			"T_child_wrt_parent": [0.1138, -0.006, 0.040],
      			"RPY_parent_to_child":    [0, 0, 0]
      		}, {
      			"parent": "body",
      			"child":  "ground",
      			"T_child_wrt_parent": [0, 0, 0.0537],
      			"RPY_parent_to_child":    [0, 0, 0]
      		}]
      }
      

      and qvio-server config:

      {
      	"odr_hz":	30,
      	"use_camera_height_bootstrap":	true,
      	"camera_height_off_ground_m":	0.085000000894069672,
      	"enable_init_while_moving":	false,
      	"cam_imu_timeshift_s":	0,
      	"cam_imu_timeshift_s_uncertainty":	9.99999974737875e-05,
      	"T_cam_wrt_imu_uncertainty":	[0.00050000002374872565, 0.00050000002374872565, 0.00050000002374872565],
      	"R_cam_to_imu_uncertainty":	[0.00499999988824129, 0.00499999988824129, 0.00499999988824129],
      	"accl_fsr_ms2":	156,
      	"gyro_fsr_rad":	34,
      	"accl_noise_std_dev":	0.31600001454353333,
      	"gyro_noise_std_dev":	0.00999999977648258,
      	"cam_noise_std_dev":	100,
      	"min_std_pixel_noise":	0.5,
      	"fail_high_pixel_noise_points":	1.6650999784469604,
      	"limited_imu_bw_trigger":	25,
      	"gps_imu_time_alignment_s":	0,
      	"T_gps_wrt_imu":	[0, 0, 0],
      	"enable_mapping":	true,
      	"enable_gps_vel":	false,
      	"en_auto_reset":	true,
      	"auto_reset_max_velocity":	10,
      	"auto_reset_max_v_cov_instant":	0.10000000149011612,
      	"auto_reset_max_v_cov":	0.00999999977648258,
      	"auto_reset_max_v_cov_timeout_s":	0.5,
      	"auto_reset_min_features":	3,
      	"auto_reset_min_feature_timeout_s":	1,
      	"en_standby_mode":	true,
      	"standby_skip_frames":	1,
      	"mask_file_path":	""
      }
      
      

      vio_cams config:

      {
      	"cams":	[{
      			"enable":				true,
      			"name":					"tracking",
      			"pipe_for_preview":		"tracking",
      			"pipe_for_tracking":	"tracking_misp_norm",
      			"is_occluded_on_ground":	false,
      			"imu":					"imu_apps",
      			"cal_file":				"opencv_tracking_intrinsics.yml"
      		},{
      			"enable":				false,
      			"name":					"tracking_down",
      			"pipe_for_preview":		"tracking_down",
      			"pipe_for_tracking":	"tracking_down_misp_norm",
      			"is_occluded_on_ground":	true,
      			"imu":					"imu_apps",
      			"cal_file":				"opencv_tracking_down_intrinsics.yml"
      		}]
      }
      
      

      And heres my qvio overlay:
      e85c7381-1f16-4171-908a-6d5cc5b3143b-image.png

      Would looking into opvenins be a solution, and can it work well with just a single tracking camera ?

      posted in Ask your questions right here!
      Gary HolmgrenG
      Gary Holmgren