Page 1 of 1

ROS2Interface Helper Tool minor issues

Posted: 12 Jul 2021, 16:41
by robo_sim17
Hello,

While working with ROS2 and attempting to use the ROS2Interface Helper Tool, I noticed the following minor issues:

1) The customization script during sysCall_init() creates the publishers and subscribers with message type "std_msgs/...".
I believe this type is for ROS 1 topics, where it should instead be message type "std_msgs/msg/..." for ROS2 topics. After doing this replacement, the tool no longer caused errors when dropping into a scene.

2) The model name is "RosInterfaceHelper" instead of "Ros2InterfaceHelper".

Re: ROS2Interface Helper Tool minor issues

Posted: 13 Jul 2021, 07:39
by fferri
Hi,

you are correct: with ROS2, the terms message and service have been replaced by the more general term interface, and interface names have to be in the form <package>/<interface_type>/<interface_name>, e.g. std_msgs/msg/Float32.

Thanks for reporting.