changes for namespacing correctly. Still under construction.

This commit is contained in:
Björn Ellensohn 2023-08-03 11:47:50 +02:00
parent feeaa74fa3
commit 46220ab8f4
4 changed files with 6 additions and 5 deletions

View File

@ -12,8 +12,9 @@ slam_toolbox:
# ROS Parameters
odom_frame: odom
map_frame: map
map_topic: map #tryout?
base_frame: base_footprint
scan_topic: /scan
scan_topic: scan
mode: localization
# if you'd like to immediately start continuing a map at a given pose

View File

@ -207,7 +207,7 @@ local_costmap:
mark_threshold: 0
observation_sources: scan
scan:
topic: /scan
topic: scan
max_obstacle_height: 2.0
clearing: True
marking: True
@ -238,7 +238,7 @@ global_costmap:
enabled: True
observation_sources: scan
scan:
topic: /scan
topic: scan
max_obstacle_height: 2.0
clearing: True
marking: True

View File

@ -10,7 +10,7 @@ def generate_launch_description():
package='segwayrmp',
executable='SmartCar',
name='SmartCar',
remappings=[('/cmd_vel','/cmd_vel_out')],
remappings=[('cmd_vel','cmd_vel_out'), ('/odom','odom'), ('/imu','imu'), ('/bms_fb','bms_fb'), ('/joint_states','joint_states')],
namespace = "/rmp"
)

View File

@ -26,7 +26,7 @@ def generate_launch_description():
executable='rmp220_teleop',
name='rmp220_teleop',
parameters=[joy_params, {'use_sim_time': use_sim_time}],
remappings=[('/cmd_vel','/cmd_vel_joy')],
remappings=[('cmd_vel','cmd_vel_joy')],
namespace = "/rmp"
)