diff --git a/src/rove_bringup/launch/rove_controller_bluetooth.launch.py b/src/rove_bringup/launch/rove_controller_bluetooth.launch.py index 43dc67e..3c4a870 100644 --- a/src/rove_bringup/launch/rove_controller_bluetooth.launch.py +++ b/src/rove_bringup/launch/rove_controller_bluetooth.launch.py @@ -25,7 +25,9 @@ def generate_launch_description(): parameters=[teleop_joy_params_file], remappings=[ ('/joy', '/joy'), - # ('/cmd_vel', '/model/rove/cmd_vel') + # Remap needs to happen here since the diff_drive_controller node + # is started via a spawner, thus remappings do not work on it + ('/cmd_vel', '/diff_drive_controller/cmd_vel_unstamped') ], ), Node( diff --git a/src/rove_bringup/launch/rove_controller_usb.launch.py b/src/rove_bringup/launch/rove_controller_usb.launch.py index 61153ce..9d34d47 100644 --- a/src/rove_bringup/launch/rove_controller_usb.launch.py +++ b/src/rove_bringup/launch/rove_controller_usb.launch.py @@ -25,6 +25,9 @@ def generate_launch_description(): parameters=[teleop_joy_params_file], remappings=[ ('/joy', '/joy'), + # Remap needs to happen here since the diff_drive_controller node + # is started via a spawner, thus remappings do not work on it + ('/cmd_vel', '/diff_drive_controller/cmd_vel_unstamped') ], ), Node( diff --git a/src/rove_description/urdf/rove.ros2_control.urdf.xacro b/src/rove_description/urdf/rove.ros2_control.urdf.xacro index 45461da..a061319 100644 --- a/src/rove_description/urdf/rove.ros2_control.urdf.xacro +++ b/src/rove_description/urdf/rove.ros2_control.urdf.xacro @@ -1,14 +1,33 @@ - + + + ${nodeid} + + + + + + + + + + + + + + + + + - + - + - + @@ -18,91 +37,22 @@ odrive_ros2_control_plugin/ODriveHardwareInterface can0 - - 23 - - - - - - - 24 - - - - - - - - 21 - - - - - - - 22 - - - - - - - - + + + + - - + + + + + - - - \ No newline at end of file diff --git a/src/rove_description/urdf/rove.urdf.xacro b/src/rove_description/urdf/rove.urdf.xacro index 3dae78e..82334f1 100644 --- a/src/rove_description/urdf/rove.urdf.xacro +++ b/src/rove_description/urdf/rove.urdf.xacro @@ -42,7 +42,8 @@ - + +