![]() |
ZED Open Capture
v0.6.0
Low level camera driver for the ZED stereo camera family
|
Go to the source code of this file.
Functions | |
void | getSensorThreadFunc (sl_oc::sensors::SensorCapture *sensCap) |
int | main (int argc, char *argv[]) |
Variables | |
std::mutex | imuMutex |
std::string | imuTsStr |
std::string | imuAccelStr |
std::string | imuGyroStr |
bool | sensThreadStop =false |
uint64_t | mcu_sync_ts =0 |
void getSensorThreadFunc | ( | sl_oc::sensors::SensorCapture * | sensCap | ) |
Definition at line 233 of file zed_oc_sync_example.cpp.
References sl_oc::sensors::data::Imu::aX, sl_oc::sensors::data::Imu::aY, sl_oc::sensors::data::Imu::aZ, sl_oc::sensors::SensorCapture::getLastIMUData(), sl_oc::sensors::data::Imu::gX, sl_oc::sensors::data::Imu::gY, sl_oc::sensors::data::Imu::gZ, imuAccelStr, imuGyroStr, imuMutex, imuTsStr, mcu_sync_ts, sl_oc::sensors::data::Imu::NEW_VAL, sensThreadStop, sl_oc::sensors::data::Imu::sync, sl_oc::sensors::data::Imu::timestamp, and sl_oc::sensors::data::Imu::valid.
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 50 of file zed_oc_sync_example.cpp.
References sl_oc::video::Frame::data, sl_oc::video::VideoCapture::enableSensorSync(), sl_oc::ERROR, sl_oc::video::VideoParams::fps, sl_oc::video::FPS_30, sl_oc::video::Frame::frame_id, frameBGR, frameYUV, sl_oc::video::VideoCapture::getFrameSize(), sl_oc::video::VideoCapture::getLastFrame(), getSensorThreadFunc(), sl_oc::sensors::SensorCapture::getSerialNumber(), sl_oc::video::VideoCapture::getSerialNumber(), sl_oc::video::HD1080, sl_oc::video::HD2K, sl_oc::video::HD720, sl_oc::video::Frame::height, imuAccelStr, imuGyroStr, imuMutex, imuTsStr, sl_oc::sensors::SensorCapture::initializeSensors(), sl_oc::video::VideoCapture::initializeVideo(), mcu_sync_ts, params, sl_oc::video::VideoParams::res, sensThreadStop, sl_oc::video::Frame::timestamp, sl_oc::video::VideoParams::verbose, sl_oc::video::VGA, and sl_oc::video::Frame::width.
std::string imuAccelStr |
Definition at line 42 of file zed_oc_sync_example.cpp.
Referenced by getSensorThreadFunc(), and main().
std::string imuGyroStr |
Definition at line 43 of file zed_oc_sync_example.cpp.
Referenced by getSensorThreadFunc(), and main().
std::mutex imuMutex |
Definition at line 40 of file zed_oc_sync_example.cpp.
Referenced by getSensorThreadFunc(), and main().
std::string imuTsStr |
Definition at line 41 of file zed_oc_sync_example.cpp.
Referenced by getSensorThreadFunc(), and main().
uint64_t mcu_sync_ts =0 |
Definition at line 46 of file zed_oc_sync_example.cpp.
Referenced by getSensorThreadFunc(), and main().
bool sensThreadStop =false |
Definition at line 45 of file zed_oc_sync_example.cpp.
Referenced by getSensorThreadFunc(), and main().