Namespaces | Macros | Functions
SickLMS1xxUtility.hh File Reference

Defines simple utility functions for working with the Sick LMS 1xx laser range finder units. More...

#include "SickConfig.hh"
#include <sstream>
Include dependency graph for SickLMS1xxUtility.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

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

Macros

#define REVERSE_BYTE_ORDER_16(y)   ( ( ( y & 0x00FF ) << 8 ) | ( ( y & 0xFF00 ) >> 8 ) )
 Reverses the byte order of the given 16 bit unsigned integer. More...
 
#define REVERSE_BYTE_ORDER_32(y)   ( ( ( y & 0x000000FF ) << 24 ) | ( ( y & 0x0000FF00 ) << 8 ) | ( ( y & 0x00FF0000 ) >> 8 ) | ( ( y & 0xFF000000 ) >> 24 ) )
 Reverses the byte order of the given 32 bit unsigned integer. More...
 

Functions

uint16_t SickToolbox::host_to_sick_lms_1xx_byte_order (uint16_t value)
 Converts host byte order (little-endian) to Sick LMS byte order (little-endian) More...
 
uint32_t SickToolbox::host_to_sick_lms_1xx_byte_order (uint32_t value)
 Converts host byte order (little-endian) to Sick LMS byte order (little-endian) More...
 
std::string SickToolbox::int_to_str (const int value)
 Utility function for converting int to standard string. More...
 
uint16_t SickToolbox::sick_lms_1xx_to_host_byte_order (uint16_t value)
 Converts Sick LMS byte order (little-endian) to host byte order (little-endian) More...
 
uint32_t SickToolbox::sick_lms_1xx_to_host_byte_order (uint32_t value)
 Converts Sick LMS byte order (little-endian) to host byte order (little-endian) More...
 

Detailed Description

Defines simple utility functions for working with the Sick LMS 1xx laser range finder units.

Code by Jason C. Derenick and Christopher R. Mansley. Contact jasonder(at)seas(dot)upenn(dot)edu

The Sick LIDAR Matlab/C++ Toolbox Copyright (c) 2009, Jason C. Derenick and Christopher R. Mansley All rights reserved.

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

Definition in file SickLMS1xxUtility.hh.

Macro Definition Documentation

#define REVERSE_BYTE_ORDER_16 (   y)    ( ( ( y & 0x00FF ) << 8 ) | ( ( y & 0xFF00 ) >> 8 ) )

Reverses the byte order of the given 16 bit unsigned integer.

Definition at line 27 of file SickLMS1xxUtility.hh.

#define REVERSE_BYTE_ORDER_32 (   y)    ( ( ( y & 0x000000FF ) << 24 ) | ( ( y & 0x0000FF00 ) << 8 ) | ( ( y & 0x00FF0000 ) >> 8 ) | ( ( y & 0xFF000000 ) >> 24 ) )

Reverses the byte order of the given 32 bit unsigned integer.

Definition at line 33 of file SickLMS1xxUtility.hh.



sicktoolbox
Author(s): Jason Derenick , Thomas Miller
autogenerated on Tue Sep 10 2019 03:37:34