Skip to content

Commit

Permalink
Rename tf-prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfernandez committed Aug 4, 2020
1 parent 3c9a1f2 commit a706bb1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion launch/map.launch
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<arg name="map" default=""/>
<arg name="symlink" default=""/>
<arg name="multiple" default="false"/>
<arg name="tf_prefix" default=""/>
<arg name="robot_namespace" default=""/>

<arg name="octomap" default="false"/>

Expand Down
10 changes: 5 additions & 5 deletions scripts/navigation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,19 @@ fi

if [ $# -lt 7 ]; then
MULTI="false"
TF_PREFIX=""
ROBOT_NAMESPACE=""
else
if [ "$7" = "true" ]; then
if [ $# -lt 8 ]; then
echo "If MULTI is true I need the tf_prefix"
echo "If MULTI is true I need the robot_namespace"
exit 1
else
MULTI="true"
TF_PREFIX=$8
ROBOT_NAMESPACE=$8
fi
else
MULTI="false"
TF_PREFIX=""
ROBOT_NAMESPACE=""
fi
fi

Expand All @@ -75,7 +75,7 @@ if [ ! -f "$HOME/.pal/pose.yaml" ]; then
fi

# Run localization/mapping
roslaunch ${ROBOT}_2dnav_gazebo $STATE.launch localization:=$LOCALIZATION mapping:=$MAPPING map:=$MAP multiple:=$MULTI tf_prefix:=$TF_PREFIX
roslaunch ${ROBOT}_2dnav_gazebo $STATE.launch localization:=$LOCALIZATION mapping:=$MAPPING map:=$MAP multiple:=$MULTI robot_namespace:=$ROBOT_NAMESPACE



0 comments on commit a706bb1

Please sign in to comment.