ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. jon
    J
    • Profile
    • Following 0
    • Followers 0
    • Topics 41
    • Posts 79
    • Best 7
    • Controversial 0
    • Groups 0

    jon

    @jon

    10
    Reputation
    30
    Profile views
    79
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    jon Unfollow Follow

    Best posts made by jon

    • RE: voxl 2 external rangefinder compatibility

      @jonathankampia Just to respond to my own post here in case anyone else has the same question: It does work! We hooked up a VL53L0X rangefinder to the QUP3 i2c ports in the J19 connector and were able to start the driver with no issues by adding the start command to the voxl-px4.conf file. Interestingly, you have to modify both the EKF2_HGT_REF parameter and a specific rangefinder priority parameter that controls whether rangefinder sensor fusion is enabled at all times or just conditionally. If it's just enabled conditionally, the rangefinder data does not fuse into the EKF2 local position estimator.

      posted in Ask your questions right here!
      J
      jon
    • M0201 gimbal passthrough pinout

      Hi, what is the order of the pins for the i2c passthrough on the M0201 board? Assuming something like 5V - SCL - SDA - X - X - GND, but would just like to ask to make sure. I don't believe it's documented anywhere either

      posted in Ask your questions right here!
      J
      jon
    • RE: how to access tflite_data published by voxl_mpa_to_ros from local machine?

      @aashry Follow this link: https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-mpa-to-ros. Catkin_ws -> src -> msg and you will find AiDetection.msg, which you can use to build a ros custom message package (ROS has a tutorial on it I believe). You can do that in whatever workspace you are working in in your docker container. Once that is built and you source devel/setup.bash, you should be able to echo the topic and if you want to subscribe to it in a node you will need to import the message header similarly to any other message type

      posted in Ask your questions right here!
      J
      jon
    • voxl 2 external rangefinder compatibility

      I am trying to find the best solution for minimizing altitude drift during low altitude outdoor VIO navigation. I have read this documentation about VL53L1X rangefinders, but I really would prefer not having to set this up as it would require modifying our drones to accommodate the tracking & hires cameras specific to the kits that come with the M0173 board.

      Is it possible to connect a VL53L1X rangefinder to port J19 and interact with the sensor through the px4 firmware? Looking through the voxl branched 1.14 firmware there seems to be drivers for the VL53L1X sensor. I know it's not possible to use voxl-rangefinder-server through J19 as the page I linked says, but I see no reason I can't use the port through px4 itself.

      Also, would the process (if possible) simply be:

      1. Connect the VL53L1X sensor
      2. Assuming the sensor connects properly, modify EKF2_HGT_REF to prioritize rangefinder

      Or are there any intermediate steps? I am not really sure if these drivers run automatically or if you have to enable them via certain parameters. For example, SENS_EN_VL53L1X, which should enable the driver on boot, is not visible by default.

      Thanks!

      posted in Ask your questions right here!
      J
      jon
    • RE: voxl 2 external rangefinder compatibility

      @Gary-Holmgren Haha your way is a little more robust than mine. I just manually added the qshell start command to the extra commands section of the voxl-px4.conf file.

      posted in Ask your questions right here!
      J
      jon
    • RE: [Starling2Max] Unable to take off due to no valid local position estimate

      @Yoshimaru-Tanaka Hey idk if this will solve your problem but to setup my starling I used the parameters from (I believe) the indoor_vio.params file here. You just go to the parameters section of QGroundControl and click upload from file, then select that file - it will show you exactly which parameters are going to change. They are also helpful if you are flip flopping between flying indoors and outside.

      posted in Ask your questions right here!
      J
      jon
    • RE: Need Help Connecting To My Platform

      @Colby-Howell You can save camera data onboard using voxl-logger, but it will take up a lot of storage very quickly and the voxl2 has < 64gb so be careful with that. If you're not trying to save raw frames and are okay with compression & artifacts you can stream it to a ground computer with voxl-streamer and save it there

      For connecting to the drone the easiest (especially cause you don't have a ground radio) is wifi, you can just connect your drone to a somewhat powerful router, set a static IP and ssh in.

      For autonomous navigation, the best way in my opinion is to talk to voxl-px4 through the uxrce-dds bridge (implemented on the voxl2 as voxl-microdds-agent) https://docs.px4.io/main/en/middleware/uxrce_dds

      posted in Ask your questions right here!
      J
      jon

    Latest posts made by jon

    • voxl-slpi-uart-bridge

      Hi, I am looking at the voxl-slpi-uart-bridge https://gitlab.com/voxl-public/voxl-sdk/core-libs/voxl-slpi-uart-bridge repo. Would this be capable of making one of the J19 uarts available to the apps processor for external sensor connection (not running voxl-px4)?

      Specifically using voxl2 mini

      I also have some questions about how to use it. Is it an executable you run that creates a virtual uart interface? Or a library that you reference in code. If so, is there a short implementation example anywhere?

      Thank you!

      posted in Ask your questions right here!
      J
      jon
    • RE: voxl-px4 startup failure - parameter_client_set_value timeout

      @Eric-Katzfey I was running voxl-px4 in daemonless mode so I could see my driver output:

      voxl-px4 -d
      

      And restarting it by terminating with Ctrl+C (probably not the best haha). That makes sense though, I'll try that.

      posted in Ask your questions right here!
      J
      jon
    • RE: voxl-px4 startup failure - parameter_client_set_value timeout

      @Eric-Katzfey 1.6.0.

      posted in Ask your questions right here!
      J
      jon
    • voxl-px4 startup failure - parameter_client_set_value timeout

      Hi, I am testing some changes on voxl-px4 (adding a few drivers and stuff) and occasionally run into this startup error:

      fixed-wing (D0015):/$ voxl-px4 -d
      [INFO] Reading from /etc/modalai/voxl-px4.conf
      Found DSP signature file
      [INFO] Disabling daemon mode
      
      *************************
      AIRFRAME=FIXED_WING
      GPS=NONE
      RC=NONE
      ESC=VOXL2_IO_PWM_ESC
      POWER MANAGER=NONE
      AIRSPEED SENSOR=NONE
      DISTANCE SENSOR=NONE
      OSD=DISABLE
      DAEMON_MODE=DISABLE
      SENSOR_CAL=ACTUAL
      ARTIFACT_MODE=DISABLE
      EXTRA STEPS:
      *************************
      
      INFO  [px4] mlockall() enabled. PX4's virtual address space is locked into RAM.
      INFO  [px4] assuming working directory is rootfs, no symlinks needed.
      INFO  [muorb] Got muorb init command
      Sending initialization request
      INFO  [muorb] muorb protobuf initalize method succeeded
      INFO  [muorb] succesfully did ADVERTISE_TEST_TYPE
      INFO  [muorb] [tasks] Creating pthread test_MUORB
      INFO  [muorb] [tasks] Successfully created px4 task PX4_test_MUORB with tid 2097650
      INFO  [muorb] succesfully did SUBSCRIBE_TEST_TYPE
      INFO  [muorb] [tasks] Creating pthread test_MUORB
      INFO  [muorb] [tasks] Successfully created px4 task PX4_test_MUORB with tid 2097649
      INFO  [muorb] succesfully did TOPIC_TEST_TYPE
      INFO  [muorb] [tasks] Creating pthread test_MUORB
      INFO  [muorb] [tasks] Successfully created px4 task PX4_test_MUORB with tid 2097648
      INFO  [muorb] succesfully did UNSUBSCRIBE_TEST_TYPE
      INFO  [muorb] [tasks] Creating pthread test_MUORB
      INFO  [muorb] [tasks] Successfully created px4 task PX4_test_MUORB with tid 2097647
      INFO  [muorb] muorb test passed
      
      ______  __   __    ___ 
      | ___ \ \ \ / /   /   |
      | |_/ /  \ V /   / /| |
      |  __/   /   \  / /_| |
      | |     / /^\ \ \___  |
      \_|     \/   \/     |_/
      
      px4 starting.
      
      INFO  [muorb] [uORB] Marking DeviceNode(log_message) as advertised in process_remote_topic
      INFO  [px4] startup script: /bin/sh /usr/bin/voxl-px4-start 0
      INFO  [parameters] Starting param sync THREAD
      
      *************************
      AIRFRAME: FIXED_WING
      GPS: NONE
      RC: NONE
      ESC: VOXL2_IO_PWM_ESC
      POWER MANAGER: NONE
      AIRSPEED SENSOR: NONE
      DISTANCE SENSOR: NONE
      OSD: DISABLE
      ARTIFACT_MODE: DISABLE
      EXTRA STEPS:
      	
      *************************
      
      Running on M0104
      INFO  [param] selected parameter default file /data/px4/param/parameters
      INFO  [muorb] [uORB] Marking DeviceNode(parameter_client_reset_request) as advertised in process_remote_topic
      ERROR [parameters] Timeout waiting for parameter_client_reset_response
      INFO  [muorb] [uORB] Marking DeviceNode(parameter_update) as advertised in process_remote_topic
      INFO  [muorb] [uORB] Marking DeviceNode(parameter_client_set_value_request) as advertised in process_remote_t
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for ASPD_FALLBACK_GW
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for BAT1_N_CELLS
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for BAT1_V_EMPTY
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CAL_ACC0_ID
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CAL_ACC0_PRIO
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CAL_ACC0_XOFF
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CAL_ACC0_YOFF
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CAL_ACC0_ZOFF
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CAL_ACC1_PRIO
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CAL_ACC3_PRIO
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CAL_GYRO0_ID
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CAL_GYRO0_PRIO
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CAL_GYRO0_XOFF
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CAL_GYRO0_YOFF
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CAL_GYRO0_ZOFF
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CAL_GYRO1_PRIO
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CAL_GYRO3_PRIO
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CAL_MAG0_PRIO
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CAL_MAG1_PRIO
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CAL_MAG1_ROT
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CAL_MAG2_ROT
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CA_AIRFRAME
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CA_ROTOR0_PX
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CA_ROTOR0_PY
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CA_ROTOR1_PX
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CA_ROTOR1_PY
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CA_ROTOR2_KM
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CA_ROTOR2_PX
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CA_ROTOR2_PY
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CA_ROTOR3_KM
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CA_ROTOR3_PX
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CA_ROTOR3_PY
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CA_ROTOR_COUNT
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CA_SV_CS0_TRQ_P
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CA_SV_CS0_TRQ_R
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CA_SV_CS0_TYPE
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CA_SV_CS1_TRQ_P
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CA_SV_CS1_TRQ_R
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CA_SV_CS1_TYPE
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CA_SV_CS2_TRQ_P
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CA_SV_CS2_TRQ_Y
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CA_SV_CS2_TYPE
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CA_SV_CS3_TRQ_P
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CA_SV_CS3_TRQ_Y
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CA_SV_CS3_TYPE
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CA_SV_CS_COUNT
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for CBRK_SUPPLY_CHK
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for COM_ARM_SDCARD
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for COM_CPU_MAX
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for COM_DISARM_PRFLT
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for COM_FLTMODE1
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for COM_FLTMODE4
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for COM_FLTMODE6
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for COM_KILL_DISARM
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for COM_POS_FS_DELAY
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for COM_POS_FS_EPH
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for COM_POS_LOW_EPH
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for COM_RC_LOSS_T
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for COM_VEL_FS_EVH
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for EKF2_ABL_LIM
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for EKF2_ARSP_THR
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for EKF2_EV_CTRL
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for EKF2_EV_DELAY
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for EKF2_EV_QMIN
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for EKF2_FUSE_BETA
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for EKF2_IMU_POS_X
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for EKF2_IMU_POS_Y
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for EKF2_IMU_POS_Z
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for EKF2_MAG_ACCLIM
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for EKF2_MAG_TYPE
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for EKF2_MAG_YAWLIM
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for EKF2_MULTI_IMU
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for EKF2_REQ_EPH
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for EKF2_REQ_EPV
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for EKF2_REQ_GPS_H
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for EKF2_REQ_HDRIFT
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for EKF2_REQ_SACC
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for EKF2_REQ_VDRIFT
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for FW_AIRSPD_MAX
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for FW_AIRSPD_MIN
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for FW_AIRSPD_STALL
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for FW_AIRSPD_TRIM
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for FW_GND_SPD_MIN
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for FW_MAN_P_MAX
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for FW_MAN_R_MAX
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for FW_POS_STK_CONF
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for FW_PR_I
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for FW_PR_P
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for FW_RR_FF
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for FW_RR_I
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for FW_RR_P
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for FW_R_LIM
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for FW_T_I_GAIN_THR
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for FW_T_SPD_DEV_STD
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for GF_ACTION
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for GPS_SAT_INFO
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for GPS_UBX_DYNMODEL
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for IMU_GYRO_RATEMAX
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for MAN_ARM_GESTURE
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for MAV_TYPE
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for MC_AT_EN
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for MC_PITCHRATE_D
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for MC_PITCHRATE_P
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for MC_PITCH_P
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for MC_ROLLRATE_D
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for MC_ROLLRATE_P
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for MC_ROLL_P
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for MC_YAWRATE_P
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for MC_YAW_P
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for MIS_TAKEOFF_ALT
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for MIS_TKO_LAND_REQ
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for MPC_LAND_SPEED
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for MPC_MANTHR_MIN
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for MPC_POS_MODE
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for MPC_THR_HOVER
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for MPC_THR_MAX
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for MPC_THR_MIN
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for MPC_TKO_RAMP_T
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for MPC_VEL_MANUAL
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for MPC_XY_CRUISE
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for MPC_XY_MAN_EXPO
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for MPC_XY_VEL_D_ACC
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for MPC_XY_VEL_I_ACC
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for MPC_XY_VEL_MAX
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for MPC_XY_VEL_P_ACC
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for MPC_YAW_EXPO
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for MPC_Z_MAN_EXPO
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for MPC_Z_VEL_MAX_UP
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for MPC_Z_VEL_P_ACC
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for NAV_RCL_ACT
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for PWM_MAIN_DIS2
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for PWM_MAIN_DIS3
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for PWM_MAIN_DIS4
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for PWM_MAIN_DIS5
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for PWM_MAIN_DIS6
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for PWM_MAIN_DIS7
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for PWM_MAIN_DIS8
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for PWM_MAIN_FUNC1
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for PWM_MAIN_FUNC2
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for PWM_MAIN_FUNC3
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for PWM_MAIN_MAX2
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for PWM_MAIN_MAX3
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for PWM_MAIN_MIN2
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for PWM_MAIN_MIN3
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for PWM_MAIN_REV
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for PWM_MAIN_TIM0
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for PWM_MAIN_TIM1
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC10_MAX
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC10_MIN
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC10_TRIM
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC11_MAX
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC11_MIN
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC11_TRIM
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC1_MAX
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC1_MIN
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC1_TRIM
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC2_MAX
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC2_MIN
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC2_REV
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC2_TRIM
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC3_MAX
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC3_MIN
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC3_TRIM
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC4_MAX
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC4_MIN
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC4_TRIM
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC5_MAX
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC5_MIN
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC5_TRIM
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC7_MAX
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC7_MIN
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC7_TRIM
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC9_MAX
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC9_MIN
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC9_TRIM
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC_CHAN_CNT
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC_CRSF_TEL_EN
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC_INPUT_PROTO
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC_MAP_ARM_SW
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC_MAP_FLTMODE
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC_MAP_KILL_SW
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC_MAP_PITCH
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC_MAP_ROLL
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC_MAP_THROTTLE
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RC_MAP_YAW
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RTL_DESCEND_ALT
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RTL_RETURN_ALT
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RTL_TYPE
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for RWTO_NUDGE
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for SDLOG_PROFILE
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for SENS_BOARD_X_OFF
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for SENS_BOARD_Y_OFF
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for SENS_EN_MS4525DO
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for SENS_EN_SF0X
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for SENS_IMU_AUTOCAL
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for SENS_IMU_MODE
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for SENS_MAG_AUTOCAL
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for SENS_MAG_AUTOROT
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for SYS_AUTOCONFIG
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for SYS_AUTOSTART
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for UAVCAN_BITRATE
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for UAVCAN_EC_FAIL1
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for UAVCAN_EC_FAIL2
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for UAVCAN_EC_FAIL3
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for UAVCAN_EC_FAIL4
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for UAVCAN_EC_FAIL5
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for UAVCAN_EC_FAIL6
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for UAVCAN_EC_FAIL7
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for UAVCAN_EC_FAIL8
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for UAVCAN_EC_MAX1
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for UAVCAN_EC_MAX2
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for UAVCAN_EC_MAX3
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for UAVCAN_EC_MAX4
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for UAVCAN_EC_MAX5
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for UAVCAN_EC_MAX6
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for UAVCAN_ENABLE
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for VOXL2_IO_CMIN
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for VOXL2_IO_FUNC1
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for VOXL2_IO_FUNC2
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for VOXL2_IO_FUNC3
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for VOXL2_IO_FUNC4
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for VOXL2_IO_FUNC5
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for VOXL2_IO_FUNC6
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for VOXL_ESC_BAUD
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for VOXL_ESC_FUNC1
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for VOXL_ESC_FUNC2
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for VOXL_ESC_FUNC3
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for VOXL_ESC_FUNC4
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for VOXL_ESC_RPM_MAX
      ERROR [parameters] Timeout waiting for parameter_client_set_value_response for VOXL_ESC_RPM_MIN
      INFO  [parameters] BSON document size 4757 bytes, decoded 4757 bytes (INT32:111, FLOAT:119)
      Starting IMU driver with rotation 12
      INFO  [qshell] Send cmd: 'icm42688p start -s -R 12'
      INFO  [muorb] [uORB] Marking DeviceNode(qshell_req) as advertised in process_remote_topic
      

      I can't consistently recreate it, but it usually happens after restarting voxl-px4 a few times during one "session" (I don't think it's ever happened on the first voxl-px4 startup). Is there a corresponding service I should restart alongside voxl-px4, or can anyone clue me in to why this issue might be happening only sometimes?

      posted in Ask your questions right here!
      J
      jon
    • RE: voxl-microdds-agent for connection to external fcu over uart (J10)

      @Zachary-Lowell-0 Oh wow, thanks that's very simple

      posted in Ask your questions right here!
      J
      jon
    • voxl-microdds-agent for connection to external fcu over uart (J10)

      Hi! Problem statement: want to connect external FCU to voxl and communicate over the microdds bridge for minimal latency. In the past, I have tried to compile the uxrce-dds agent from source https://docs.px4.io/main/en/middleware/uxrce_dds but never really dove into trying to fix all the issues. I assume this is a problem you guys fixed with voxl-microdds-agent; is it possible to modify that package to communicate with an external flight controller over UART?

      Other option would be docker, which I've done before, but that incurs some overhead and we're kinda maxing out the voxl, so I would prefer a native implementation.

      I guess I'm just asking if this is feasible within the design of voxl-microdds-agent or if it's tailored to communicating with voxl-px4 over shared memory.

      posted in Ask your questions right here!
      J
      jon
    • voxl-logger seg fault on shutdown

      Hi, in order to log a lot of different configurable data & cleanly parse the output, I wrote a python wrapper that calls voxl-logger as a subprocess and terminates it by sending a SIGINT (emulating user ctrl+c).

      This issue only happens sometimes, maybe 30% of the time or something. I don't recall ever seeing it when starting voxl-logger natively in the terminal.

      Running: stdbuf -oL -eL voxl-logger -c hires_small_color -i imu_apps -i imu_vectornav -B baro_vectornav -g gnss1_vectornav -I ins_vectornav
      Welcome to voxl-logger
      58127 MB left in /data/voxl-logger/
      starting new log: /data/voxl-logger/log0044/
      
      connected to ch 0 /run/mpa/hires_small_color/
      connected to ch 1 /run/mpa/imu_apps/
      ^C
      Stopping...
      
      received SIGINT Ctrl-C
      WARNING, _stop_helper_and_remove_pipe timed out joining read thread
      
      Segmentation fault:
      Fault thread: voxl-logger(tid: 26766)
      Fault address: 0x7f9d719010
      Address not mapped.
      

      The main issue is that when this happens it fails to print the logger summary (channels & messages logged) which is important for me to quickly analyze the validity of the logged data. Also we've had issues with the logger not shutting down gracefully and only partially populating the final row of the csv it was writing to.

      Do you guys have any idea why this might be happening? I would much prefer the logger to exit consistently and gracefully.

      Thanks!

      posted in Ask your questions right here!
      J
      jon
    • voxl-px4 time source

      Do the apps and slpi processors share the same clock? I intend to publish external vio data to voxl-px4, and I'm wondering how it should be timestamped to properly ingest into the EKF2 module. Right now I am timestamping things on the apps side using the monotonic clock (same as voxl-camera-server and voxl-imu-server).

      posted in Ask your questions right here!
      J
      jon
    • RE: Need Help Connecting To My Platform

      @Colby-Howell You can save camera data onboard using voxl-logger, but it will take up a lot of storage very quickly and the voxl2 has < 64gb so be careful with that. If you're not trying to save raw frames and are okay with compression & artifacts you can stream it to a ground computer with voxl-streamer and save it there

      For connecting to the drone the easiest (especially cause you don't have a ground radio) is wifi, you can just connect your drone to a somewhat powerful router, set a static IP and ssh in.

      For autonomous navigation, the best way in my opinion is to talk to voxl-px4 through the uxrce-dds bridge (implemented on the voxl2 as voxl-microdds-agent) https://docs.px4.io/main/en/middleware/uxrce_dds

      posted in Ask your questions right here!
      J
      jon
    • RE: voxl2_io direct command pwm on channel 5

      @Alex-Kushleyev Hey thanks for the quick reply,

      It's kind of hard to explain but eventually this system will be flown, and I'll need pretty extensive control over what's happening on the px4 side so I'm kind of using this as an exercise to understand how things work. Also trying to keep the hardware consistent with what will fly.

      I do want to run voxl-px4 so I can pipe data into EKF2 and see how it responds under certain conditions. Right now we have a standard voxl2 with the ethernet expansion board, and are using the J9 uart for connecting an external sensor, and the J11 superspeed USB for datalogging. Unfortunately I believe this leaves us with no apps proc uarts available, so interacting with it on the SLPI side is the only option.

      I'll mess around with other VehicleCommand messages and see if I can get something to show up on the px4 side

      posted in Ask your questions right here!
      J
      jon