ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Zachary Lowell
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 19
    • Best 2
    • Controversial 0
    • Groups 1

    Zachary Lowell

    @Zachary Lowell

    ModalAI Team

    4
    Reputation
    16
    Profile views
    19
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Zachary Lowell Unfollow Follow
    ModalAI Team

    Best posts made by Zachary Lowell

    • RE: Unable to access px4 with qgc in voxl 2 using usb-jst cable

      Hi Tamas, this video is how to get the voxl2 running with HITL: https://www.youtube.com/watch?v=ysvpJdXFWaM&ab_channel=AscendEngineering

      Also - unless you are running the voxl-dev branch, then you will not be able to do a SERIAL connection from the voxl2 to QGC, you can only leverage a UDP connection. If you are running the voxl-dev branch and flashed the board, then you can leverage the voxl-px4-hitl executable and connect to QGC. However, you cannot have gazebo open simultaneously because the serial connection will then be interrupted.

      If you wish to run HITL while running QGC, then run this using an FTDI cable and then turn on the required services (voxl-vision-px4, voxl-mavlink-server) and then connect to gazebo serially, and QGC via UDP signal.

      Let me know if this makes sense.

      posted in Ask your questions right here!
      Zachary LowellZ
      Zachary Lowell
    • RE: HITL with voxl 2

      Hi @Tamas-Pal-0 - looks like you are correct in that the voxl-px4-hitl has not been pulled into voxl-master. I would recommend for now switching over to the voxl-dev branch and running with the steps through there. Once it has been pulled into voxl-master, then you can recompile, reflash, and run through it on that branch. Other options as well is you can copy the file voxl-px4-hitl from the voxl-dev branch into your current working voxl-master, recompile, and reflash the voxl2 with the newer firmware containing the correct executable.

      posted in Ask your questions right here!
      Zachary LowellZ
      Zachary Lowell

    Latest posts made by Zachary Lowell

    • RE: HITL with VOXL 2 Serial Port Closed

      Try giving your usb device root permissions. Do the following:

      sudo chmod 777 /dev/ttyUSB0

      and then try rerunning all the same code. I think this might be a permissions issue. @Taylor-Presley

      posted in Ask your questions right here!
      Zachary LowellZ
      Zachary Lowell
    • RE: HITL with VOXL 2 Serial Port Closed

      Hi @Taylor-Presley

      Does /dev/ttyUSB0 show up in your dev environment when you plug in your FTDI cable?

      Zach

      posted in Ask your questions right here!
      Zachary LowellZ
      Zachary Lowell
    • RE: Serial port for HITL and building gazebo target

      @Youngjoo-Kim said in Serial port for HITL and building gazebo target:

      mavlink start -d /dev/uart_esc -b 921600 -m onboard -r 80000

      Hi @Youngjoo-Kim

      1. You cannot leverage that serial port to connect to QGC and run HITL at the same time. There will be conflicting mavlink packets and it will not work. You either neither connect to QGC via voxl-vision-px4 and have those serial mavlink packets be passing the gazebo packets, or not run gazebo at all and only have a serial connection going to QGC. If I put my money on it - the /dev/uart_esc actually isnt the name of the wire in the dev environment. In px4 for the voxl2 these ports are usually represented by numbers instead of paths - so I would recommend putting a value of '2' which should be the dsp port you are connected to (the 4 pin jst connector on the bottom of the voxl2).

      2. You can run any version of px4 for whichever computer is running gazebo. I always just checkout PX4-Autopilot v1.12.3 to run gazebo.

      Let me know if this helps out.
      Zach

      posted in Ask your questions right here!
      Zachary LowellZ
      Zachary Lowell
    • RE: Drone is getting crashed in HITL ( MAVSDK example: offboard_position_ned2.py )

      @Anubhav are you still flying gazebo with the iris_vision instead of just the iris_hitl in the gazebo world?

      posted in VOXL-CAM
      Zachary LowellZ
      Zachary Lowell
    • RE: Error in HITL "Tx queue overflow" in VOXL-CAM.

      @Anubhav looks like the links to your videos are private so I am unable to view. USUALLY TX queue overflow occurs when your autopilot is trying to communicate to both QGC and the simulation at the same time and the bandwidth going over the serial connection cannot be split. The solution although simple tends to work - just have gazebo open first - connect to the drone and run PX4 on the VOXL2. Once the serial connection between gazebo and the voxl2 have been established - THEN open QGC and that will connect over UDP and not leverage the serial connection.

      posted in VOXL-CAM
      Zachary LowellZ
      Zachary Lowell
    • RE: "TX queue overflow"

      TX Overflow happens because you are trying to connect to QGC with the serial connection being leveraged by gazebo for HITL. So what you need to do is open QGC after gazebo is running and connected to the VOXL2. Once this is done, you can only connect to QGC via the UDP connectoin. This can be done by enabling voxl-vision-px4 and voxl-mavlink-server services.

      So you connect to the gazebo via the serial, and QGC via the UDP connection.

      posted in VOXL 2
      Zachary LowellZ
      Zachary Lowell
    • RE: Unable to takeoff in hitl simulation in VIO mode

      Hi Tamas, what is your setup inside the gazebo world? Are you leveraging the iris_vision inside the world setup? Furthermore, are you leveraging the iris_hitl inside the iris_vision.sdf file?

      posted in VOXL 2
      Zachary LowellZ
      Zachary Lowell
    • RE: HITL on VOXL 2 : Preflight fail EKF couldn't get status

      Those parameters are expected to be missing. Inside the hitl_iris.world file what sdf model are you leveraging? Also I always use PX4 v1.12.3 when running simulation with gazebo and almost never got this issue you are saying above and usually the echo 1 sudo tee line tends to fix that as it relays data as fast as possible. Are you trying to run the voxl2 in VIO or GPS mode for hitl?

      Also is there a specific baudrate max on your FTDI cable?

      posted in Ask your questions right here!
      Zachary LowellZ
      Zachary Lowell
    • RE: HITL on VOXL 2 : Preflight fail EKF couldn't get status

      Based off the terminal output, looks like you have a good connection between your computer and the voxl2 - Did you ever run the following before running gazebo:

      echo 1 | sudo tee /sys/bus/usb-serial/devices/ttyUSB0/latency_timer

      posted in Ask your questions right here!
      Zachary LowellZ
      Zachary Lowell
    • RE: HITL on VOXL 2 : Preflight fail EKF couldn't get status

      @Tamas-Pal-0 the more I think about this, the more I believe you are running HITL in VIO while the drone is expecting GPS or vice versa, you are running HITL in GPS mode but the drone is in VIO mode.

      posted in Ask your questions right here!
      Zachary LowellZ
      Zachary Lowell