Copyright | Alexander Krupenkin 2016 |
---|---|
License | BSD3 |
Maintainer | mail@akru.me |
Stability | experimental |
Portability | POSIX / WIN32 |
Safe Haskell | None |
Language | Haskell2010 |
Robotics.ROS.Msg.Class
Description
ROS message type class declaration.
Documentation
class Binary a => Message a where Source #
Haskell native type for ROS message language described
data structure. Serialization guaranted by Binary
super
class. And no more is needed for transfer over socket.
class Message a => Stamped a where Source #
Sometime ROS messages have a special Header
field.
It used for tracking package sequence, time stamping
and frame tagging. Headers is frequently field. The
Stamped
type class lifts header fields on the top
of message and abstracting of type.
Minimal complete definition