Onboard-SDK-ROS
Onboard-SDK-ROS copied to clipboard
height_above_takeoff returns 0.0 on N3
Hi all,
I know that the N3 is not supported for the current SDK version, but I'm using tag 3.8.1...
The topic /dji_sdk/height_above_takeoff
is always at 0.0 even when the drone is flying. I tested if I make "use_broadcast" true instead of false, the height_above_takeoff is published with real number not just 0.0, but using broadcast I lost a lot of the topics... is there a way to enable height_above_takeoff without having to enable "use_broadcast"?
Thanks a lot!
Agent comment from kyle.cai in Zendesk ticket #46593:
Dear developer ,
Thank you for contacting DJI.
This is because the height value from the TOPIC: TOPIC_HEIGHT_FUSION, which not supports the N3 FC, you can change the TOPIC such as:TOPIC_GPS_FUSED to get the height data.
ROS :dji_sdk_node_publisher.cpp
OSDK(linux): dji_telemetry_doc.hpp
Thank you for your understanding and support, hope you have a nice day.
Best Regards,
DJI SDK Support Team
inline-935063016.png
inline-92100602.png