marti_can_msgs

Summary

marti_can_msgs
Version:

0.0.1

Description:

marti_can_msgs

Maintainers:
  • Elliot Johnson <elliot DOT johnson AT swri DOT org>
Licenses:
  • BSD
Urls:
Authors:
  • Elliot Johnson
BuildDepends:
BuildtoolDepends:
 
BuildExportDepends:
 
ExecDepends:

Types

Message types

marti_can_msgs/CanFrame
Field:
  • header (std_msgs/Header) –
  • ID (uint32) –
  • msg_type (uint8) –
  • data_length (uint8) –
  • data[8] (uint8) –
Constant:
  • MSGTYPE_STANDARD (uint8):0
  • MSGTYPE_RTR (uint8):1
  • MSGTYPE_EXTENDED (uint8):2
  • MSGTYPE_STATUS (uint8):128
Header header
# Header timestamp is the time when all messages were acquired
# and synchronized.

uint32 ID
# CAN Message ID - This is 11 bits for standard frames or 29 bits for
# extended frames.

uint8 msg_type	  
# CAN Message Type.  This should be one of the constants defined
# below.  (Constants used to match pcan.h from Peak's driver.)
uint8 MSGTYPE_STANDARD = 0
uint8 MSGTYPE_RTR = 1
uint8 MSGTYPE_EXTENDED = 2
uint8 MSGTYPE_STATUS = 128

uint8 data_length
# Count of data bytes (0..8)

uint8[8] data
# Data bytes, up to 8