[ros-users] Dynamic reconfigure not compiling

koen buys koen.buys at mech.kuleuven.be
Thu Dec 16 13:06:02 UTC 2010


Hi all,

I'm currently adapting the prosilica_camera package, to be able to
test all adaptations I wanted to rebuild dynamic_reconfigure to also
take into account the .cfg file.
Where can I find the ParameterGenerator API that is loaded in the cfg files?

However it doesn't build, if someone has a hint:

~/ros_unstable_svn/driver_common/dynamic_reconfigure $ rosmake --pre-clean

  MSG: gencfg_cpp on:Test.cfg
  Finding dependencies for
/home/koen/ros_unstable_svn/driver_common/dynamic_reconfigure/cfg/Test.cfg
  ***********************************************************************************
  load_module did not return. Unable to determine dependencies for
file listed above.
  ***********************************************************************************
  Traceback (most recent call last):
    File "/home/koen/ros_unstable_svn/driver_common/dynamic_reconfigure/cmake/gendeps",
line 64, in <module>
      imp.load_module("__main__", f, srcfile, ('.cfg', 'U', 1))
    File "/home/koen/ros_unstable_svn/driver_common/dynamic_reconfigure/cfg/Test.cfg",
line 38, in <module>
      from dynamic_reconfigure.parameter_generator import *
    File "/home/koen/ros_unstable_svn/driver_common/dynamic_reconfigure/src/dynamic_reconfigure/__init__.py",
line 39, in <module>
      import rospy
    File "/home/koen/ros_unstable_svn/ros_comm/clients/rospy/src/rospy/__init__.py",
line 51, in <module>
      from .client import spin, myargv, init_node, \
    File "/home/koen/ros_unstable_svn/ros_comm/clients/rospy/src/rospy/client.py",
line 50, in <module>
      import roslib.msg
  ImportError: No module named msg
  CMake Error at cmake/cfgbuild.cmake:65 (string):
    string sub-command REPLACE requires at least four arguments.
  Call Stack (most recent call first):
    cmake/cfgbuild.cmake:83 (gencfg_cpp)
    CMakeLists.txt:12 (include)
  -- Configuring incomplete, errors occurred!
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package dynamic_reconfigure written to:
[ rosmake ]    /home/koen/.ros/rosmake/rosmake_output-20101216-135608/dynamic_reconfigure/build_output.log
[rosmake-1] Finished <<< dynamic_reconfigure [FAIL] [ 3.66 seconds ]
[ rosmake ] Halting due to failure in package dynamic_reconfigure.
[ rosmake ] Waiting for other threads to complete.
[ rosmake ] Results:
[ rosmake ] Cleaned 26 packages.
[ rosmake ] Built 27 packages with 1 failures.
[ rosmake ] Summary output to directory
[ rosmake ] /home/koen/.ros/rosmake/rosmake_output-20101216-135608


$ svn info
Path: .
URL: https://code.ros.org/svn/ros-pkg/stacks/driver_common/tags/unstable/dynamic_reconfigure
Repository Root: https://code.ros.org/svn/ros-pkg
Repository UUID: eb33c2ac-9c88-4c90-87e0-44a10359b0c3
Revision: 34791
Node Kind: directory
Schedule: normal
Last Changed Author: blaise
Last Changed Rev: 33791
Last Changed Date: 2010-11-09 22:37:21 +0100 (Tue, 09 Nov 2010)



More information about the ros-users mailing list