ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Does tf support drone?

asked 2021-02-10 15:48:26 -0500

Tawfiq Chowdhury gravatar image

I have an IF750 drone and and I want to use a camera with a gimbal in it. Since drone uses GPS (lat, long) instead of general pose (position and quaternion) values and ROS is not built in like it is in PR2 or Baxter robot, is it possible to perform coordinate transformation from camera body frame to drone's body frame. If so, is there any tf python example to do it.

I will use a vision model to detect an object and it will give me the lat and long value of the object in camera frame so I need to transform it to the drone's body frame.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-02-19 21:06:18 -0500

standmit gravatar image

You can use GeographicLib (C++) for this purpose. Convert lat long of the drone to pose (position and quternion) in ECEF frame. Then transform object coordinates from camera frame to ECEF frame. Finally, convert object coordinates from ECEF frame back to lat long

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2021-02-10 15:48:26 -0500

Seen: 162 times

Last updated: Feb 19 '21