Classes | Namespaces | Macros
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

 SickToolbox
 Encapsulates the Sick LIDAR Matlab/C++ toolbox.
 

Macros

#define CRC16_GEN_POL   0x8005
 Used to compute CRCs. More...
 
#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. More...
 
#define SICK_LMS_2XX_MSG_PAYLOAD_MAX_LEN   (812)
 Sick LMS max payload length in bytes. More...
 
#define SICK_LMS_2XX_MSG_TRAILER_LEN   (2)
 Sick LMS message trailer length in bytes. More...
 

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.

Macro Definition 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.

#define SICK_LMS_2XX_MSG_PAYLOAD_MAX_LEN   (812)

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 Tue Sep 10 2019 03:37:34