ardrone_sdk.h
Go to the documentation of this file.
1 
25 #ifndef ARDRONE_AUTONOMY_ARDRONE_SDK_H
26 #define ARDRONE_AUTONOMY_ARDRONE_SDK_H
27 
28 // TODO(mani-monaj): Move these two defines to CMake
29 #ifndef FFMPEG_SUPPORT
30 #define FFMPEG_SUPPORT
31 #endif
32 
33 #ifndef USE_LINUX
34 #define USE_LINUX
35 #endif
36 
37 // TODO(mani-monaj): Research more on this issue, move the flag to CMake
38 // The FFMPEG library INT macros fix
39 #if defined __cplusplus
40 # define __STDC_CONSTANT_MACROS
41 #endif
42 
43 #include <stdint.h>
44 
45 #ifndef UINT64_C
46 #define UINT64_C(c) (c ## ULL)
47 #endif
48 
49 extern "C"
50 {
51 #include <config.h>
52 
53 #include <utils/ardrone_gen_ids.h>
54 #include <ardrone_tool/ardrone_version.h>
55 #include <ardrone_tool/ardrone_tool.h>
56 #include <ardrone_tool/ardrone_tool_configuration.h>
57 #include <ardrone_tool/Com/config_com.h>
58 #include <ardrone_tool/UI/ardrone_input.h>
59 #include <ardrone_tool/Video/video_com_stage.h>
60 #include <ardrone_tool/Control/ardrone_control.h>
61 #include <ardrone_tool/Navdata/ardrone_navdata_client.h>
62 
63 #include <ardrone_tool/Video/video_stage.h>
64 #include <ardrone_tool/Video/video_recorder_pipeline.h>
65 #include <ardrone_tool/Video/video_stage_latency_estimation.h>
66 
67  extern video_decoder_config_t vec;
68 }
69 
71 
72 #define NB_DRIVER_POST_STAGES 10
73 
75 
76 extern const navdata_unpacked_t* shared_raw_navdata_ptr;
78 
79 extern vp_os_mutex_t navdata_lock;
80 extern vp_os_mutex_t video_lock;
81 extern vp_os_mutex_t twist_lock;
82 
83 extern int32_t looprate;
84 extern bool realtime_navdata;
85 extern bool realtime_video;
86 
87 extern int32_t should_exit;
88 
89 #endif // ARDRONE_AUTONOMY_ARDRONE_SDK_H
vp_os_mutex_t video_lock
Definition: ardrone_sdk.cpp:34
vp_os_mutex_t navdata_lock
Definition: ardrone_sdk.cpp:33
video_decoder_config_t vec
int32_t looprate
Definition: ardrone_sdk.cpp:41
const navdata_unpacked_t * shared_raw_navdata_ptr
Definition: ardrone_sdk.cpp:30
bool realtime_video
Definition: ardrone_sdk.cpp:43
vp_os_mutex_t twist_lock
Definition: ardrone_sdk.cpp:35
bool realtime_navdata
Definition: ardrone_sdk.cpp:42
ros::Time shared_navdata_receive_time
Definition: ardrone_sdk.cpp:31
ARDroneDriver * ros_driver
Definition: ardrone_sdk.cpp:39
int32_t should_exit
Definition: ardrone_sdk.cpp:45


ardrone_autonomy
Author(s): Mani Monajjemi, Mani Monajjemi
autogenerated on Mon Jun 10 2019 12:39:49