-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
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
kobuki_gazebo_plugins: request for tf prefix of base_footprint #31
Comments
This is always tricky as it probably requires sweeping changes across the whole kobuki-turtlebot workspace. I've no clear idea of what it would entail across the whole workspace...so as I said, tricky and would require significant testing. Indigo would be a better place to experiment making sweeping multi-kobuki tests as we haven't yet officially 'released' there yet and are less likely to disturb people with bugs. |
tf_prefix should work after #34. So I can configure like this https://github.com/robotics-in-concert/concert_services/blob/indigo/concert_service_gazebo/robots/kobuki/kobuki.launch#L13-L29 |
I am trying the roslaunch example that you link to, which is at commit robotics-in-concert/concert_services@ae5a524 at time of writing (so for posterity, your original URL would be https://github.com/robotics-in-concert/concert_services/blob/ae5a524edcb8f99f58f9dad26bc190766731cd64/concert_service_gazebo/robots/kobuki/kobuki.launch#L13-L29). Upon trying the example, I found that the topic names are correctly placed in a namespace according to the My explanation of this behavior is as follows. gazebo_ros_utils, which is now used in the Kobuki Gazebo plugin, assigns to <node pkg="gazebo_ros" ...>
<param name="tf_prefix" value="$(arg name)"/>
</node> |
I just tried the gazebo_concert example in the rocon_tutorials repository and found that the error I describe above does not occur. My previous comment is motivated by an example that does not involve rocon. I am now investigating why the behavior is different. |
Is it possible to instantiate multiple Kobuki models so as to have a single tf tree organized by model names? Organization could be based on prefixes to frame IDs, as with
tf_prefix
in robot_state_publisher. Similarly, how can theodom
topic be pushed into a private namespace?I have not found a way to achieve these. I suspect that my difficulty is due to a bug in how
gazebo_ros_kobuki.cpp
handles naming of the topicodom
and the framebase_footprint
.I am happy to try to fix it and open a pull request, but I want to first be sure this is indeed an issue. Below is a diff for
gazebo_ros_kobuki.cpp
(as of 9f509a5) that is a first step toward correction, though it would be better to provide a parameter regarding whether and what to use as a prefix for frame IDs.The text was updated successfully, but these errors were encountered: