Tracking Camera's Pose Relative to Drone



  • I need to know the camera's position and orientation relative to the drone's body frame. This is so I can calculate its homogenous transformation relative to the drone, and then combine that camera imagery to localize detected objects in 3D space.

    I need to know the values of dx, dz and theta from this image:

    55ce6a3a-3095-4837-b71b-16e8975230fc-image.png
    I'm assuming that the camera is centered laterally, so dy=0 (please correct me if this is incorrect), and that there is no roll or yaw with regards to its orientation. Hence the theta is the pitch or how much the camera is rotated along the y axis. Positive direction of y axis in image is out of the page.


  • Dev Team

    Hi,

    If you're running the rb5 flight with VOXL SDK on it, you can see the relations between elements in /etc/modalai/extrinsics.conf, if not you can see the file that would've been put there here. We don't have tracking-->body relation defined directly but we have tracking-->px4 imu and px4_imu-->body allowing you to calculate the relation.



  • Thanks, that's exactly what I'm looking for


Log in to reply