10 #include <gtest/gtest.h> 14 TEST(NavTests, NavGeomUtils_collision_straight_circ_robot)
27 p0, p1,
R, pObs, colDist);
34 p0, p1,
R, pObs, colDist);
41 p0, p1,
R, pObs, colDist);
48 p0, p1,
R, pObs, colDist);
55 p0, p1,
R, pObs, colDist);
67 p0, p1,
R, pObs, colDist);
74 p0, p1,
R, pObs, colDist);
EXPECT_TRUE(mrpt::system::fileExists(ini_fil))
This base provides a set of functions for maths stuff.
TEST(NavTests, NavGeomUtils_collision_straight_circ_robot)
bool collision_free_dist_segment_circ_robot(const mrpt::math::TPoint2D &p_start, const mrpt::math::TPoint2D &p_end, const double robot_radius, const mrpt::math::TPoint2D &obstacle, double &out_col_dist)
Computes the collision-free distance for a linear segment path between two points, for a circular robot, and a point obstacle (ox,oy).
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
EXPECT_NEAR(out.cam_params.rightCameraPose.x, 0.1194, 0.005)