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

Revision history [back]

click to hide/show revision 1
initial version

Hi!

The error with the No such file or directory could be due to the fact that you are giving a relative path for radar_config30hz.cfg, assuming that the working directory of your node will be the one in which the .py file is. Be aware that this is not the case unless you specify it with the cwd attribute on launch. Find below some possible solutions:

  • From inside your Python script, get the location of the ROS package with rospack and specify the absolute path to the .cfg file. This is what I would personally do.
  • From inside your Python script, get the location of the Python file by following these instructions and specify the absolute path to the .cfg file
  • Specify the working directory to be the one where your .cfg file lies with the cwd argument in the launch file.

As for the Resource not found error, from what you have written, the error is simply that your package name is radar_uart, but then you ask ROS to find radar instead.