ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. ApoorvThapliyal
    3. Posts
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 15
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by ApoorvThapliyal

    • RE: Microdds not working with Microhard modem

      Hey @voxltester
      It seems there is an issue with how MicroXRCE and the microhard modem interfaces are starting up, I had to edit the service files to get the topics on the VOXL2.
      Edit /etc/systemd/system/voxl-microdds-agent.service:

      [Unit]
      Description=voxl-microdds-agent
      SourcePath=/usr/bin/MicroXRCEAgent
      After=network.target
      After=multi-user.target
      
      [Service]
      User=root
      Type=simple
      ExecStart=/usr/bin/MicroXRCEAgent udp4 -p 8888
      
      [Install]
      WantedBy=multi-user.target
      

      Edit /etc/systemd/system/voxl-modem.service:

      [Unit]
      Description=Modem Initialization
      After=sdsprpcd.service
      
      [Service]
      User=root
      Type=oneshot
      ExecStartPre=/bin/sleep 2
      ExecStart=/usr/bin/voxl-modem-start
      RemainAfterExit=yes
      
      [Install]
      WantedBy=multi-user.target
      

      Add export ROS_DOMAIN_ID=0 to your .bashrc
      Reboot the VOXL2, and the topics should come up
      Thanks

      posted in Ask your questions right here!
      A
      ApoorvThapliyal
    • RE: No detections when running custom YOLOv8 model on voxl-tflite-server

      Hey @svempati
      I trained a model in the docker command as provided by you. I am able to run an inference on potholes following exactly the steps provided by @Zachary-Lowell-0 earlier.
      Could I ask you what your voxl-tflite-version is? And if you havent yet, could you try to run this version: http://voxl-packages.modalai.com/dists/qrb5165/sdk-1.6/binary-arm64/voxl-tflite-server_0.5.1_arm64.deb
      Make sure to change the .tflite model and labels as shown in the loom video after the install, then run voxl-configure-tflite

      Thanks

      posted in VOXL 2
      A
      ApoorvThapliyal
    • RE: Microdds not working with Microhard modem

      @voxltester,
      When you say voxl-microdds-agent doesnt work, do you mean it doesnt run? Or it doesnt create the topics? Whats the terminal output when you run it directly from the terminal?
      Is your setup like earlier where you have the hat on and the wifi dongle is connected on the hat?

      If the topics are only showing up after disabling the wifi interface, then I suspect its a ip routing issue, and that voxl microdds agent is binding to the first interface that comes up, which is the wifi.

      posted in Ask your questions right here!
      A
      ApoorvThapliyal
    • RE: ROS_DOMAIN_ID Change

      Hey @yunwool
      Just to be clear, consider only your first drone, if you run export ROS_DOMAIN_ID=1, then run ros2 topic list, you aren't seeing any topics right?

      After you set the ROS_DOMAIN_ID of a drone to 1, to get the PX4 topics to show up, on QGC > Analyze Tools > MAVLink Console, run the following commands:

      param set XRCE_DDS_DOM_ID 1
      param save
      

      Then power cycle the drone, give it like 15s after boot up, then the topics should come up directly when running ros2 topic list on that drone.

      posted in VOXL 2
      A
      ApoorvThapliyal
    • RE: Starling 2 not following navigation path

      Hey @greg_s
      I was able to reproduce the issue where the drone does not fly correctly toward the setpoint. I think reviewing the extrinsics.conf file is a good next step, as there may be an incorrect transform defined there.

      posted in Ask your questions right here!
      A
      ApoorvThapliyal
    • RE: ROS_DOMAIN_ID Change

      Hey @yunwool
      Did you try setting the ROS_LOCALHOST_ONLY variable to limit the topics to your local device?

      posted in VOXL 2
      A
      ApoorvThapliyal
    • RE: Starling 2 not following navigation path

      Hey @greg_s
      I just wanted to confirm, are you dragging the planned point to the height desired? By default, simply clicking on the map will generate a point at height 0.
      Let me know, thanks

      posted in Ask your questions right here!
      A
      ApoorvThapliyal
    • RE: Starling 2 not following navigation path

      Hey @greg_s,
      Can you post your voxl-logs and flight logs?

      Thanks

      posted in Ask your questions right here!
      A
      ApoorvThapliyal
    • RE: ROS_DOMAIN_ID Change

      Hey @yunwool
      I would recommend writing export ROS_DOMAIN_ID=1 in your ~/.bashrc and then restarting all terminals so the change takes effect. This should prevent other ROS 2 messages from appearing in your environment, since you’ll effectively be using your own domain.

      Optionally, you may want to look into the ROS_LOCALHOST_ONLY variable as well, since I do believe if someone else sets their domain ID to 1, you would see their messages.

      posted in VOXL 2
      A
      ApoorvThapliyal
    • RE: AprilTag relocalization fails with down-facing camera due to camera extrinsics mismatch (roll/pitch out of bounds)

      @kgn-mdlai Thank you for bringing this up, a fix to this is currently being worked on.
      Thanks

      posted in AprilTag Relocalization
      A
      ApoorvThapliyal
    • RE: Setting up different AprilTag families

      Hey @dvz, thanks for your query

      We’re currently in the process of updating the voxl-tag-detector to support additional AprilTag families beyond just the 36h11.

      If you’d like to try this yourself in the meantime, the following line in main.cpp creates the detector for the 36h11 family: here

      To add support for the tagCustom48h12 family, you can:

      Add the include:

      #include <tagCustom48h12.h>
      

      Replace the detector creation line with:

      tf = tagCustom48h12_create();
      

      Please note that this change may affect the current functionality, you’ll likely need to make additional modifications in main.cpp to ensure it builds and runs correctly.
      As mentioned, we’re actively working on making this a much smoother process in the future. But if you’d like to get started now, the above steps should point you in the right direction.

      posted in AprilTag Relocalization
      A
      ApoorvThapliyal
    • RE: AprilTag Localization and landing

      @Rupesh Apologies for the late reply
      It looks like there’s an issue with how the AprilTag system is relocalizing the drone. In my tests, the z-value appears to be misinterpreted, which could explain why your drone was climbing in altitude to correct its height estimate. We’re actively working on a fix.

      posted in Ask your questions right here!
      A
      ApoorvThapliyal
    • RE: AprilTag Localization and landing

      @Rupesh What rotation matrix are you currently using in your tag_locations.conf?
      You can try setting it to:

      [[0, 1, 0],
      [0, 0, 1],
      [1, 0, 0]]
      Keep in mind that relocalization will only work reliably at certain viewing angles relative to the AprilTag. A good way to test is to rotate the tag and observe at which orientations voxl-vision-hub --debug_fixed_frame gives a value and not WARNING, apriltag roll/pitch out of bounds. Improvements are in progress to make this more robust across a wider range of angles.

      posted in Ask your questions right here!
      A
      ApoorvThapliyal
    • RE: AprilTag Localization and landing

      @Rupesh Thanks for your question. Our subject matter expert is currently unavailable, but we will review this and get back to you within a few days.

      posted in Ask your questions right here!
      A
      ApoorvThapliyal
    • RE: (VOXL2 ROS2 PX4) Can No Longer Remote ssh Through VSCode

      @GlennTee Could you please describe how did you connect to VSCode with using the SSH Client extension?

      posted in Software Development
      A
      ApoorvThapliyal