[ros-users] [Discourse.ros.org] Suggestions for std_srvs
William Woodall
ros.discourse at gmail.com
Wed Jan 11 22:34:22 UTC 2017
[quote="heppner, post:18, topic:1079"]
That no unit is given?
[/quote]
Exactly that. Is the desired temperature in Celsius or Fahrenheit or Kelvin? You could put this information into a topic name, but then how would a general purpose tool (say a node that visualized the temperature on a thermometer) know which units you are using? Extracting it from the topic name is hard and likely error prone. If it is agreed on in the message definition (either by comment saying it is always Celsius or by having another field that lets the publisher say which units it is in) then it is always clear to both the developer and any program.
---
[Visit Topic](https://discourse.ros.org/t/suggestions-for-std-srvs/1079/19) or reply to this email to respond.
More information about the ros-users
mailing list