dji_hotpoint.hpp
Go to the documentation of this file.
void resetYaw(VehicleCallBack callback=0, UserData userData=0)
reset yaw of hotpoint mission
Definition: dji_hotpoint.cpp:226
HotPoint Mission Initialization settings.
Definition: dji_mission_type.hpp:52
void * UserData
This is used as the datatype for all data arguments in callbacks.
Definition: dji_type.hpp:75
HotpointMission(Vehicle *vehicle=0)
Definition: dji_hotpoint.cpp:36
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 setClockwise(bool isClockwise)
Set hotpoint data for initialization purpose.
Definition: dji_hotpoint.cpp:386
This struct is returned from the DJI::OSDK::HotpointMission::readData blocking API.
Definition: dji_ack.hpp:193
void(* VehicleCallBack)(Vehicle *vehicle, RecvContainer recvFrame, UserData userData)
Function prototype for all callback functions used in the OSDK.
Definition: dji_vehicle_callback.hpp:76
void setHotPoint(float64_t longitude, float64_t latitude, float64_t altitude)
Set hotpoint data for initialization purpose.
Definition: dji_hotpoint.cpp:357
void resume(VehicleCallBack callback=0, UserData userData=0)
resume the hotpoint mission
Definition: dji_hotpoint.cpp:167
APIs for Hotpoint (Point of Interest) Missions.
Definition: dji_hotpoint.hpp:45
HotPointSettings getData() const
getting hotpoint data
Definition: dji_hotpoint.cpp:67
The CallBackHandler struct allows users to encapsulate callbacks and data in one struct.
Definition: dji_vehicle_callback.hpp:83
void setRadius(float64_t meter)
Set hotpoint data for initialization purpose.
Definition: dji_hotpoint.cpp:374
struct for data broadcast, return GPS data
Definition: dji_telemetry.hpp:272
void setCameraView(View view)
Set hotpoint data for initialization purpose.
Definition: dji_hotpoint.cpp:392
void pause(VehicleCallBack callback=0, UserData userData=0)
pause the hotpoint mission
Definition: dji_hotpoint.cpp:135
void setYawMode(YawMode mode)
Set hotpoint data for initialization purpose.
Definition: dji_hotpoint.cpp:398
void getHotpointSettings(VehicleCallBack callback=0, UserData userData=0)
Read hotpoint mission information from flight controller.
Definition: dji_hotpoint.cpp:258
static void startCallback(RecvContainer recvFrame, UserData userData)
A callback function for start non-blocking calls.
Definition: dji_hotpoint.cpp:322
void updateYawRate(YawRate &Data)
update yaw rate and orientation of hotpoint mission
Definition: dji_hotpoint.cpp:199
void setData(HotPointSettings *data)
Set hotpoint data for initialization purpose.
Definition: dji_hotpoint.cpp:350
Enumeration of all telemetry data types, structures and maps.
void initData()
init hotpoint default data
Definition: dji_hotpoint.cpp:49
void start(VehicleCallBack callback=0, UserData userData=0)
start the hotpoint mission
Definition: dji_hotpoint.cpp:73
void setYawRate(float32_t degree)
Set hotpoint data for initialization purpose.
Definition: dji_hotpoint.cpp:380
void setHotpointCallback(VehicleCallBack callback, UserData userData)
Set hotpoint callback.
Definition: dji_hotpoint.cpp:342
Definition: dji_ack.cpp:38
static void getHotpointSettingsCallback(Vehicle *vehiclePtr, RecvContainer recvFrame, UserData userData)
A callback function for read non-blocking calls.
Definition: dji_hotpoint.cpp:280
void stop(VehicleCallBack callback=0, UserData userData=0)
stop the hotpoint mission
Definition: dji_hotpoint.cpp:103
Mission-Base abstract class for DJI OSDK library.
void updateRadius(float32_t meter)
update radius of hotpoint mission
Definition: dji_hotpoint.cpp:219