Commit a9d2257d authored by oscar's avatar oscar

提交更新

parent c8026663
......@@ -143,12 +143,12 @@ void get_camera_tolidar_loc(float u, float v, float& x, float& y)
-0.051827855408, -0.009013481438, 0.998615324497;
Eigen::Vector3d T;
T << -886.266723632813, 556.056396484375, -0.398632347584;
auto R_inv = R.inverse();
//auto R_inv = R.inverse();
auto P_ = R_inv * (trans_pos - T);
//auto P_ = R_inv * (trans_pos - T);
x = P_[0] - 3.5;
y = P_[1] + 0.4;
//x = P_[0] - 3.5;
//y = P_[1] + 0.4;
}
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