File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,8 @@ install(FILES fiducials.rviz
81
81
DESTINATION share/${PROJECT_NAME}
82
82
)
83
83
84
+ install (DIRECTORY DESTINATION $ENV{HOME} /.ros/slam )
85
+
84
86
###########
85
87
## Tests ##
86
88
###########
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