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

Error on creating LaserScan message using Sonar data

asked 2017-12-27 22:22:30 -0500

sonarsensor gravatar image

updated 2018-01-04 03:48:22 -0500

jayess gravatar image

I am trying to create a laserscan using Sonar Sensor but I got an error launching the file.

[serial.launch] is neither a launch file in package [name] nor is [name] a launch file name
The traceback for the exception was written to the log file

I checked the files if there are some typographical errors or files are in a wrong path but everything is okay.

Do you have any idea on how to fix this?

edit retag flag offensive close merge delete


Have you sourced your environment?

MarkyMark2012 gravatar image MarkyMark2012  ( 2017-12-29 04:28:49 -0500 )edit

Yes, I did the setup.bash

sonarsensor gravatar image sonarsensor  ( 2018-01-02 01:34:01 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-01-04 09:17:03 -0500

mgruhler gravatar image

The package should most probably not be called name but rather serial.

From the error output, it seems your command was roslaunch name serial.launch

The Syntax is roslaunch <pkg> <Launch file>

edit flag offensive delete link more

Question Tools



Asked: 2017-12-27 22:22:30 -0500

Seen: 124 times

Last updated: Jan 04 '18