YDLIDAR / ydlidar_ros_driver

ydlidar driver package under ros
Other
67 stars 56 forks source link

how to solve it??? #1

Open MAKER-park opened 4 years ago

MAKER-park commented 4 years ago

jetbot@jetbot-desktop:~/ydlidar_ws$ roslaunch ydlidar_ros_driver X2.launch

... logging to /home/jetbot/.ros/log/2a4a9d98-2f34-11eb-9ef5-4a4c3afdeae9/roslaunch-jetbot-desktop-26860.log Checking log directory for disk usage. This may take a while. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://192.168.219.128:40335/

SUMMARY

PARAMETERS

NODES / base_link_to_laser4 (tf/static_transform_publisher) ydlidar_lidar_publisher (ydlidar_ros_driver/ydlidar_ros_driver_node)

ROS_MASTER_URI=http://localhost:11311

ERROR: cannot launch node of type [ydlidar_ros_driver/ydlidar_ros_driver_node]: Cannot locate node of type [ydlidar_ros_driver_node] in package [ydlidar_ros_driver]. Make sure file exists in package path and permission is set to executable (chmod +x) process[base_link_to_laser4-2]: started with pid [26895] [ WARN] [1606318803.583059189]: Shutdown request received. [ WARN] [1606318803.587212523]: Reason given for shutdown: [[/base_link_to_laser4] Reason: new node registered with same name] [base_link_to_laser4-2] process has finished cleanly log file: /home/jetbot/.ros/log/2a4a9d98-2f34-11eb-9ef5-4a4c3afdeae9/base_link_to_laser4-2*.log all processes on machine have died, roslaunch will exit shutting down processing monitor... ... shutting down processing monitor complete done

this error print after not anything respone... why that... plz help me...

yangfuyuan commented 3 years ago

Make sure that the workspace environment variable settings take effect source your_workspace_path/devel/setup.bash

After compiling, try the following command: rospack profile