mirror of
https://github.com/bjoernellens1/cps_rmp220_support.git
synced 2024-11-23 15:45:08 +00:00
update: changing teleop to twist_mux
This commit is contained in:
parent
c759d6baa7
commit
045c92d222
@ -60,6 +60,21 @@ def generate_launch_description():
|
||||
#namespace = namespace
|
||||
)
|
||||
|
||||
twist_mux_params = os.path.join(get_package_share_directory('cps_rmp220_support'),'config','twist_mux.yaml')
|
||||
twist_mux_node = Node(
|
||||
package="twist_mux",
|
||||
executable="twist_mux",
|
||||
parameters=[twist_mux_params, {'use_sim_time': False}],
|
||||
#remappings=[('/cmd_vel_out','/diffbot_base_controller/cmd_vel_unstamped')]
|
||||
)
|
||||
|
||||
rmp_teleop_node = Node(
|
||||
package='rmp220_teleop',
|
||||
executable='rmp220_teleop',
|
||||
name='rmp220_teleop',
|
||||
)
|
||||
|
||||
|
||||
|
||||
return LaunchDescription([
|
||||
DeclareLaunchArgument(
|
||||
@ -67,5 +82,7 @@ def generate_launch_description():
|
||||
default_value='false',
|
||||
description='Use sim time if true'),
|
||||
joy_node,
|
||||
teleop_node,
|
||||
#teleop_node,
|
||||
rmp_teleop_node,
|
||||
twist_mux_node
|
||||
])
|
Loading…
Reference in New Issue
Block a user