video.h
Go to the documentation of this file.
1 
25 #ifndef ARDRONE_AUTONOMY_VIDEO_H
26 #define ARDRONE_AUTONOMY_VIDEO_H
27 
30 #include <stdint.h>
31 
32 // The maximum memory allocation
33 #define MAX_STREAM_WIDTH 640
34 #define MAX_STREAM_HEIGHT 360
35 
38 // Drone 1 Static Stream Size & PIP Stuff
39 // PIP is not supported in AR-Drone SDK 2.0
40 #define D1_STREAM_WIDTH 320
41 #define D1_STREAM_HEIGHT 240
42 
43 // Vertical Camera standalone
44 #define D1_VERTSTREAM_WIDTH 174
45 #define D1_VERTSTREAM_HEIGHT 144
46 
47 // Vertical Camera in PIP
48 #define D1_MODE2_PIP_WIDTH 87 // Huh?
49 #define D1_MODE2_PIP_HEIGHT 72
50 
51 // Horizontal Camera in PIP
52 #define D1_MODE3_PIP_WIDTH 58
53 #define D1_MODE3_PIP_HEIGHT 42
54 
57 // NO PIP, Both camera streams provide the same reseloution: Simple!
58 #define D2_STREAM_WIDTH 640
59 #define D2_STREAM_HEIGHT 360
60 
61 extern video_com_multisocket_config_t icc;
62 extern const vp_api_stage_funcs_t vp_stages_export_funcs;
63 extern unsigned char buffer[]; // size STREAM_WIDTH * STREAM_HEIGHT * 3
64 extern int32_t current_frame_id; // this will be incremented for every frame
65 extern int32_t current_navdata_id;
67 
68 #endif // ARDRONE_AUTONOMY_VIDEO_H
unsigned char buffer[]
int32_t current_navdata_id
Definition: ardrone_sdk.cpp:37
ros::Time shared_video_receive_time
Definition: video.cpp:32
const vp_api_stage_funcs_t vp_stages_export_funcs
Definition: video.cpp:61
int32_t current_frame_id
Definition: video.cpp:31
video_com_multisocket_config_t icc


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