mirror of
https://github.com/bjoernellens1/cps_rmp220_support.git
synced 2024-11-23 23:55:09 +00:00
update: refactoring for namespaces
This commit is contained in:
parent
46220ab8f4
commit
b3d006af1a
@ -13,12 +13,12 @@ def generate_launch_description():
|
|||||||
use_sim_time = LaunchConfiguration('use_sim_time')
|
use_sim_time = LaunchConfiguration('use_sim_time')
|
||||||
|
|
||||||
joy_params = os.path.join(get_package_share_directory('cps_rmp220_support'),'config','joystick.yaml')
|
joy_params = os.path.join(get_package_share_directory('cps_rmp220_support'),'config','joystick.yaml')
|
||||||
|
namespace = "/rmp"
|
||||||
joy_node = Node(
|
joy_node = Node(
|
||||||
package='joy',
|
package='joy',
|
||||||
executable='joy_node',
|
executable='joy_node',
|
||||||
parameters=[joy_params, {'use_sim_time': use_sim_time}],
|
parameters=[joy_params, {'use_sim_time': use_sim_time}],
|
||||||
namespace = "/rmp"
|
namespace = namespace
|
||||||
)
|
)
|
||||||
|
|
||||||
teleop_node = Node(
|
teleop_node = Node(
|
||||||
@ -27,7 +27,7 @@ def generate_launch_description():
|
|||||||
name='rmp220_teleop',
|
name='rmp220_teleop',
|
||||||
parameters=[joy_params, {'use_sim_time': use_sim_time}],
|
parameters=[joy_params, {'use_sim_time': use_sim_time}],
|
||||||
remappings=[('cmd_vel','cmd_vel_joy')],
|
remappings=[('cmd_vel','cmd_vel_joy')],
|
||||||
namespace = "/rmp"
|
namespace = namespace
|
||||||
)
|
)
|
||||||
|
|
||||||
twist_mux_params = os.path.join(get_package_share_directory('cps_rmp220_support'),'config','twist_mux.yaml')
|
twist_mux_params = os.path.join(get_package_share_directory('cps_rmp220_support'),'config','twist_mux.yaml')
|
||||||
|
Loading…
Reference in New Issue
Block a user