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

Lidar Node failed to start #17

Open
TaxesandCoding opened this issue Jun 3, 2024 · 0 comments
Open

Lidar Node failed to start #17

TaxesandCoding opened this issue Jun 3, 2024 · 0 comments

Comments

@TaxesandCoding
Copy link

Hi I am trying to get teh camera to work, and I cannot seem to subscribe nor see the scan topic because the node is failing to start. I set everything up correctly, but I am not a software developer by trade. The Lidar clearly is receiving power(blue light going in a circle), and it is connected to the correct usb port. Looking for any suggestions as to why this is not working...

ros2 launch ldlidar_stl_ros2 ld06.launch.py

[INFO] [launch]: All log files can be found below /home/etc
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [ldlidar_stl_ros2_node-1]: process started with pid [159686]
[INFO] [static_transform_publisher-2]: process started with pid [159688]
[static_transform_publisher-2] [WARN] [1717443027.393362065] []: Old-style arguments are deprecated; see --help for new-style arguments
[ldlidar_stl_ros2_node-1] [INFO] [1717443027.402896473] [LD06]: LDLiDAR SDK Pack Version is: v3.0.3
[ldlidar_stl_ros2_node-1] [INFO] [1717443027.402938820] [LD06]: <product_name>: LDLiDAR_LD06
[ldlidar_stl_ros2_node-1] [INFO] [1717443027.402943645] [LD06]: <topic_name>: scan
[ldlidar_stl_ros2_node-1] [INFO] [1717443027.402946803] [LD06]: <frame_id>: base_laser
[ldlidar_stl_ros2_node-1] [INFO] [1717443027.402949468] [LD06]: <port_name>: /dev/ttyUSB0
[ldlidar_stl_ros2_node-1] [INFO] [1717443027.402952217] [LD06]: <port_baudrate>: 230400
[ldlidar_stl_ros2_node-1] [INFO] [1717443027.402955055] [LD06]: <laser_scan_dir>: Counterclockwise
[ldlidar_stl_ros2_node-1] [INFO] [1717443027.402957946] [LD06]: <enable_angle_crop_func>: false
[ldlidar_stl_ros2_node-1] [INFO] [1717443027.402960495] [LD06]: <angle_crop_min>: 135.000000
[ldlidar_stl_ros2_node-1] [INFO] [1717443027.402966381] [LD06]: <angle_crop_max>: 225.000000
[ldlidar_stl_ros2_node-1] [ERROR] [1717443027.402990966] [LD06]: ldlidar node start is fail
[static_transform_publisher-2] [INFO] [1717443027.403999160] [base_link_to_base_laser_ld06]: Spinning until stopped - publishing transform
[static_transform_publisher-2] translation: ('0.000000', '0.000000', '0.180000')
[static_transform_publisher-2] rotation: ('0.000000', '0.000000', '0.000000', '1.000000')
[static_transform_publisher-2] from 'base_link' to 'base_laser'
[ldlidar_stl_ros2_node-1] [LDS][ERROR][Mon Jun 3 15:30:27 2024][/home/Name/Desktop/Comp/ldlidar_ros2_ws/src/ldlidar_stl_ros2/ldlidar_driver/src/serialcom/serial_interface_linux.cpp][Open][41][Open open error,Permission denied]
[ldlidar_stl_ros2_node-1] [LDS][ERROR][Mon Jun 3 15:30:27 2024][/home/Name/Desktop/Comp/ldlidar_ros2_ws/src/ldlidar_stl_ros2/ldlidar_driver/src/core/ldlidar_driver.cpp][Start][90][serial is not open:/dev/ttyUSB0]
[ERROR] [ldlidar_stl_ros2_node-1]: process has died [pid 159686, exit code 1, cmd '/home/Name/Desktop/Comp/ldlidar_ros2_ws/install/ldlidar_stl_ros2/lib/ldlidar_stl_ros2/ldlidar_stl_ros2_node --ros-args -r __node:=LD06 --params-file /tmp/launch_params_cvvd59v9 --params-file /tmp/launch_params_yc3ekj4z --params-file /tmp/launch_params_1w_dksaq --params-file /tmp/launch_params_t5ajd2dl --params-file /tmp/launch_params_va80n3wi --params-file /tmp/launch_params_raqp3bkz --params-file /tmp/launch_params_2j_rnyv6 --params-file /tmp/launch_params_2rk97whf --params-file /tmp/launch_params_3l0rdn22'].
^C[WARNING] [launch]: user interrupted with ctrl-c (SIGINT)
[static_transform_publisher-2] [INFO] [1717443040.373250276] [rclcpp]: signal_handler(signum=2)
[INFO] [static_transform_publisher-2]: process has finished cleanly [pid 159688]

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