ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Python does not have C-float as a native type (see here), but only C-double. This means that when you do something like:
a = 1.2
a is mapped to the C equivalent of double. Therefore loss-of-precision issues might arise when both C and python nodes access the same parameter.
I think that using as few native types as possible is a good choice, as it limits problems related to inter-languages compatibility.