整理代码
This commit is contained in:
@@ -25,8 +25,6 @@ extern McuData mcu_data;
|
|||||||
|
|
||||||
void uartReceive(Serial *pSerial);
|
void uartReceive(Serial *pSerial);
|
||||||
|
|
||||||
bool checkReconnect(bool is_camera_0_connect, bool is_camera_1_connect);
|
|
||||||
|
|
||||||
bool checkReconnect(bool is_camera_connect);
|
bool checkReconnect(bool is_camera_connect);
|
||||||
|
|
||||||
void saveVideos(const cv::Mat &src);
|
void saveVideos(const cv::Mat &src);
|
||||||
@@ -35,10 +33,9 @@ void showOrigin(const cv::Mat &src);
|
|||||||
|
|
||||||
void extract(cv::Mat &src);
|
void extract(cv::Mat &src);
|
||||||
|
|
||||||
double getTimeIntervalms(const systime &now, const systime &last);
|
|
||||||
|
|
||||||
double getPointLength(const cv::Point2f &p);
|
double getPointLength(const cv::Point2f &p);
|
||||||
|
|
||||||
|
// 循环队列
|
||||||
template<class type, int length>
|
template<class type, int length>
|
||||||
class RoundQueue {
|
class RoundQueue {
|
||||||
private:
|
private:
|
||||||
|
|||||||
@@ -1,11 +1,9 @@
|
|||||||
//
|
//
|
||||||
// Created by zhikun on 18-11-7.
|
// Created by zhikun on 18-11-7.
|
||||||
// used for testing double cameras
|
|
||||||
// camera0 is left camera, camera1 is right camera.
|
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef VIDEO_TEST1_CAMERA_WRAPPER_H
|
#ifndef _CAMERA_WRAPPER_H_
|
||||||
#define VIDEO_TEST1_CAMERA_WRAPPER_H
|
#define _CAMERA_WRAPPER_H_
|
||||||
|
|
||||||
#include <additions.h>
|
#include <additions.h>
|
||||||
#include <opencv2/core/core.hpp>
|
#include <opencv2/core/core.hpp>
|
||||||
@@ -54,4 +52,4 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif //VIDEO_TEST1_CAMERA_WRAPPER_H
|
#endif /* _CAMERA_WRAPPER_H_ */
|
||||||
|
|||||||
Reference in New Issue
Block a user