Wrapper for a camera management Payload SDK functions.
More...
#include <camera.h>
Wrapper for a camera management Payload SDK functions.
◆ camera()
camera::camera |
( |
const std::string & |
model_file, |
|
|
mission & |
m |
|
) |
| |
◆ ~camera()
◆ shoot_photo()
Start shooting a photo.
- Parameters
-
[in] | gps | Drone's GPS coordinates |
[in] | drone_attitude | Drone's yaw/roll/pitch |
[in] | gimbal_attitude | Camera gimbal's yaw/roll/pitch |
[in] | waypoint_index | Waypoint index where result should be saved |
- Note
- Thread: action
◆ check_sdcard()
auto camera::check_sdcard |
( |
bool |
debug_launch | ) |
|
Check SDCard for new shot photos.
- Returns
- true New photos were found, and the inference was run
-
false No new files found yet
- Note
- Thread: inference
◆ queue_is_empty()
auto camera::queue_is_empty |
( |
| ) |
const |
Check if processing queue is empty.
- Returns
- true There are no files left to process
The documentation for this class was generated from the following files: