提交 7bd85fcc 编写于 作者: K kechxu 提交者: Liangliang Zhang

Perception: compile camera_homography

上级 22b29297
......@@ -24,7 +24,6 @@ cc_library(
],
)
cc_library(
name = "convex_hull_2d",
hdrs = [
......@@ -35,6 +34,20 @@ cc_library(
],
)
cc_library(
name = "camera_homography",
srcs = [
"camera_homography.cc",
],
hdrs = [
"camera_homography.h",
],
deps = [
"//modules/perception/base:camera",
"@eigen",
],
)
cc_test(
name = "basic_test",
size = "small",
......
......@@ -14,6 +14,7 @@
* limitations under the License.
*****************************************************************************/
#include "modules/perception/common/geometry/camera_homography.h"
#include <limits>
namespace apollo {
......
......@@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*****************************************************************************/
#ifndef PERCEPTION_COMMON_GEOMETRY_CAMERA_HOMOGRAPHY_H_
#define PERCEPTION_COMMON_GEOMETRY_CAMERA_HOMOGRAPHY_H_
#ifndef MODULES_PERCEPTION_COMMON_GEOMETRY_CAMERA_HOMOGRAPHY_H_
#define MODULES_PERCEPTION_COMMON_GEOMETRY_CAMERA_HOMOGRAPHY_H_
#include <Eigen/Core>
#include <Eigen/Geometry>
#include "Eigen/Core"
#include "Eigen/Geometry"
#include "modules/perception/base/camera.h"
namespace apollo {
......@@ -44,4 +44,4 @@ bool IsCamerasFieldOverlap(const base::PinholeCameraModel& from_camera,
} // namespace perception
} // namespace apollo
#endif // PERCEPTION_COMMON_GEOMETRY_CAMERA_HOMOGRAPHY_H_
#endif // MODULES_PERCEPTION_COMMON_GEOMETRY_CAMERA_HOMOGRAPHY_H_
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册