dji-sdk / Onboard-SDK-ROS

Official ROS packages for DJI onboard SDK.
436 stars 308 forks source link

visualization of drone M210 V1 with odometry #500

Open CristianKmas opened 2 years ago

CristianKmas commented 2 years ago

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 gives me different issues, 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 make them into one to post as an odometry topic? So I can move the robot and see its trajectory in RVIZ, which method should I use, which is the easiest? I am using ROS Noetic and Ubuntu 20.04

dji-dev commented 2 years ago

Agent comment from DJI SDK in Zendesk ticket #62059:

尊敬的开发者,感谢您联系DJI 大疆创新 由于github不是我们主要的咨询渠道,您的问题可能跟进不及时。我们建议您通过填写表单( https://djisdksupport.zendesk.com/hc/zh-cn/requests/new )向我们反馈问题。或者您也可以在论坛发帖,与其它开发者交流。论坛链接:https://djisdksupport.zendesk.com/hc/zh-cn/community/topics

Dear developer, thank you for contacting DJI. Since github is not our main consultation channel, your questions may not be followed up in time. We recommend that you fill in the form (https://djisdksupport.zendesk.com/hc/en-us/requests/new) to report problems to us. Or you can post in the forum to communicate with other developers. Forum link: https://djisdksupport.zendesk.com/hc/zh-cn/community/topics

°°°

dji-dev commented 2 years ago

Agent comment from kyle.cai in Zendesk ticket #62059:

The vehicle node(master) suscribes telemetry data(GPS, attitude etc) from the drone,you can change the code vehicle node accroding to your needs and publish those data. code of subscribe from FC
image.png

°°°