Public Member Functions | Private Member Functions | Private Attributes
DJISDKMission Class Reference

#include <dji_sdk_mission.h>

List of all members.

Public Member Functions

 DJISDKMission (ros::NodeHandle &nh)
void mission_event_callback (uint8_t *buf, uint8_t len)
void mission_status_callback (uint8_t *buf, uint8_t len)

Private Member Functions

void init_missions (ros::NodeHandle &nh)
bool mission_cancel_callback (dji_sdk::MissionCancel::Request &request, dji_sdk::MissionCancel::Response &response)
bool mission_fm_set_target_callback (dji_sdk::MissionFmSetTarget::Request &request, dji_sdk::MissionFmSetTarget::Response &response)
bool mission_fm_upload_callback (dji_sdk::MissionFmUpload::Request &request, dji_sdk::MissionFmUpload::Response &response)
bool mission_hp_download_callback (dji_sdk::MissionHpDownload::Request &request, dji_sdk::MissionHpDownload::Response &response)
bool mission_hp_reset_yaw_callback (dji_sdk::MissionHpResetYaw::Request &request, dji_sdk::MissionHpResetYaw::Response &response)
bool mission_hp_set_radius_callback (dji_sdk::MissionHpSetRadius::Request &request, dji_sdk::MissionHpSetRadius::Response &response)
bool mission_hp_set_speed_callback (dji_sdk::MissionHpSetSpeed::Request &request, dji_sdk::MissionHpSetSpeed::Response &response)
bool mission_hp_upload_callback (dji_sdk::MissionHpUpload::Request &request, dji_sdk::MissionHpUpload::Response &response)
bool mission_pause_callback (dji_sdk::MissionPause::Request &request, dji_sdk::MissionPause::Response &response)
bool mission_start_callback (dji_sdk::MissionStart::Request &request, dji_sdk::MissionStart::Response &response)
bool mission_wp_download_callback (dji_sdk::MissionWpDownload::Request &request, dji_sdk::MissionWpDownload::Response &response)
bool mission_wp_get_speed_callback (dji_sdk::MissionWpGetSpeed::Request &request, dji_sdk::MissionWpGetSpeed::Response &response)
bool mission_wp_set_speed_callback (dji_sdk::MissionWpSetSpeed::Request &request, dji_sdk::MissionWpSetSpeed::Response &response)
bool mission_wp_upload_callback (dji_sdk::MissionWpUpload::Request &request, dji_sdk::MissionWpUpload::Response &response)

Private Attributes

MissionType current_type = MissionType::EMPTY
dji_sdk::MissionFollowmeTask followme_task
dji_sdk::MissionHotpointTask hotpoint_task
ros::ServiceServer mission_cancel_service
dji_sdk::MissionPushInfo mission_event
ros::Publisher mission_event_publisher
ros::ServiceServer mission_fm_set_target_service
ros::ServiceServer mission_fm_upload_service
ros::ServiceServer mission_hp_download_service
ros::ServiceServer mission_hp_reset_yaw_service
ros::ServiceServer mission_hp_set_radius_service
ros::ServiceServer mission_hp_set_speed_service
ros::ServiceServer mission_hp_upload_service
ros::ServiceServer mission_pause_service
ros::ServiceServer mission_start_service
dji_sdk::MissionPushInfo mission_status
ros::Publisher mission_status_publisher
ros::ServiceServer mission_wp_download_service
ros::ServiceServer mission_wp_get_speed_service
ros::ServiceServer mission_wp_set_speed_service
ros::ServiceServer mission_wp_upload_service
dji_sdk::MissionWaypointTask waypoint_task

Detailed Description

Definition at line 30 of file dji_sdk_mission.h.


Constructor & Destructor Documentation

Definition at line 350 of file dji_sdk_node_mission.cpp.


Member Function Documentation

void DJISDKMission::init_missions ( ros::NodeHandle nh) [inline, private]

Definition at line 89 of file dji_sdk_mission.h.

bool DJISDKMission::mission_cancel_callback ( dji_sdk::MissionCancel::Request &  request,
dji_sdk::MissionCancel::Response &  response 
) [private]

Definition at line 123 of file dji_sdk_node_mission.cpp.

void DJISDKMission::mission_event_callback ( uint8_t *  buf,
uint8_t  len 
)

Definition at line 32 of file dji_sdk_node_mission.cpp.

bool DJISDKMission::mission_fm_set_target_callback ( dji_sdk::MissionFmSetTarget::Request &  request,
dji_sdk::MissionFmSetTarget::Response &  response 
) [private]

Definition at line 332 of file dji_sdk_node_mission.cpp.

bool DJISDKMission::mission_fm_upload_callback ( dji_sdk::MissionFmUpload::Request &  request,
dji_sdk::MissionFmUpload::Response &  response 
) [private]

Definition at line 319 of file dji_sdk_node_mission.cpp.

