Ask Your Question
0

is neither a launch file in package

asked 2016-04-02 00:36:29 -0500

Zero gravatar image

I'm trying to run the Leddar ROS package using "roslaunch leddar leddar.launch serial:=serial frame:=frame_id fov:=fov range:=range" but it shows me that "[leddar.launch] is neither a launch file in package [leddar] nor is [leddar] a launch file name"

and I had try to put in the actual serial port number to run it : "roslaunch leddar leddar.launch serial:=ttyS0 frame:=frame_id fov:=fov range:=range " but it still shows me the same error. got anyone face the same problem before and how to solve it?

*the ROS package i was git clone from github. https://github.com/mcgill-robotics/ro... *leddar@leddar-desktop:~$ dmesg | grep tty [ 0.000000] console [tty0] enabled [ 0.499748] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A

image description

edit retag flag offensive close merge delete

Comments

1

Have you built and sourced the catkin workspace where you have the leddar package?

ahendrix gravatar image ahendrix  ( 2016-04-02 02:00:57 -0500 )edit

Yes! I had built everything successfully but until to the running step shows this error.

Zero gravatar image Zero  ( 2016-04-03 19:35:11 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2016-04-03 22:41:27 -0500

ahendrix gravatar image

It looks like either you haven't built the package, or you haven't sourced your catkin workspace since building the package.

You can confirm that the package is correctly built and sourced by running rospack find leddar.

edit flag offensive delete link more

Comments

you are right, I just try to find the leddar package by running rospack find leddar it shows that not found. So what can I do to source the package?

Zero gravatar image Zero  ( 2016-04-03 23:14:30 -0500 )edit
1

After you've built your workspace with catkin_make, source it by running source devel/setup.bash

ahendrix gravatar image ahendrix  ( 2016-04-03 23:17:24 -0500 )edit

it shows me a new error said that failed to connect to serial with code: -1

Zero gravatar image Zero  ( 2016-04-04 00:56:20 -0500 )edit

I cannot use the github's running instruction to run the package it will shows me failed to connect to serial with code: -1 but I can use rosrun -v leddar leddar.launch to run the package. when I open the rviz there have problem said that For fram[leddar]:Fixed Frame [map] does not exist

Zero gravatar image Zero  ( 2016-04-04 01:03:41 -0500 )edit

It sounds like you have resolved the original issue with being unable to find the launch file. You should probably open a new question about being unable to connect to the serial port. (these are very different topics)

ahendrix gravatar image ahendrix  ( 2016-04-04 01:57:39 -0500 )edit

ok.thanks.

Zero gravatar image Zero  ( 2016-04-04 02:28:37 -0500 )edit

I'm having a similar issue. How do we run source devel/setup.bash? I mean, where is that file. That's a relative path, so it is not clear what folder to be in.

I think I have things installed, but I get the error regardless:

vagrant@ubuntu-bionic:~$ apt list ros-melodic-rosbridge-*
Listing... Done
ros-melodic-rosbridge-library/bionic ...
ros-melodic-rosbridge-msgs/bionic ...
ros-melodic-rosbridge-server/bionic ...
ros-melodic-rosbridge-suite/bionic ...

vagrant@ubuntu-bionic:~$ rosdep db | grep rosbridge
rosbridge_suite -> ros-melodic-rosbridge-suite
rosbridge_server -> ros-melodic-rosbridge-server
rosbridge_msgs -> ros-melodic-rosbridge-msgs
rosbridge_library -> ros-melodic-rosbridge-library

vagrant@ubuntu-bionic:~$ roslaunch rosbridge_server rosbridge_websocket.launch
RLException: [rosbridge_websocket.launch] is neither a launch file in package....
trusktr gravatar image trusktr  ( 2021-04-01 21:46:49 -0500 )edit

I searched the system, and I do not see any devel/setup.sh file anywhere:

vagrant@ubuntu-bionic:~$ locate ros | grep setup.sh
/opt/ros/melodic/local_setup.sh
/opt/ros/melodic/setup.sh
/opt/ros/melodic/share/catkin/cmake/templates/local_setup.sh.in
/opt/ros/melodic/share/catkin/cmake/templates/setup.sh.in

vagrant@ubuntu-bionic:~$ ls ~/catkin_ws
ls: cannot access '/home/vagrant/catkin_ws': No such file or directory

I installed everything with apt-get.

trusktr gravatar image trusktr  ( 2021-04-01 21:47:24 -0500 )edit
0

answered 2016-04-02 01:18:58 -0500

littlestar gravatar image

"[leddar.launch] is neither a launch file in package [leddar] nor is [leddar] a launch file name"

This wrong maybe the launch's name is wrong.You can confirm whether the name is wrong.

edit flag offensive delete link more

Comments

I had check the launch file in the package, the name is leddar.launch

Zero gravatar image Zero  ( 2016-04-03 19:36:11 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-04-02 00:36:29 -0500

Seen: 8,065 times

Last updated: Apr 03 '16