robopeak / rplidar_ros

BSD 2-Clause "Simplified" License
453 stars 370 forks source link

Error: Cannot launch node of type [rplidar_ros/rplidarNode];can't locate node[rplidarNode] #92

Open AndreaGonsalves opened 5 years ago

AndreaGonsalves commented 5 years ago

Hey I have tried the following commands cd catkin_ws source devel/setup.bash roslaunch rplidar_ros rplidar.launch

I get the following results:

SUMMARY

PARAMETERS

NODES / rplidarNode (rplidar_ros/rplidarNode) rviz (rviz/rviz)

auto-starting new master process[master]: started with pid [4869] ROS_MASTER_URI=http://localhost:11311

setting /run_id to 9e5af918-7ea9-11e9-bd54-7cdd90efc4a0 process[rosout-1]: started with pid [4880] started core service [/rosout] ERROR: cannot launch node of type [rplidar_ros/rplidarNode]: can't locate node [rplidarNode] in package [rplidar_ros] process[rviz-3]: started with pid [4887] libEGL warning: DRI2: failed to authenticate

I have uninstalled and reinstalled the package. Any help would be great!

chriszhuuu commented 5 years ago

I got the same issue

chriszhuuu commented 5 years ago

is anyone can help

yuzhenning commented 4 years ago

hello! I also meet the same problem. It seems like fixed in following way. Please locate your ROS workspace firstly. In my robot, the ros workspace is /turtlebot_ws re-init your workspace as following cammand :

$ cd ~/turtlebot_ws/src
$ catkin_init_workspace
$ cd ~/turtlebot_ws/
$ catkin_make

Then, please check rplidar performance by following command: $ roslaunch rplidar_ros view_rplidar.launch In my robot , the problem fixed. I hope it will help you. Have a nice day!

yuzhenning commented 4 years ago

is anyone can help hello! I also meet the same problem. It seems like fixed in following way. Please locate your ROS workspace firstly. In my robot, the ros workspace is /turtlebot_ws re-init your workspace as following cammand :

$ cd ~/turtlebot_ws/src $ catkin_init_workspace

$ cd ~/turtlebot_ws/ $ catkin_make

Then, please check rplidar performance by following command: $ roslaunch rplidar_ros view_rplidar.launch In my robot , the problem fixed. I hope it will help you. Have a nice day!

chriszhuuu commented 4 years ago

Thanks

aksharc2 commented 3 years ago

Hi, I tried this method but it did not work. When I do catkin_make the node.cpp and client.cpp are not made executable.... Any suggestions how to resolve this..