ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Cannot locate node of type [rf2o_laser_odometry_node]

asked 2022-11-29 04:14:02 -0600

harish1111 gravatar image

updated 2022-11-29 10:24:42 -0600

hey i was trying to use rf2o_laser_odometry 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)

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2022-11-29 06:52:45 -0600

Ranjit Kathiriya gravatar image

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.

edit flag offensive delete link more

Comments

i forgot to mention, all files are executable

harish1111 gravatar image harish1111  ( 2022-11-29 10:23:42 -0600 )edit
0

answered 2022-11-29 05:05:22 -0600

Davies Ogunsina gravatar image

Can you delete the package and install again and build .

edit flag offensive delete link more

Comments

I did that already, and it did not work any other suggestion thank you

harish1111 gravatar image harish1111  ( 2022-11-29 10:25:46 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2022-11-29 04:14:02 -0600

Seen: 8,163 times

Last updated: Nov 29 '22