yarp icon indicating copy to clipboard operation
yarp copied to clipboard

Error generation from .msg files when using yarpidl_rosmsg

Open plinioMoreno opened this issue 4 years ago • 0 comments
trafficstars

Describe the bug In the use-case where the .msg files and/or .srv files are located in the ROS catkin_ws files, the script cmake/yarpIDL.cmake has errors

To Reproduce I created the repository yarp-ros-srv-msg-example, where the branch generation-issue contains the files to replicate the error, and the required packages.

Expected behavior If you run the commands

yarpidl_rosmsg roscpp_tutorials/TwoInts.srv --out ./
yarpidl_rosmsg rospy_tutorials/HeaderString.msg --out ./
yarpidl_rosmsg tf2_msgs/FrameGraph.srv --out ./

The result is correct, but when you run the similar command using yarp_idl_to_dir(), it does not work.

Configuration (please complete the following information):

  • OS: Ubuntu 18.04
  • yarp version: 3.4.101+20210524.9+git10dc2b5fb+dirty
  • compiler: gcc 7.5.0

Additional context

plinioMoreno avatar Jun 04 '21 19:06 plinioMoreno