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 Error #3

Open
GauZen opened this issue Sep 23, 2020 · 1 comment
Open

Launch Error #3

GauZen opened this issue Sep 23, 2020 · 1 comment

Comments

@GauZen
Copy link

GauZen commented Sep 23, 2020

Hi, I meet this problem when i run the following command and I have tried some methods but no one works.

ros2 launch ydlidar_ros2_driver ydlidar_launch.py

[INFO] [launch]: All log files can be found below /home/wlw/.ros/log/2020-09-23-14-45-56-344114-ubuntu-19979
[INFO] [launch]: Default logging verbosity is set to INFO
[ERROR] [launch]: Caught exception in launch (see debug for traceback): init() got an unexpected keyword argument 'emulate_tty'

@yangfuyuan
Copy link
Collaborator

This is caused by version inconsistency. You can remove the emulate_tty=True from ydlidar_launch.py below:

 driver_node = LifecycleNode(package='ydlidar_ros2_driver',
                                node_executable='ydlidar_ros2_driver_node',
                                node_name='ydlidar_ros2_driver_node',
                                output='screen',
                                emulate_tty=True,
                                parameters=[parameter_file],
                                node_namespace='/',
                                )

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

2 participants