Classes | Namespaces | Defines
SickLMS2xxMessage.hh File Reference

Definition of class SickLMS2xxMessage. More...

#include <string.h>
#include <netinet/in.h>
#include "SickMessage.hh"
#include "SickException.hh"
Include dependency graph for SickLMS2xxMessage.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SickToolbox::SickLMS2xxMessage
 A class to represent all messages sent to and from the Sick LMS 2xx. More...

Namespaces

namespace  SickToolbox
 

Encapsulates the Sick LIDAR Matlab/C++ toolbox.


Defines

#define CRC16_GEN_POL   0x8005
 Used to compute CRCs.
#define MKSHORT(a, b)   ((unsigned short) (a) | ((unsigned short)(b) << 8))
#define SICK_LMS_2XX_MSG_HEADER_LEN   (4)
 Sick LMS message length in bytes.
#define SICK_LMS_2XX_MSG_PAYLOAD_MAX_LEN   (812)
 Sick LMS max payload length in bytes.
#define SICK_LMS_2XX_MSG_TRAILER_LEN   (2)
 Sick LMS message trailer length in bytes.

Detailed Description

Definition of class SickLMS2xxMessage.

Code by Jason C. Derenick and Thomas H. Miller. Contact derenick(at)lehigh(dot)edu

The Sick LIDAR Matlab/C++ Toolbox Copyright (c) 2008, Jason C. Derenick and Thomas H. Miller All rights reserved.

This software is released under a BSD Open-Source License. See http://sicktoolbox.sourceforge.net

Definition in file SickLMS2xxMessage.hh.


Define Documentation

#define CRC16_GEN_POL   0x8005

Used to compute CRCs.

Definition at line 25 of file SickLMS2xxMessage.hh.

#define MKSHORT (   a,
 
)    ((unsigned short) (a) | ((unsigned short)(b) << 8))

Makes a "short" in little endian

Definition at line 28 of file SickLMS2xxMessage.hh.

#define SICK_LMS_2XX_MSG_HEADER_LEN   (4)

Sick LMS message length in bytes.

Definition at line 30 of file SickLMS2xxMessage.hh.

Sick LMS max payload length in bytes.

Definition at line 31 of file SickLMS2xxMessage.hh.

#define SICK_LMS_2XX_MSG_TRAILER_LEN   (2)

Sick LMS message trailer length in bytes.

Definition at line 32 of file SickLMS2xxMessage.hh.



sicktoolbox
Author(s): Jason Derenick , Thomas Miller
autogenerated on Thu Aug 27 2015 15:17:16