DJI::OSDK::Telemetry::RelativePosition Struct Reference
  struct for data broadcast and subscription, return obstacle info around the vehicle More...
#include <dji_telemetry.hpp>
| Public Attributes | |
| float32_t | down | 
| float32_t | front | 
| float32_t | right | 
| float32_t | back | 
| float32_t | left | 
| float32_t | up | 
| uint8_t | downHealth: 1 | 
| uint8_t | frontHealth: 1 | 
| uint8_t | rightHealth: 1 | 
| uint8_t | backHealth: 1 | 
| uint8_t | leftHealth: 1 | 
| uint8_t | upHealth: 1 | 
| uint8_t | reserved: 2 | 
Detailed Description
struct for data broadcast and subscription, return obstacle info around the vehicle
- Note
- available in M210 (front, up, down)
Member Data Documentation
◆ back
| float32_t DJI::OSDK::Telemetry::RelativePosition::back | 
distance from obstacle (m)
◆ backHealth
| uint8_t DJI::OSDK::Telemetry::RelativePosition::backHealth | 
Back sensor flag: 0 - not working, 1 - working
◆ down
| float32_t DJI::OSDK::Telemetry::RelativePosition::down | 
distance from obstacle (m)
◆ downHealth
| uint8_t DJI::OSDK::Telemetry::RelativePosition::downHealth | 
Down sensor flag: 0 - not working, 1 - working
◆ front
| float32_t DJI::OSDK::Telemetry::RelativePosition::front | 
distance from obstacle (m)
◆ frontHealth
| uint8_t DJI::OSDK::Telemetry::RelativePosition::frontHealth | 
Front sensor flag: 0 - not working, 1 - working
◆ left
| float32_t DJI::OSDK::Telemetry::RelativePosition::left | 
distance from obstacle (m)
◆ leftHealth
| uint8_t DJI::OSDK::Telemetry::RelativePosition::leftHealth | 
Left sensor flag: 0 - not working, 1 - working
◆ reserved
| uint8_t DJI::OSDK::Telemetry::RelativePosition::reserved | 
Reserved sensor health flag
◆ right
| float32_t DJI::OSDK::Telemetry::RelativePosition::right | 
distance from obstacle (m)
◆ rightHealth
| uint8_t DJI::OSDK::Telemetry::RelativePosition::rightHealth | 
Right sensor flag: 0 - not working, 1 - working
◆ up
| float32_t DJI::OSDK::Telemetry::RelativePosition::up | 
distance from obstacle (m)
◆ upHealth
| uint8_t DJI::OSDK::Telemetry::RelativePosition::upHealth | 
Up sensor health flag: 0 - not working, 1 - working
The documentation for this struct was generated from the following file:
- osdk-core/api/inc/dji_telemetry.hpp