Hello,
I did what I see inside the console and it ran but when I do it on my laptop I get some errors while I have made the necessary changes to the files.
The errors are:
Why that?
Hello,
I did what I see inside the console and it ran but when I do it on my laptop I get some errors while I have made the necessary changes to the files.
The errors are:
Why that?
I am aware that this is an old question. But for future reference/future readers:
ERROR: cannot launch node of type [robot_state_publisher/state_publisher]: Cannot locate node of type [state_publisher] in package [robot_state_publisher]. Make sure file exists in package path and permission is set to executable (chmod +x)
The above error indicates that you are trying to launch an executable called state_publisher which is inside the robot_state_publisher package and that this executable cannot be found.
You get this error because (at least for the official robot_state_publisher) the name of the executable is robot_state_publisher and not state_publisher.
Check if your launch file has a line similar to this one:
<node name="robot_state_publisher" pkg="robot_state_publisher" type="state_publisher" >
In that case you should modify it to this:
<node name="robot_state_publisher" pkg="robot_state_publisher" type="robot_state_publisher" >
Roberto