RobotecAI / ros2cs

A C# (.Net) implementation of ros2 client library (rcl), enabling communication between ros2 ecosystem and C#/.Net applications such as Unity3D
Apache License 2.0
91 stars 22 forks source link

support constant string #65

Open stewpend0us opened 6 months ago

stewpend0us commented 6 months ago

msg file:

string NAME0="string value 0"

works fine for c++ but not working in c#. here's the message I get:

Unable to parse field defined as 'FieldDeclaration { Type = string, Identifier = NAME0, Value = "string value 0", IsArray = False, ArrayLength = , InlineComment = , IsUpperBounded = False }': Invalid constant value type 'string'.

stewpend0us commented 6 months ago

test_msgs/msg/Strings.msg