dji_waypoint.hpp
Go to the documentation of this file.
static void getWaypointSettingsCallback(Vehicle *vehicle, RecvContainer recvFrame, UserData userData)
A callback function for reading initialization data non-blocking calls.
Definition: dji_waypoint.cpp:267
void * UserData
This is used as the datatype for all data arguments in callbacks.
Definition: dji_type.hpp:75
void pause(VehicleCallBack callback=0, UserData userData=0)
pause the waypt mission
Definition: dji_waypoint.cpp:164
static void getIndexCallback(Vehicle *vehicle, RecvContainer recvFrame, UserData userData)
A callback function for getting waypoint information for a specified index (non-blocking call)
Definition: dji_waypoint.cpp:328
void stop(VehicleCallBack callback=0, UserData userData=0)
stop the waypt mission
Definition: dji_waypoint.cpp:130
void setInfo(const WayPointInitSettings &value)
setting waypt init data
Definition: dji_waypoint.cpp:362
ACK::WayPointIndex getIndex(uint8_t index, int timer)
Read WayPoint index settings from the flight controller.
Definition: dji_waypoint.cpp:296
void setWaypointCallback(VehicleCallBack callback, UserData userData)
Set waypoint callback.
Definition: dji_waypoint.cpp:601
This struct is returned from all blocking calls, except certain mission calls that have explicit type...
Definition: dji_ack.hpp:146
Mission Base class for commonality between SDK Missions.
Definition: dji_mission_base.hpp:58
void(* VehicleCallBack)(Vehicle *vehicle, RecvContainer recvFrame, UserData userData)
Function prototype for all callback functions used in the OSDK.
Definition: dji_vehicle_callback.hpp:76
This struct is used in the readInitData non-blocking API callback.
Definition: dji_ack.hpp:235
void setWaypointEventCallback(VehicleCallBack callback, UserData userData)
Set waypoint push data callback.
Definition: dji_waypoint.cpp:588
void resume(VehicleCallBack callback=0, UserData userData=0)
resume the waypt mission
Definition: dji_waypoint.cpp:198
This struct is returned from the DJI::OSDK::WaypointMission::waypointIndexDownload blocking API.
Definition: dji_ack.hpp:206
void init(WayPointInitSettings *Info=0, VehicleCallBack callback=0, UserData userData=0)
init waypoint mission settings
Definition: dji_waypoint.cpp:55
This struct is returned from the DJI::OSDK::WaypointMission::updateIdleVelocity blocking API.
Definition: dji_ack.hpp:226
void readIdleVelocity(VehicleCallBack callback=0, UserData userData=0)
getting waypt idle velocity
Definition: dji_waypoint.cpp:463
Waypoint Mission Initialization settings.
Definition: dji_mission_type.hpp:81
bool uploadIndexData(WayPointSettings *data, VehicleCallBack callback=0, UserData userData=0)
setting waypt init data
Definition: dji_waypoint.cpp:408
The CallBackHandler struct allows users to encapsulate callbacks and data in one struct.
Definition: dji_vehicle_callback.hpp:83
void updateIdleVelocity(float32_t meterPreSecond, VehicleCallBack callback=0, UserData userData=0)
setting waypt idle velocity
Definition: dji_waypoint.cpp:497
Waypoint settings for individual waypoints being added to the mission.
Definition: dji_mission_type.hpp:126
void setIndex(WayPointSettings *value, size_t pos)
Definition: dji_waypoint.cpp:379
static void uploadIndexDataCallback(Vehicle *vehicle, RecvContainer recvFrame, UserData userData)
A callback function for uploading waypt index non-blocking calls.
Definition: dji_waypoint.cpp:560
static void idleVelocityCallback(Vehicle *vehicle, RecvContainer recvFrame, UserData userData)
A callback function for setting idle velocity non-blocking calls.
Definition: dji_waypoint.cpp:529
Definition: dji_ack.cpp:38
Mission-Base abstract class for DJI OSDK library.
void start(VehicleCallBack callback=0, UserData userData=0)
start the waypt mission
Definition: dji_waypoint.cpp:96
ACK::WayPointInit getWaypointSettings(int timer)
Read WayPoint mission settings from the flight controller.
Definition: dji_waypoint.cpp:232