Cannot locate node of type [rf2o_laser_odometry_node]
hey i was trying to use rf2olaserodometry package from here but every time i run it i get this error
... logging to /home/robopi2/.ros/log/22e31820-6fcc-11ed-94f7-b9afb876c6f4/roslaunch-robopi2-desktop-9688.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://robopi2-desktop:39249/
SUMMARY
========
PARAMETERS
* /rf2o_laser_odometry/base_frame_id: /base_link
* /rf2o_laser_odometry/freq: 6.0
* /rf2o_laser_odometry/init_pose_from_topic: /base_pose_ground...
* /rf2o_laser_odometry/laser_scan_topic: /laser_scan
* /rf2o_laser_odometry/odom_frame_id: /odom
* /rf2o_laser_odometry/odom_topic: /odom_rf2o
* /rf2o_laser_odometry/publish_tf: False
* /rf2o_laser_odometry/verbose: True
* /rosdistro: noetic
* /rosversion: 1.15.14
NODES
/
rf2o_laser_odometry (rf2o_laser_odometry/rf2o_laser_odometry_node)
auto-starting new master
process[master]: started with pid [9696]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to 22e31820-6fcc-11ed-94f7-b9afb876c6f4
process[rosout-1]: started with pid [9706]
started core service [/rosout]
ERROR: cannot launch node of type [rf2o_laser_odometry/rf2o_laser_odometry_node]: Cannot locate node of type [rf2o_laser_odometry_node] in package [rf2o_laser_odometry]. Make sure file exists in package path and permission is set to executable (chmod +x)
I have sourced too and made them executable but still, I am getting this I am using ROS noetic in raspberry pi 4 (ubuntu mate 20.04)
Asked by harish1111 on 2022-11-29 05:14:02 UTC
Answers
Can you delete the package and install again and build .
Asked by Davies Ogunsina on 2022-11-29 06:05:22 UTC
Comments
I did that already, and it did not work any other suggestion thank you
Asked by harish1111 on 2022-11-29 11:25:46 UTC
Hello,
The error tells you that you need to make your script an executable file.
You can do so by chmod +x path_to_your_script
.
You also can refer to the tutorial below, In that 1.1 The Code and have a look how chmod command is used for making a script executable.
Asked by Ranjit Kathiriya on 2022-11-29 07:52:45 UTC
Comments
i forgot to mention, all files are executable
Asked by harish1111 on 2022-11-29 11:23:42 UTC
Comments