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

catkin_make install and dynamic_reconfigure issue

asked 2018-01-10 06:03:34 -0500

tanasis gravatar image

Hello, I am getting this weird behavior under ROS Indigo:

  • I am using dynamic_reconfigure: e.g. cfg/Node.cfg
  • In CMakelists I am calling generate_dynamic_reconfigure_options()
  • Files are generated nicely, e.g. NodeConfig.h
  • catkin_make works
  • Node works in general
  • However when I do: catkin_make install I get an error that the file NodeConfigConfig.h is missing. So for some reason it adds another Config string to the generated header and naturally it cannot find it. Weird.

Any ideas what can been happening? I not getting this in other packages. And I don't know how to debug this...

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
3

answered 2018-01-10 06:06:58 -0500

gvdhoorn gravatar image

See if #q203700 helps.

edit flag offensive delete link more

Comments

Yes this was it. Name file and .cfg parameter name missmatch. Nasty error! Thanks!

tanasis gravatar image tanasis  ( 2018-01-10 07:22:25 -0500 )edit
0

answered 2018-01-10 07:27:32 -0500

tanasis gravatar image

It is related to #q203700 (thanks to @gvdhoorn).

In short: The error was inside the .cfg:

# In this line here:
exit(gen.generate(PACKAGE, "<package_name>", "<name_of_cfg>"))

So the <name_of_cfg> should be exactly as the .cfg file name! E.g.:

# Filename: SomeConfiguration.cfg
exit(gen.generate(PACKAGE, "<package_name>", "SomeConfiguration"))
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-01-10 06:03:34 -0500

Seen: 1,046 times

Last updated: Jan 10 '18