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

Error on creating LaserScan message using Sonar data

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

sonarsensor gravatar image

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

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

Comments

Have you sourced your environment?

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

Yes, I did the setup.bash

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

1 Answer

Sort by ยป oldest newest most voted
0

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

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

2 followers

Stats

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

Seen: 135 times

Last updated: Jan 04 '18