Copyright | Alexander Krupenkin 2016 |
---|---|
License | BSD3 |
Maintainer | mail@akru.me |
Stability | experimental |
Portability | POSIX / WIN32 |
Safe Haskell | Safe |
Language | Haskell2010 |
Robotics.ROS.Msg.Types
Description
Common used data types.
- data FieldDefinition
- data SimpleType
- data FieldType
- type MsgDefinition = [FieldDefinition]
- type FieldName = Text
- type Field = (FieldType, FieldName)
- type ROSDuration = (Int32, Int32)
- type ROSTime = (Word32, Word32)
ROS message abstract declaration types
data FieldDefinition Source #
ROS message field is a variable or constant declaration
Constructors
Variable Field | Variable field name and type |
Constant Field Text | Constant field name, type and value |
Instances
data SimpleType Source #
A variant type describing the simple types that may be included in a ROS message.
Constructors
RBool | |
RByte | |
RChar | |
RInt8 | |
RUInt8 | |
RInt16 | |
RUInt16 | |
RInt32 | |
RUInt32 | |
RInt64 | |
RUInt64 | |
RFloat32 | |
RFloat64 | |
RString | |
RTime | |
RDuration |
Instances
A variant type describing the types that may be included in a ROS message.
Constructors
Simple SimpleType | |
Custom Text | |
Array FieldType | |
FixedArray Int FieldType |
type MsgDefinition = [FieldDefinition] Source #
ROS message is a list of fields
Time describing
type ROSDuration = (Int32, Int32) Source #
ROSDuration is a tuple of (seconds, nanoseconds)