Copyright | Alexander Krupenkin 2016 |
---|---|
License | BSD3 |
Maintainer | mail@akru.me |
Stability | experimental |
Portability | POSIX / WIN32 |
Safe Haskell | Safe |
Language | Haskell2010 |
The ROS message language builder from abstract message definition.
- render :: MsgDefinition -> Builder
- renderT :: MsgDefinition -> Text
Lazy Text builder
render :: MsgDefinition -> Builder Source #
Create lazy text builder from message definition
Render formal ROS message definition according to:
- comments removed
- whitespace removed
- package names of dependencies removed
- constants reordered ahead of other declarations from http://www.ros.org/wiki/ROS/Technical%20Overview
The genmsg
python implementation says:
Compute the text used for md5 calculation. MD5 spec states that we
removes comments and non-meaningful whitespace. We also strip
packages names from type names. For convenience sake, constants are
reordered ahead of other declarations, in the order that they were
originally defined.