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

launch warnings none_name, node_executable deprecated #11

Open
slowrunner opened this issue Aug 4, 2021 · 0 comments
Open

launch warnings none_name, node_executable deprecated #11

slowrunner opened this issue Aug 4, 2021 · 0 comments

Comments

@slowrunner
Copy link

slowrunner commented Aug 4, 2021

I'm using ydlidar_ros2_driver_node version 1.0.1 and SDK version 1.0.3 and was getting warnings:

UserWarning: The parameter 'node_name' is deprecated, use 'name' instead
UserWarning: The parameter 'node_name' is deprecated, use 'name' instead

I changed my ydlidar_launch.py to eliminate these warnings:

    driver_node = LifecycleNode(package='ydlidar_ros2_driver',
                                executable='ydlidar_ros2_driver_node',
                                name='ydlidar_ros2_driver_node',
                                output='screen',
                                emulate_tty=True,
                                parameters=[parameter_file],
                                )
     tf2_node = Node(package='tf2_ros',
                    executable='static_transform_publisher',
                    name='static_tf_pub_laser',
                    arguments=['0', '0', '0.02','0', '0', '0', '1','base_link','laser_frame'],
                    )

There is a pull request to perform this: #6

@slowrunner slowrunner reopened this Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant