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

cannot launch node of type [occupancy/occupancy_node]: Cannot locate node of type [occupancy_node] in package [occupancy]

asked 2021-01-21 19:45:29 -0500

joguiguma gravatar image

updated 2021-01-22 14:25:47 -0500

jayess gravatar image

I try to run this code: https://github.com/IntelRealSense/rea...

In my laptop using ros melodic and both realsense.

I run the code and it compiles ok.

When I run:

$ source devel/setup.bash
$ roslaunch occupancy occupancy_live_rviz.launch

Many errors appear, the first is:

ERROR: cannot launch node of type [occupancy/occupancy_node]: Cannot locate node of type [occupancy_node] in package [occupancy]. Make sure file exists in package path and permission is set to executable (chmod +x)

What can I do?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2021-01-25 16:59:20 -0500

joguiguma gravatar image

The problem was fixed modifying "occupancy/launch/cameras.launch" introducing the serial of both cameras. Thank you very much.

edit flag offensive delete link more
0

answered 2021-01-22 14:28:40 -0500

jayess gravatar image

It looks as though the occupancy_node isn't executable. Have you compiled the node?

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2021-01-21 19:45:29 -0500

Seen: 302 times

Last updated: Jan 25 '21