-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
In launch (py) files, old-style arguments are deprecated, parameters should be used, but the following does not work:
parameters=[{'translation.x': 697237.0, 'translation.y': 5285644.0, 'translation.z': 0.0, 'rotation.x': 0.0, 'rotation.y': 0.0, 'rotation.z': 0.0, 'rotation.w': 1.0, 'frame_id': 'map', 'child_frame_id': 'map_gyor_0'}]
Arguments work, but are deprecated, example:
lexus_bringup/launch/tf_static.launch.py
Lines 12 to 21 in 603e9e1
Node( | |
package='tf2_ros', | |
#namespace='lexus3', | |
executable='static_transform_publisher', | |
name='gyor0_tf_publisher', | |
output='screen', | |
## Old-style arguments are deprecated, parameters should be used, but this does not work TODO | |
arguments=['697237.0', '5285644.0', '0.0','0', '0', '0', '1','map','map_gyor_0'], | |
#parameters=[{'translation.x': 697237.0, 'translation.y': 5285644.0, 'translation.z': 0.0, 'rotation.x': 0.0, 'rotation.y': 0.0, 'rotation.z': 0.0, 'rotation.w': 1.0, 'frame_id': 'map', 'child_frame_id': 'map_gyor_0'}] | |
), |