#include <string>#include <ros/ros.h>#include <dji_sdk/dji_drone.h>#include <dji_sdk/LocalPosition.h>#include <dji_sdk/Velocity.h>#include <dji_sdk/AttitudeQuaternion.h>#include "dji_sdk_dji2mav/mavHandler.h"#include "dji_sdk_dji2mav/mavContainer.h"#include "dji_sdk_dji2mav/modules/heartbeat/mavHeartbeat.h"#include "dji_sdk_dji2mav/modules/sensors/mavSensors.h"#include "dji_sdk_dji2mav/modules/waypoint/mavWaypoint.h"#include "dji_sdk_dji2mav/modules/hotpoint/mavHotpoint.h"
Go to the source code of this file.
Defines | |
| #define | DJI2MAV_LOG_INFO |
Functions | |
| void | attCB (const dji_sdk::AttitudeQuaternion &msg) |
| void | gloPosCB (const dji_sdk::GlobalPosition &msg) |
| void | locPosCB (const dji_sdk::LocalPosition &msg) |
| int | main (int argc, char *argv[]) |
| void | respondToHeartbeat () |
| void | respondToHpTarget (const float hp[], uint16_t size, uint16_t cmd) |
| void | respondToMissionAck () |
| void | respondToMissionClearAll () |
| void | respondToMissionCount (uint16_t param) |
| void | respondToMissionItem (uint16_t param) |
| void | respondToMissionRequest (uint16_t param) |
| void | respondToMissionRequestList () |
| void | respondToMissionSetCurrent (uint16_t param) |
| void | respondToWpTarget (const float mission[][7], uint16_t beginIdx, uint16_t endIdx) |
| void | velCB (const dji_sdk::Velocity &msg) |
Variables | |
| DJIDrone * | drone |
| dji2mav::MavSensors * | g_sensors |
| #define DJI2MAV_LOG_INFO |
Definition at line 9 of file dji2mav_bringup.cpp.
| void attCB | ( | const dji_sdk::AttitudeQuaternion & | msg | ) |
Definition at line 42 of file dji2mav_bringup.cpp.
| void gloPosCB | ( | const dji_sdk::GlobalPosition & | msg | ) |
Definition at line 47 of file dji2mav_bringup.cpp.
| void locPosCB | ( | const dji_sdk::LocalPosition & | msg | ) |
Definition at line 33 of file dji2mav_bringup.cpp.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 191 of file dji2mav_bringup.cpp.
| void respondToHeartbeat | ( | ) |
Definition at line 54 of file dji2mav_bringup.cpp.
| void respondToHpTarget | ( | const float | hp[], |
| uint16_t | size, | ||
| uint16_t | cmd | ||
| ) |
Definition at line 140 of file dji2mav_bringup.cpp.
| void respondToMissionAck | ( | ) |
Definition at line 66 of file dji2mav_bringup.cpp.
| void respondToMissionClearAll | ( | ) |
Definition at line 78 of file dji2mav_bringup.cpp.
| void respondToMissionCount | ( | uint16_t | param | ) |
Definition at line 70 of file dji2mav_bringup.cpp.
| void respondToMissionItem | ( | uint16_t | param | ) |
Definition at line 74 of file dji2mav_bringup.cpp.
| void respondToMissionRequest | ( | uint16_t | param | ) |
Definition at line 62 of file dji2mav_bringup.cpp.
| void respondToMissionRequestList | ( | ) |
Definition at line 58 of file dji2mav_bringup.cpp.
| void respondToMissionSetCurrent | ( | uint16_t | param | ) |
Definition at line 82 of file dji2mav_bringup.cpp.
| void respondToWpTarget | ( | const float | mission[][7], |
| uint16_t | beginIdx, | ||
| uint16_t | endIdx | ||
| ) |
Definition at line 88 of file dji2mav_bringup.cpp.
| void velCB | ( | const dji_sdk::Velocity & | msg | ) |
Definition at line 37 of file dji2mav_bringup.cpp.
Definition at line 29 of file dji2mav_bringup.cpp.
Definition at line 30 of file dji2mav_bringup.cpp.