bool DJISDKMission::mission_hp_download_callback ( dji_sdk::MissionHpDownload::Request &  request,
dji_sdk::MissionHpDownload::Response &  response 
) [private]

Definition at line 166 of file dji_sdk_node_mission.cpp.

bool DJISDKMission::mission_hp_reset_yaw_callback ( dji_sdk::MissionHpResetYaw::Request &  request,
dji_sdk::MissionHpResetYaw::Response &  response 
) [private]

Definition at line 305 of file dji_sdk_node_mission.cpp.

bool DJISDKMission::mission_hp_set_radius_callback ( dji_sdk::MissionHpSetRadius::Request &  request,
dji_sdk::MissionHpSetRadius::Response &  response 
) [private]

Definition at line 291 of file dji_sdk_node_mission.cpp.

bool DJISDKMission::mission_hp_set_speed_callback ( dji_sdk::MissionHpSetSpeed::Request &  request,
dji_sdk::MissionHpSetSpeed::Response &  response 
) [private]

Definition at line 277 of file dji_sdk_node_mission.cpp.

bool DJISDKMission::mission_hp_upload_callback ( dji_sdk::MissionHpUpload::Request &  request,
dji_sdk::MissionHpUpload::Response &  response 
) [private]

Definition at line 264 of file dji_sdk_node_mission.cpp.

bool DJISDKMission::mission_pause_callback ( dji_sdk::MissionPause::Request &  request,
dji_sdk::MissionPause::Response &  response 
) [private]

Definition at line 95 of file dji_sdk_node_mission.cpp.

bool DJISDKMission::mission_start_callback ( dji_sdk::MissionStart::Request &  request,
dji_sdk::MissionStart::Response &  response 
) [private]

Definition at line 46 of file dji_sdk_node_mission.cpp.

void DJISDKMission::mission_status_callback ( uint8_t *  buf,
uint8_t  len 
)

Definition at line 17 of file dji_sdk_node_mission.cpp.

bool DJISDKMission::mission_wp_download_callback ( dji_sdk::MissionWpDownload::Request &  request,
dji_sdk::MissionWpDownload::Response &  response 
) [private]

Definition at line 149 of file dji_sdk_node_mission.cpp.

bool DJISDKMission::mission_wp_get_speed_callback ( dji_sdk::MissionWpGetSpeed::Request &  request,
dji_sdk::MissionWpGetSpeed::Response &  response 
) [private]

Definition at line 238 of file dji_sdk_node_mission.cpp.

bool DJISDKMission::mission_wp_set_speed_callback ( dji_sdk::MissionWpSetSpeed::Request &  request,
dji_sdk::MissionWpSetSpeed::Response &  response 
) [private]

Definition at line 251 of file dji_sdk_node_mission.cpp.

bool DJISDKMission::mission_wp_upload_callback ( dji_sdk::MissionWpUpload::Request &  request,
dji_sdk::MissionWpUpload::Response &  response 
) [private]

Definition at line 183 of file dji_sdk_node_mission.cpp.


Member Data Documentation

Definition at line 71 of file dji_sdk_mission.h.

dji_sdk::MissionFollowmeTask DJISDKMission::followme_task [private]

Definition at line 38 of file dji_sdk_mission.h.

dji_sdk::MissionHotpointTask DJISDKMission::hotpoint_task [private]

Definition at line 37 of file dji_sdk_mission.h.

Definition at line 52 of file dji_sdk_mission.h.

dji_sdk::MissionPushInfo DJISDKMission::mission_event [private]

Definition at line 34 of file dji_sdk_mission.h.

Definition at line 47 of file dji_sdk_mission.h.

Definition at line 69 of file dji_sdk_mission.h.

Definition at line 68 of file dji_sdk_mission.h.

Definition at line 62 of file dji_sdk_mission.h.

Definition at line 65 of file dji_sdk_mission.h.

Definition at line 64 of file dji_sdk_mission.h.

Definition at line 63 of file dji_sdk_mission.h.

Definition at line 61 of file dji_sdk_mission.h.

Definition at line 51 of file dji_sdk_mission.h.

Definition at line 50 of file dji_sdk_mission.h.

dji_sdk::MissionPushInfo DJISDKMission::mission_status [private]

Definition at line 33 of file dji_sdk_mission.h.

Definition at line 46 of file dji_sdk_mission.h.

Definition at line 56 of file dji_sdk_mission.h.

Definition at line 58 of file dji_sdk_mission.h.

Definition at line 57 of file dji_sdk_mission.h.

Definition at line 55 of file dji_sdk_mission.h.

dji_sdk::MissionWaypointTask DJISDKMission::waypoint_task [private]

Definition at line 36 of file dji_sdk_mission.h.


The documentation for this class was generated from the following files:


dji_sdk
Author(s): Botao Hu
autogenerated on Thu Jun 6 2019 17:55:30