File tree Expand file tree Collapse file tree 2 files changed +3
-13
lines changed Expand file tree Collapse file tree 2 files changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,6 @@ find_package(builtin_interfaces REQUIRED)
23
23
find_package (rosidl_default_generators REQUIRED )
24
24
25
25
find_package (OpenCV REQUIRED )
26
- find_package (Boost REQUIRED COMPONENTS
27
- filesystem
28
- )
29
-
30
26
31
27
set (DEPENDENCIES
32
28
rclcpp
@@ -60,7 +56,7 @@ add_executable(fiducial_slam_node #TODO ROS2PORT should be "fiducial_slam" but t
60
56
src/transform_with_variance.cpp
61
57
src/observation.cpp )
62
58
63
- target_link_libraries (fiducial_slam_node ${Boost_LIBRARIES} )
59
+ target_link_libraries (fiducial_slam_node )
64
60
65
61
ament_target_dependencies (fiducial_slam_node ${DEPENDENCIES} OpenCV )
66
62
@@ -81,6 +77,8 @@ install(FILES fiducials.rviz
81
77
DESTINATION share/${PROJECT_NAME}
82
78
)
83
79
80
+ install (DIRECTORY DESTINATION $ENV{HOME} /.ros/slam )
81
+
84
82
###########
85
83
## Tests ##
86
84
###########
Original file line number Diff line number Diff line change 44
44
#include < geometry_msgs/msg/transform_stamped.hpp>
45
45
#include < visualization_msgs/msg/marker.hpp>
46
46
47
- #include < boost/filesystem.hpp>
48
-
49
-
50
47
static double systematic_error = 0.01 ;
51
48
52
49
// Update a fiducial position in map with a new estimate
@@ -123,11 +120,6 @@ Map::Map(rclcpp::Node::SharedPtr &nh)
123
120
multiErrorThreshold = nh->declare_parameter (" multi_error_theshold" , -1.0 );
124
121
mapFilename = nh->declare_parameter (" map_file" , std::string (getenv (" HOME" )) + " /.ros/slam/map.txt" );
125
122
126
-
127
- boost::filesystem::path mapPath (mapFilename);
128
- boost::filesystem::path dir = mapPath.parent_path ();
129
- boost::filesystem::create_directories (dir);
130
-
131
123
std::string initialMap;
132
124
initialMap = nh->declare_parameter (" initial_map_file" , " " );
133
125
You can’t perform that action at this time.
0 commit comments