#include "camera_config.h"
|
|
|
|
CameraInfo::CameraInfo()
|
{
|
this->bottom_distance = 295;
|
int p1x = 587, p1y = 396;
|
int p2x = 309, p2y = 402;
|
int p3x = 378, p3y = 190;
|
int p4x = 522, p4y = 181;
|
|
|
vector<int> vec1;
|
vector<int> vec2;
|
vector<int> vec3;
|
vector<int> vec4;
|
vec1.push_back(p1x);
|
vec1.push_back(p1y);
|
vec2.push_back(p2x);
|
vec2.push_back(p2y);
|
vec3.push_back(p3x);
|
vec3.push_back(p3y);
|
vec4.push_back(p4x);
|
vec4.push_back(p4y);
|
|
this->vec_ray.push_back(vec1);
|
this->vec_ray.push_back(vec2);
|
this->vec_ray.push_back(vec3);
|
this->vec_ray.push_back(vec4);
|
|
}
|
|
vector<vector<int>> CameraInfo::get_vec_ray()
|
{
|
return this->vec_ray;
|
}
|
|
int get_BASE_DISTANCE()
|
{
|
return BASE_LENGTH;
|
}
|
int get_BASE_LENGTH()
|
{
|
return BASE_DISTANCE;
|
}
|
int get_ANGLE()
|
{
|
return ANGLE;
|
}
|