Commit 1270e60a authored by oscar's avatar oscar

提交修改

parent 7c0ef06e
......@@ -216,10 +216,10 @@ void get_camera_left_tolidar_loc(float u, float v, float& x, float& y)
auto srx = (-relatx) * cos(M_PI / 4) + (-relaty) * sin(M_PI / 4);
auto sry = (-relaty) * cos(M_PI / 4) - (-relatx) * sin(M_PI / 4);
srx = srx;
sry = sry;
srx = srx + 5;
sry = sry + 5*( u < 700 ? 1 : (1 + (u - 700)/240));
x = srx ;
y = sry + 20;
y = sry ;
}
TrackingRos::~TrackingRos()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment