Visualizing a real drone's path - dji sdk

asked 2022-03-23 18:22:52 -0500

cristianct gravatar image

Hi, I would like to visualize the route of my DJI M210 drone, besides being able to move it in RVIZ. I am using the dji-sdk package, the package delivers me different topics, the one I guess I need is ATTITUDE and LOCAL_POSITION. ATTITUDE gives me QuaternionStamped messages and LOCAL_POSITION gives me PointStamped messages. My question is, how can I merge these two topics and turn them into a single one to publish it as an odometry topic? So I can move the robot and see its path in RVIZ. Which method should I use? Which is the simplest?

edit retag flag offensive close merge delete