Home
FAQ
Player
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

player_msghdr Struct Reference

#include <player.h>

List of all members.


Detailed Description

Generic message header.


Public Attributes

uint16_t stx
uint16_t type
uint16_t device
uint16_t device_index
uint32_t time_sec
uint32_t time_usec
uint32_t timestamp_sec
uint32_t timestamp_usec
uint32_t reserved
uint32_t size


Member Data Documentation

uint16_t player_msghdr::stx
 

Start character; always equal to "xX" (0x5878)

uint16_t player_msghdr::type
 

Message type; must be one of PLAYER_MSGTYPE_*

uint16_t player_msghdr::device
 

What kind of device; must be one of PLAYER_*_CODE

uint16_t player_msghdr::device_index
 

Which device of that kind

uint32_t player_msghdr::time_sec
 

Server's current time (seconds since epoch)

uint32_t player_msghdr::time_usec
 

Server's current time (microseconds since epoch)

uint32_t player_msghdr::timestamp_sec
 

Time when the current data/response was generated

uint32_t player_msghdr::timestamp_usec
 

Time when the current data/response was generated

uint32_t player_msghdr::reserved
 

For extension

uint32_t player_msghdr::size
 

Size in bytes of the payload to follow


The documentation for this struct was generated from the following file:
Generated on Tue May 3 14:15:58 2005 for Player by doxygen 1.3.6