-
Notifications
You must be signed in to change notification settings - Fork 2
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
fix for real kairos #11
base: ros2-devel
Are you sure you want to change the base?
Conversation
ggari-robotnik
commented
Nov 20, 2024
- modified launcher
- put wheels in the right directions
- added kairos urdf without arm
- modified launcher - put wheels in the right directions - added kairos urdf without arm
@@ -98,7 +98,7 @@ def generate_launch_description(): | |||
FindExecutable(name="xacro"), | |||
" ", | |||
params['robot_xacro_path'], | |||
" prefix:=''", | |||
" prefix:='robot_'", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the prefix is provided by robot_state_publisher node, not in urdf.
@@ -113,7 +113,7 @@ def generate_launch_description(): | |||
{ | |||
'robot_description': robot_description_param, | |||
'publish_frequency': 100.0, | |||
'frame_prefix': [params['robot_id'], '/'], | |||
# 'frame_prefix': [params['robot_id'], '/'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
currently for all robots in ros2, here is where is defined the prefix
<xacro:if value="$(arg ros_planar_move_plugin)"> | ||
<xacro:omni_steering prefix="$(arg prefix)" publish_tf="true"/> | ||
</xacro:if> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
im not sure if these lines work in ros2, is this tested in gazebo? @cgasconb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've modified the xacro to use the ros2 plugin, it worked during the tests