## Specify additional locations of header files
## Your package locations should be listed before other locations
-# include_directories(include)
+include_directories(
+ ${catkin_INCLUDE_DIRS}
+)
## Declare a cpp library
# add_library(wild_thumper
gen = ParameterGenerator()
gen.add("range_sensor_clip", bool_t, 0, "Clip range sensor values to max range", True)
-gen.add("range_sensor_max", double_t, 0, "Range sensor max range", 0.5, 0.4, 6)
+gen.add("range_sensor_max", double_t, 0, "Range sensor max range", 0.5, 0.4, 4)
gen.add("odom_covar_xy", double_t, 0, "Odometry covariance: translation", 1e-2, 1e-6, 1)
gen.add("odom_covar_angle", double_t, 0, "Odometry covariance: rotation", 0.25, 1e-6, 6.2832)
int pathfinder(cv::Mat &frame, float &r, float &phi)
{
- cv::vector<cv::Vec2f> lines;
+ std::vector<cv::Vec2f> lines;
cv::warpPerspective(frame, frame, transformation_matrix, frame.size(), INTER_LINEAR);
Mat roi(frame, Rect(roi_x, roi_y, roi_width, roi_height));