I am creating two custom ros messages and building them into unity. When I try to publish data these custom messages it is not finding the custom messages and gives me this error;
Same here: I would like to publish just a few double values. I didn’t found a documentation how to generate custom messages (just the predefined ones I found here), so I wrote my own class.
So the general question is: How does a script look like to generate custom ROS messages?@hyounesy or @LaurieUnity thanks for any help
I have a solution!
I have this problem when trying to connect to Raspberry Pi. That is, the ROS is installed on another computer. And it is not possible to generate C# msg files from .msg at ros folders.
I made the same .msg file from .txt file just renaming it and then
I created a similar path: ros2_ws\src\unity_robotics_demo_msgs\msg\smth.msg
Then I put it in the folder (Folder\ros2_ws.…) that I added to “ROS messege path” Robotics → Generate ROS message.
And it was generated correctly.