Submitting this documentation fix to match behavior observed using the nightly archive.
It may be that the code is not yet behaving like the design doc, in which case feel free to close this PR.
Additional information:
How to reproduce the issue:
>>> from test_msgs.msg import Primitives
>>> a = Primitives()
>>> a.char_value = 'a'
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/ros/crystal/lib/python3.6/site-packages/test_msgs/msg/_primitives.py", line 186, in char_value
"The 'char_value' field must of type 'int'"
AssertionError: The 'char_value' field must of type 'int'
The same code works on ROS 2 Crystal
The generated IDL file says that the field char_values is uint8 and not char:
Submitting this documentation fix to match behavior observed using the nightly archive. It may be that the code is not yet behaving like the design doc, in which case feel free to close this PR.
Additional information:
How to reproduce the issue:
The same code works on ROS 2 Crystal
The generated IDL file says that the field
char_values
isuint8
and notchar
: