Hey @Aniruddha,
Thanks for reaching out, could you provide more information about your setup and how things are communicating?
Posts made by ApoorvThapliyal
-
RE: Unable to echo ros2 topic from drone to a computerposted in ROS
-
Bluetooth integration on the VOXL2posted in Support Request Format for Best Results
Hey, I wanted to know if the VOXL 2 supports Bluetooth, ideally with an SDK that makes integration easy. If not, is there a module you’d recommend for adding Bluetooth support?
-
RE: Microdds not working with Microhard modemposted in Ask your questions right here!
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.targetEdit
/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.targetAdd
export ROS_DOMAIN_ID=0to your.bashrc
Reboot the VOXL2, and the topics should come up
Thanks -
RE: No detections when running custom YOLOv8 model on voxl-tflite-serverposted in VOXL 2
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 yourvoxl-tflite-versionis? 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 runvoxl-configure-tfliteThanks
-
RE: Microdds not working with Microhard modemposted in Ask your questions right here!
@voxltester,
When you sayvoxl-microdds-agentdoesnt 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.
-
RE: ROS_DOMAIN_ID Changeposted in VOXL 2
Hey @yunwool
Just to be clear, consider only your first drone, if you runexport ROS_DOMAIN_ID=1, then runros2 topic list, you aren't seeing any topics right?After you set the
ROS_DOMAIN_IDof a drone to 1, to get the PX4 topics to show up, onQGC > Analyze Tools > MAVLink Console, run the following commands:param set XRCE_DDS_DOM_ID 1 param saveThen power cycle the drone, give it like 15s after boot up, then the topics should come up directly when running
ros2 topic liston that drone. -
RE: Starling 2 not following navigation pathposted in Ask your questions right here!
Hey @greg_s
I was able to reproduce the issue where the drone does not fly correctly toward the setpoint. I think reviewing theextrinsics.conffile is a good next step, as there may be an incorrect transform defined there. -
RE: ROS_DOMAIN_ID Changeposted in VOXL 2
Hey @yunwool
Did you try setting the ROS_LOCALHOST_ONLY variable to limit the topics to your local device? -
RE: Starling 2 not following navigation pathposted in Ask your questions right here!
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 -
RE: Starling 2 not following navigation pathposted in Ask your questions right here!
Hey @greg_s,
Can you post your voxl-logs and flight logs?Thanks
-
RE: ROS_DOMAIN_ID Changeposted in VOXL 2
Hey @yunwool
I would recommend writingexport ROS_DOMAIN_ID=1in your~/.bashrcand 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.
-
RE: AprilTag relocalization fails with down-facing camera due to camera extrinsics mismatch (roll/pitch out of bounds)posted in AprilTag Relocalization
@kgn-mdlai Thank you for bringing this up, a fix to this is currently being worked on.
Thanks -
RE: Setting up different AprilTag familiesposted in AprilTag Relocalization
Hey @dvz, thanks for your query
We’re currently in the process of updating the
voxl-tag-detectorto support additional AprilTag families beyond just the36h11.If you’d like to try this yourself in the meantime, the following line in
main.cppcreates the detector for the36h11family: hereTo add support for the
tagCustom48h12family, 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.cppto 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. -
RE: AprilTag Localization and landingposted in Ask your questions right here!
@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. -
RE: AprilTag Localization and landingposted in Ask your questions right here!
@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 orientationsvoxl-vision-hub --debug_fixed_framegives a value and notWARNING, apriltag roll/pitch out of bounds. Improvements are in progress to make this more robust across a wider range of angles. -
RE: AprilTag Localization and landingposted in Ask your questions right here!
@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.
-
RE: (VOXL2 ROS2 PX4) Can No Longer Remote ssh Through VSCodeposted in Software Development
@GlennTee Could you please describe how did you connect to VSCode with using the SSH Client extension?