roshask-0.2.1: Haskell support for the ROS robotics framework.

Safe HaskellNone
LanguageHaskell2010

Ros.Internal.Msg.HeaderSupport

Description

If a message type's first field is of type Header, its sequence number is automatically incremented by the ROS Topic machinery.

Synopsis

Documentation

class HasHeader a where Source

Instances

putStampedMsg :: (HasHeader a, RosBinary a) => Word32 -> a -> Put Source

Serialize a message after setting the sequence number in its header.