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

    teddy.zaremba

    @teddy.zaremba

    5
    Reputation
    6
    Profile views
    44
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    teddy.zaremba Unfollow Follow

    Best posts made by 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: 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: 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
    • RE: Starling 2 SLAM ROS2 Foxy

      Hi @george-kollamkulam,

      1. For "voa_pc_out" the default on voxl-vision-hub allows input from both stereo and tof. You can check which inputs you have enabled by checking the voa_input in "/etc/modalai/voxl-vision-hub.conf".

      2. Correct, I would just use "voxl_mapper_aligned_ptcloud"

      3. Can you share your output from voxl-inspect-cam -a to make sure your stereo cameras are setup correctly? I would debug this on voxl-portal before moving onto the ROS portion. Do you have tracking cameras setup, and will you be running openvins or voxl-qvio-server. Once that's verified check that you're seeing that pose on voxl-mapper. You should see the orientation show up like in the red box in the picture below or by running voxl-inspect-pose -l.

      02eff7ea-27d0-4174-a2c4-8804394b8632-image.png

      1. You can use the pointcloud data published to voxl_mapper_aligned_ptcloud once you have voxl-mapper working. I've never plotted it myself, but you can take a look at how voxl-portal plots it for inspiration (here).
      posted in Ask your questions right here!
      T
      teddy.zaremba
    • RE: Getting Range finder information in ROS and more.

      Hi @Judoor-0,

      Cool! Feel free to make a MR or post the link to your code if you want someone to review it.

      posted in ROS
      T
      teddy.zaremba
    • RE: Getting Range finder information in ROS and more.

      Hi @Judoor-0,

      Interesting I'm assuming you're looking at the rangefinders pipe. I can take a look at your code, or you can make a MR back into mpa-to-ros2.

      Also, something to consider is using microdds and subscribing to the "fmu/in/obstacle_distance" topic.

      posted in ROS
      T
      teddy.zaremba