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

I cant see any difference between your code and my own, besides the language used, so I have tried running your code but I get the following error:

  • [rosbuild] Building package ros_kinect_template
  • [rosbuild] Cached build flags older than manifests; calling rospack to get flags
  • [rosbuild] Including /opt/ros/diamondback/stacks/ros_comm/clients/rospy/cmake/rospy.cmake
  • [rosbuild] Including /opt/ros/diamondback/stacks/ros_comm/clients/roslisp/cmake/roslisp.cmake
  • [rosbuild] Including /opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp/cmake/roscpp.cmake
  • -- Configuring done CMake Error: CMake can not determine linker language for target:rosCv
  • CMake Error: Cannot determine link language for target "rosCv".

rosCv was a quick node name for your code, I am not used to python in any way, so I do not know if I missed something. I added rospy to my manifest file. I added ros_to_cv.py to my src folder, copied your code, changed the second line to roslib.load_manifest('ros_kinect_temp late') and in my cmake list wrote rosbuild_add_executable(rosCv src/ros_to_cv.py)


If someone else have an idea to what might be wrong, then do not hesitate to write :)

Regards

Sebastian