We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The tf_prefix is not used consistently in the current implementation. The only case, where it is actually resolved is
slam_gmapping/gmapping/src/slam_gmapping.cpp
Line 765 in 5a707e0
Line 802 in b916ea2
The two possible solutions are:
If someone knows another solution to use gmapping when the tf_prefix is set, I would appreciate this, too.
The text was updated successfully, but these errors were encountered:
I think you can still use the tf_prefix, but change absolute frame names for all the frames Gmapping needs, such as
<param name="odom_frame" value="/$(arg robot_name)/odom"/> <param name="base_frame" value="/$(arg robot_name)/base_link"/> <param name="map_frame" value="/$(arg robot_name)/map"/>
in the main launch file, you can use tf_prefix normally:
<group ns="/robot_1"> <param name="tf_prefix" value="robot_1" /> <include file="$(find jackal_gazebo)/launch/spawn_jackal.launch"> <arg name="x" value="0" /> <arg name="y" value="0" /> <arg name="z" value="0.0" /> <arg name="yaw" value="0" /> <arg name="config" value="$(arg config)" /> <arg name="joystick" value="$(arg joystick)" /> <arg name="robot_name" value="robot_1"/> </include> <include file="$(find jackal_navigation)/launch/include/multi_map_move.launch"> <arg name="robot_name" value="robot_1"/> </include> </group>
when you use absolute frame names, you can change anything you want, and don't need to change the source code. Hope this can help you.
Sorry, something went wrong.
No branches or pull requests
The tf_prefix is not used consistently in the current implementation. The only case, where it is actually resolved is
slam_gmapping/gmapping/src/slam_gmapping.cpp
Line 765 in 5a707e0
so the frame id of the published maps actually includes the prefix, while the transforms of the map frame are published without the prefix:
slam_gmapping/gmapping/src/slam_gmapping.cpp
Line 802 in b916ea2
So it's not possible to visualize the resulting map if using tf_prefix.
The two possible solutions are:
If someone knows another solution to use gmapping when the tf_prefix is set, I would appreciate this, too.
The text was updated successfully, but these errors were encountered: