Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TF static old style arguments #5

Open
horverno opened this issue Jan 24, 2023 · 0 comments
Open

TF static old style arguments #5

horverno opened this issue Jan 24, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request later

Comments

@horverno
Copy link
Member

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:

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'}]
),

@horverno horverno added enhancement New feature or request later labels Jan 24, 2023
@horverno horverno self-assigned this Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request later
Projects
Status: Todo
Development

No branches or pull requests

1 participant