Public Member Functions | Static Public Member Functions | Private Attributes
DJI::onboardSDK::WayPoint Class Reference

#include <DJI_WayPoint.h>

List of all members.

Public Member Functions

WayPointDatagetIndex () const
WayPointDatagetIndex (size_t pos) const
WayPointInitData getInfo () const
void init (WayPointInitData *Info=0, CallBack callback=0, UserData userData=0)
MissionACK init (WayPointInitData *Info, int timer)
void pause (bool isPause, CallBack callback=0, UserData userData=0)
MissionACK pause (bool isPause, int timer)
void readIdleVelocity (CallBack callback=0, UserData userData=0)
void readIndexData (uint8_t index, CallBack callback=0, UserData userData=0)
void readInitData (CallBack callback=0, UserData userData=0)
void setIndex (WayPointData *value, size_t pos)
void setInfo (const WayPointInitData &value)
void start (CallBack callback=0, UserData userData=0)
MissionACK start (int timer)
void stop (CallBack callback=0, UserData userData=0)
MissionACK stop (int timer)
void updateIdleVelocity (float32_t meterPreSecond, CallBack callback=0, UserData userData=0)
bool uploadIndexData (WayPointData *data, CallBack callback=0, UserData userData=0)
WayPointDataACK uploadIndexData (WayPointData *data, int timer)
bool uploadIndexData (uint8_t pos, CallBack callback=0, UserData userData=0)
 WayPoint (CoreAPI *ControlAPI=0)

Static Public Member Functions

static void idleVelocityCallback (CoreAPI *api, Header *protocolHeader, UserData wpapi)
static void readInitDataCallback (CoreAPI *api, Header *protocolHeader, UserData wpapi)
static void uploadIndexDataCallback (CoreAPI *api, Header *protocolHeader, UserData wpapi)

Private Attributes

CoreAPIapi
WayPointDataindex
WayPointInitData info

Detailed Description

Definition at line 24 of file DJI_WayPoint.h.


Constructor & Destructor Documentation

WayPoint::WayPoint ( CoreAPI ControlAPI = 0)

Definition at line 20 of file DJI_WayPoint.cpp.


Member Function Documentation

Definition at line 196 of file DJI_WayPoint.cpp.

WayPointData * WayPoint::getIndex ( size_t  pos) const

Definition at line 201 of file DJI_WayPoint.cpp.

Definition at line 176 of file DJI_WayPoint.cpp.

void WayPoint::idleVelocityCallback ( CoreAPI api,
Header protocolHeader,
UserData  wpapi 
) [static]

Definition at line 206 of file DJI_WayPoint.cpp.

void WayPoint::init ( WayPointInitData Info = 0,
CallBack  callback = 0,
UserData  userData = 0 
)

Definition at line 34 of file DJI_WayPoint.cpp.

MissionACK WayPoint::init ( WayPointInitData Info,
int  timer 
)

Definition at line 43 of file DJI_WayPoint.cpp.

void WayPoint::pause ( bool  isPause,
CallBack  callback = 0,
UserData  userData = 0 
)
Note:
true for pause, false for resume

Definition at line 99 of file DJI_WayPoint.cpp.

MissionACK WayPoint::pause ( bool  isPause,
int  timer 
)

Definition at line 107 of file DJI_WayPoint.cpp.

void WayPoint::readIdleVelocity ( CallBack  callback = 0,
UserData  userData = 0 
)
Todo:
implement

Definition at line 120 of file DJI_WayPoint.cpp.

void DJI::onboardSDK::WayPoint::readIndexData ( uint8_t  index,
CallBack  callback = 0,
UserData  userData = 0 
)
Todo:
implement
void DJI::onboardSDK::WayPoint::readInitData ( CallBack  callback = 0,
UserData  userData = 0 
)
void WayPoint::readInitDataCallback ( CoreAPI api,
Header protocolHeader,
UserData  wpapi 
) [static]

Definition at line 225 of file DJI_WayPoint.cpp.

void WayPoint::setIndex ( WayPointData value,
size_t  pos 
)

Definition at line 262 of file DJI_WayPoint.cpp.

void WayPoint::setInfo ( const WayPointInitData value)
Todo:
set information for way point

Definition at line 181 of file DJI_WayPoint.cpp.

void WayPoint::start ( CallBack  callback = 0,
UserData  userData = 0 
)

Definition at line 57 of file DJI_WayPoint.cpp.

MissionACK WayPoint::start ( int  timer)

Definition at line 65 of file DJI_WayPoint.cpp.

void WayPoint::stop ( CallBack  callback = 0,
UserData  userData = 0 
)

Definition at line 78 of file DJI_WayPoint.cpp.

MissionACK WayPoint::stop ( int  timer)

Definition at line 86 of file DJI_WayPoint.cpp.

void WayPoint::updateIdleVelocity ( float32_t  meterPreSecond,
CallBack  callback = 0,
UserData  userData = 0 
)

Definition at line 168 of file DJI_WayPoint.cpp.

bool WayPoint::uploadIndexData ( WayPointData data,
CallBack  callback = 0,
UserData  userData = 0 
)
Todo:
uploadAll

Definition at line 128 of file DJI_WayPoint.cpp.

Definition at line 148 of file DJI_WayPoint.cpp.

bool WayPoint::uploadIndexData ( uint8_t  pos,
CallBack  callback = 0,
UserData  userData = 0 
)
Note:
range error

Definition at line 134 of file DJI_WayPoint.cpp.

void WayPoint::uploadIndexDataCallback ( CoreAPI api,
Header protocolHeader,
UserData wpapi  __UNUSED 
) [static]

Definition at line 245 of file DJI_WayPoint.cpp.


Member Data Documentation

Todo:

add uploadAllCallback

add readIndexCallback

Definition at line 66 of file DJI_WayPoint.h.

Definition at line 68 of file DJI_WayPoint.h.

Definition at line 67 of file DJI_WayPoint.h.


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


dji_sdk_lib
Author(s):
autogenerated on Thu Jun 6 2019 17:55:25