ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. teddy.zaremba
    T
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 47
    • Best 7
    • Controversial 0
    • Groups 0

    teddy.zaremba

    @teddy.zaremba

    7
    Reputation
    8
    Profile views
    47
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    teddy.zaremba Unfollow Follow

    Best posts made by teddy.zaremba

    • RE: Issue sending custom odometry to PX4 via MAVROS

      Hi @Judoor-0,

      That mavlink message will result in a vehicle_visual_odometry uORB see the two links below:

      • https://github.com/PX4/PX4-Autopilot/blob/main/src/modules/mavlink/mavlink_receiver.cpp#L1339
      • https://github.com/PX4/PX4-Autopilot/blob/main/src/modules/mavlink/mavlink_receiver.h#L329

      If you go into the mavlink console and type "listener vehicle_visual_odometry" do you see messages with the data you're publishing? That's the first step.

      The second step is getting that data to fuse. You'll need to worry about transforming the data to be in PX4's coordinate frame as well as 1.15.4 requires you publish real roll, pitch, yaw data not just 0s (does your MoCap system provide that?).

      In the end you can check you've done everything correctly by listening to vehicle_local_position and seeing the output of your MoCap system.

      posted in ROS
      T
      teddy.zaremba
    • RE: mavsdk wont build for voxl2

      Hi @Gary-Holmgren. This is likely because you're running the build script from an x86 system (docker requires that you build on the same architecture as the base image, in this case arm64). You can solve that by cloning the repo onto the voxl and running build.sh from there.

      Note: make sure your voxl has a wifi connection before running ./build.sh.

      posted in Ask your questions right here!
      T
      teddy.zaremba
    • RE: PX4 1.16 no local position

      @teddy-zaremba EV_CTRL changed from 15 in 1.15 and earlier to 0 in 1.16. Either check this parameter is set to 15 or run "voxl-configure-px4-params -p MRB-D0006" for Starling V1 or "voxl-configure-px4-params -p MRB-D0005-V2" for Starling V2.

      posted in Starling & Starling 2
      T
      teddy.zaremba
    • RE: VOXL2/ROS2 Drone Runs Figure 8 Offboard Program Instead of My Program

      @GlennTee So that example requires you have the MicroDDS installed and running to communicate with PX4 (guide here).

      Alternatively, you can run offboard commands via mavsdk (example here). If you do it this way, make sure to edit that example to connect on port 14551 and set en_localhost_mavlink_udp to true in 'etc/modalai/voxl-vision-hub.conf'.

      Let me know if that helps.

      posted in Ask your questions right here!
      T
      teddy.zaremba
    • RE: VOXL2/ROS2 Drone Runs Figure 8 Offboard Program Instead of My Program

      @GlennTee What do you see when you run ros2 topic list?

      Have you run "apt-get install voxl-ros2-foxy && apt-get install voxl-mpa-to-ros2" followed by "voxl-configure-mpa-to-ros2".

      Similar issue that might be helpful

      posted in Ask your questions right here!
      T
      teddy.zaremba
    • RE: VOXL2/ROS2 Drone Runs Figure 8 Offboard Program Instead of My Program

      @GlennTee said in VOXL2/ROS2 Drone Runs Figure 8 Offboard Program Instead of My Program:

      I thought I have reverted everything to how it was before, but the drone is now back to not flying at all. I also noticed that my list of ros2 topics has also shrunk down as well.

      This likely means that those topics got populated from the offboard script not the px4-ros bridge. Could you check that voxl-microdds-agent is running when you see this happen.

      Check with "voxl-inspect-services"

      2f02cb49-ce93-4bb0-ad98-4163a961fa02-image.png

      posted in Ask your questions right here!
      T
      teddy.zaremba
    • RE: voxl-logger tflite

      Hi @KnightHawk06. If you're looking for all the data stored in the ai_detection_t struct we've done it in the past by opening up a libmodal pipe to the tflite detection path defined like this:

      #define TFLITE_DETECTION_PATH (MODAL_PIPE_DEFAULT_BASE_DIR "tflite_data/")

      Let me know if that suits your needs and if you need help opening the pipe.

      posted in Ask your questions right here!
      T
      teddy.zaremba

    Latest posts made by teddy.zaremba

    • RE: VEHICLE VISUAL ODOMETRY NOT PUBLISHING

      Hi @taiwohazeez,

      The " /fmu/in" prefix is used for sending data to the autopilot - you're never going to receive data from the autopilot listening to that topic.

      Look at the "/fmu/out" topics to see messages coming from the autopilot.

      Best,
      Ted

      posted in ROS
      T
      teddy.zaremba
    • RE: Issue sending custom odometry to PX4 via MAVROS

      Hi @Judoor-0,

      That mavlink message will result in a vehicle_visual_odometry uORB see the two links below:

      • https://github.com/PX4/PX4-Autopilot/blob/main/src/modules/mavlink/mavlink_receiver.cpp#L1339
      • https://github.com/PX4/PX4-Autopilot/blob/main/src/modules/mavlink/mavlink_receiver.h#L329

      If you go into the mavlink console and type "listener vehicle_visual_odometry" do you see messages with the data you're publishing? That's the first step.

      The second step is getting that data to fuse. You'll need to worry about transforming the data to be in PX4's coordinate frame as well as 1.15.4 requires you publish real roll, pitch, yaw data not just 0s (does your MoCap system provide that?).

      In the end you can check you've done everything correctly by listening to vehicle_local_position and seeing the output of your MoCap system.

      posted in ROS
      T
      teddy.zaremba
    • RE: Starling 2 Max TOF Depth Data Not Publishing

      @Jing-Yu This is the tof camera - the ring around it rotates. I'd watch the output on voxl-portal for TOF-IR as you're rotating it to see if it has any impact.

      3bf8773e-3633-49e3-b911-ee060a6a5dd4-image.png

      posted in Image Sensors
      T
      teddy.zaremba
    • RE: Starling 2 Max TOF Depth Data Not Publishing

      Hi @Jing-Yu,

      It looks like your TOF sensor might be out of focus.

      This is what normal output looks like:
      3b8e7997-191a-4658-9234-cd9bcf588055-image.png

      You can change the focus by rotating the ring around the TOF sensor. You might want to use a set of pliers but be careful not to scratch the glass.

      posted in Image Sensors
      T
      teddy.zaremba
    • RE: Starling 2 SLAM ROS2 Foxy

      Hi @Roya-Salehzadeh,

      1. Yep, the points showing up in voxl_mapper_aligned_ptcloud are static (ie. not tied to the vehicle's current pose)

      2. I've never tried to do that so I'm not 100% sure but recording the points with a ros2 bag seems like a reasonable approach

      3a. I'm not sure why you would need to do any transformation to plot the data on RViz. Voxl-mapper already does transformations to put the data in a static frame of reference. If you're only seeing it as a live stream this is probably because it's playing one message one after the other. I'm not sure but there might be a setting in RViz to ignore the timestamps or you could potentially do something like set all the timestamps to 1.

      3b. Voxl-mapper uses the tof data to generate the map. What are you trying to do by visualizing the tof data?

      3c. For visualizing the path I'm not sure if you would need to do transformations or not. This is the line that digests the pose data in voxl-portal. After a little investigating it seems like the /world might be the correct frame_id.

      If it were me, I'd start by getting the accumulated map on RViz then plot the odometry inside that map with the /world frame_id and then check if you need to do any additional transformations.

      @brahim what're your thoughts on the RViz frame_id for odometry?

      Let me know if that helps,
      Ted

      posted in Ask your questions right here!
      T
      teddy.zaremba
    • RE: Starling 2 Max TOF Depth Data Not Publishing

      @Jing-Yu what SDK are you using? My TOF is working with SDK 1.4.5. I'll try to replicate your setup the best I can but I'm suspicious because the TOF IR is working and the TOF depth pipe is receiving frames in your setup. In the meantime, can you try pointing the TOF sensor at something very far away?

      posted in Image Sensors
      T
      teddy.zaremba
    • RE: Starling 2 SLAM ROS2 Foxy

      Hi @george-kollamkulam,

      That looks good except voxl-mapper doesn't look like it's installed or running. You can install it using the command below. Make sure your starling is connected to wifi else you can adb push the voxl-mapper deb.

      $ wget http://voxl-packages.modalai.com/dists/qrb5165/sdk-1.5/binary-arm64/voxl-mapper_0.2.3_arm64.deb
      
      $ dpkg -i voxl-mapper_0.2.3_arm64.deb
      

      After it's installed and running check that you see the map updating on portal and you should see the voxl_mapper_aligned_ptcloud pipe show up as a ros topic.

      posted in Ask your questions right here!
      T
      teddy.zaremba
    • RE: Starling 2 crashed state

      Hi @taiwohazeez,

      That is the cable that powers the VOXL. I'm suggesting you leave that plugged in and disconnect everything else. I see you still have the VOXL 2 WiFi Add-on board connected. Disconnect that as well all the cameras on the bottom of the VOXL, ESC, and GPS.

      Please have the VOXL powered off while you disconnect everything.

      Let me know how it goes,
      Ted

      posted in FPV Drones
      T
      teddy.zaremba
    • RE: Starling 2 Max TOF Depth Data Not Publishing

      Hi @Jing-Yu,

      Does the feed for tof_depth change when you move your drone?

      posted in Image Sensors
      T
      teddy.zaremba
    • RE: Starling 2 crashed state

      Hi @taiwohazeez,

      I'd start with unplugging all the peripherals (cameras, wifi, gps, rc, etc) so you just have a bare voxl connected to a power module and check if it boots then.

      posted in FPV Drones
      T
      teddy.zaremba