Skip to content

Commit

Permalink
deleted unused parameter, fix ros log param name
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-ch committed Jun 17, 2024
1 parent 07a392d commit c55cccb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion smb_exploration/launch/frontier/smb_rss_frontier.launch
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
<rosparam file="$(find smb_navigation)/config/move_base_costmaps/costmap_common_params.yaml" command="load" ns="global_costmap" />
<rosparam file="$(find smb_exploration)/config/global_costmap_exploration.yaml" command="load"/>
<param name="global_costmap/global_frame" value="$(arg global_frame)"/>
<param name="global_costmap/robot_base_frame" value="$(arg base_frame)"/>
<param name="global_costmap/scan_topic" value="$(arg scan_topic)"/>
<param name="global_costmap/occ_topic" value="/map"/>
</node>
Expand Down
4 changes: 2 additions & 2 deletions smb_exploration/src/ExplorationMap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ ExplorationMap::ExplorationMap(ros::NodeHandle nh)
ROS_INFO_STREAM("Creating exploration map ... ...");
std::string scan_topic;
if(!nh_.getParam("global_costmap/scan_topic", scan_topic)){
ROS_ERROR("Could not parse the parameter scan_topic");
ROS_ERROR("Could not parse the parameter global_costmap/scan_topic");
return;
}

std::string occ_topic;
if(!nh_.getParam("global_costmap/occ_topic", occ_topic)){
ROS_ERROR("Could not parse the parameter occ_topic");
ROS_ERROR("Could not parse the parameter global_costmap/occ_topic");
return;
}

Expand Down

0 comments on commit c55cccb

Please sign in to comment.