ros2-for-unity icon indicating copy to clipboard operation
ros2-for-unity copied to clipboard

Error on unity side when executing custom message in ros2-for-unity

Open izakisyoutarou opened this issue 1 year ago • 3 comments

Hi, I tried to run a custom message in ros2-for-unity, but an error occurred on the untiy side. It says in how to create a custom message that I can do it by dragging and dropping files, but do I need to rewrite the files such as ROS2TalkerExample.cs? I would like to know how to publish a custom message.

Error on the untiy side Assets/Ros2ForUnity/Scripts/ROS2TalkerExample.cs(28,48): error CS0426: The type name 'String' does not exist in the type 'TwoInts'

The custom message file you added injection_interface_msg my_messages

injection_interface_msg.zip my_messages.zip asset.zip

Best regards.

izakisyoutarou avatar Jun 21 '23 09:06 izakisyoutarou