c++/drivers/lms/sicklms-1.0/SickLMS.hh File Reference

Definition of class SickLMS. Code by Jason C. Derenick and Thomas H. Miller. Contact derenick(at)lehigh(dot)edu. More...

#include "SickConfig.hh"
#include <string>
#include <iostream>
#include <termios.h>
#include "SickLIDAR.hh"
#include "SickLMSBufferMonitor.hh"
#include "SickLMSMessage.hh"
#include "SickException.hh"

Include dependency graph for SickLMS.hh:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  SickToolbox

Classes

class  SickToolbox::SickLMS
 A general class for interfacing w/ SickLMS2xx laser range finders. More...
struct  SickToolbox::SickLMS::sick_lms_operating_status_tag
 A structure for aggregating the data that collectively defines the operating status of the device. More...
struct  SickToolbox::SickLMS::sick_lms_software_status_tag
 A structure for aggregating the data that collectively defines the system software for the Sick LMS 2xx unit. More...
struct  SickToolbox::SickLMS::sick_lms_restart_status_tag
 A structure for aggregating the data that collectively defines the system restart config for the Sick LMS 2xx unit. More...
struct  SickToolbox::SickLMS::sick_lms_pollution_status_tag
 A structure for aggregating the data that collectively defines the pollution values and settings for the device. More...
struct  SickToolbox::SickLMS::sick_lms_signal_status_tag
 A structure for aggregating the data that collectively define the signal config and status. More...
struct  SickToolbox::SickLMS::sick_lms_field_status_tag
 A structure for aggregating the data that collectively define the signal config and status. More...
struct  SickToolbox::SickLMS::sick_lms_baud_status_tag
 A structure for aggregating the data that collectively define the baud config. More...
struct  SickToolbox::SickLMS::sick_lms_device_config_tag
 A structure for aggregating the data that collectively defines the Sick's config. More...
struct  SickToolbox::SickLMS::sick_lms_scan_profile_b0_tag
 A structure for aggregating the data that define a scan profile obtained from reply B0 (See page 49 Telegram listing). More...
struct  SickToolbox::SickLMS::sick_lms_scan_profile_b6_tag
 A structure for aggregating the data that define a scan profile obtained from reply B6 (See page 61 Telegram listing). More...
struct  SickToolbox::SickLMS::sick_lms_scan_profile_b7_tag
 A structure for aggregating the data that define a scan profile obtained from reply B7 (See page 63 Telegram listing). More...
struct  SickToolbox::SickLMS::sick_lms_scan_profile_bf_tag
 A structure for aggregating the data that define a scan profile obtained from reply BF (See page 71 Telegram listing). More...
struct  SickToolbox::SickLMS::sick_lms_scan_profile_c4_tag
 A structure for aggregating the data that define a scan profile obtained from reply B4 (See page 79 Telegram listing). More...

Defines

#define B500000   0010005
#define DEFAULT_SICK_LMS_SICK_BAUD   (B9600)
 Initial baud rate of the LMS (whatever is set in flash).
#define DEFAULT_SICK_LMS_HOST_ADDRESS   (0x80)
 Client/host default serial address.
#define DEFAULT_SICK_LMS_SICK_ADDRESS   (0x00)
 Sick LMS default serial address.
#define DEFAULT_SICK_LMS_SICK_PASSWORD   "SICK_LMS"
 Password for entering installation mode.
#define DEFAULT_SICK_LMS_SICK_MESSAGE_TIMEOUT   (unsigned int)(1e6)
 The max time to wait for a message reply (usecs).
#define DEFAULT_SICK_LMS_SICK_SWITCH_MODE_TIMEOUT   (unsigned int)(3e6)
 Can take the Sick LD up to 3 seconds to reply (usecs).
#define DEFAULT_SICK_LMS_SICK_MEAN_VALUES_MESSAGE_TIMEOUT   (unsigned int)(15e6)
 When using mean values, the Sick can sometimes take more than 10s to respond.
#define DEFAULT_SICK_LMS_SICK_CONFIG_MESSAGE_TIMEOUT   (unsigned int)(15e6)
 The sick can take some time to respond to config commands (usecs).
#define DEFAULT_SICK_LMS_BYTE_INTERVAL   (55)
 Minimum time in microseconds between transmitted bytes.
#define DEFAULT_SICK_LMS_NUM_TRIES   (3)
 The max number of tries before giving up on a request.

Typedefs

typedef SickLMS::sick_lms_type_t SickToolbox::sick_lms_type_t
 Makes working w/ SickLMS::sick_lms_type_t a bit easier.
typedef SickLMS::sick_lms_variant_t SickToolbox::sick_lms_variant_t
 Makes working w/ SickLMS::sick_lms_variant_t a bit easier.
typedef SickLMS::sick_lms_scan_angle_t SickToolbox::sick_lms_scan_angle_t
 Makes working w/ SickLMS::sick_lms_scan_angle_t a bit easier.
typedef SickLMS::sick_lms_scan_resolution_t SickToolbox::sick_lms_scan_resolution_t
 Makes working w/ SickLMS::sick_lms_scan_resolution_t a bit easier.
typedef SickLMS::sick_lms_measuring_units_t SickToolbox::sick_lms_measuring_units_t
 Makes working w/ SickLMS::sick_lms_measuring_units_t a bit easier.
typedef SickLMS::sick_lms_sensitivity_t SickToolbox::sick_lms_sensitivity_t
 Makes working w/ SickLMS::sick_lms_sensitivity_t a bit easier.
typedef SickLMS::sick_lms_peak_threshold_t SickToolbox::sick_lms_peak_threshold_t
 Makes working w/ SickLMS::sick_lms_peak_threshold_t a bit easier.
typedef SickLMS::sick_lms_status_t SickToolbox::sick_lms_status_t
 Makes working w/ SickLMS::sick_lms_status_t a bit easier.
typedef SickLMS::sick_lms_measuring_mode_t SickToolbox::sick_lms_measuring_mode_t
 Makes working w/ SickLMS::sick_lms_measuring_mode_t a bit easier.
typedef SickLMS::sick_lms_operating_mode_t SickToolbox::sick_lms_operating_mode_t
 Makes working w/ SickLMS::sick_lms_operating_mode_t a bit easier.
typedef SickLMS::sick_lms_baud_t SickToolbox::sick_lms_baud_t
 Makes working w/ SickLMS::sick_lms_baud_t a bit easier.


Detailed Description

Definition of class SickLMS. 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


Define Documentation

#define B500000   0010005

#define DEFAULT_SICK_LMS_BYTE_INTERVAL   (55)

Minimum time in microseconds between transmitted bytes.

#define DEFAULT_SICK_LMS_HOST_ADDRESS   (0x80)

Client/host default serial address.

#define DEFAULT_SICK_LMS_NUM_TRIES   (3)

The max number of tries before giving up on a request.

#define DEFAULT_SICK_LMS_SICK_ADDRESS   (0x00)

Sick LMS default serial address.

#define DEFAULT_SICK_LMS_SICK_BAUD   (B9600)

Initial baud rate of the LMS (whatever is set in flash).

#define DEFAULT_SICK_LMS_SICK_CONFIG_MESSAGE_TIMEOUT   (unsigned int)(15e6)

The sick can take some time to respond to config commands (usecs).

#define DEFAULT_SICK_LMS_SICK_MEAN_VALUES_MESSAGE_TIMEOUT   (unsigned int)(15e6)

When using mean values, the Sick can sometimes take more than 10s to respond.

#define DEFAULT_SICK_LMS_SICK_MESSAGE_TIMEOUT   (unsigned int)(1e6)

The max time to wait for a message reply (usecs).

#define DEFAULT_SICK_LMS_SICK_PASSWORD   "SICK_LMS"

Password for entering installation mode.

#define DEFAULT_SICK_LMS_SICK_SWITCH_MODE_TIMEOUT   (unsigned int)(3e6)

Can take the Sick LD up to 3 seconds to reply (usecs).


Generated on Thu Mar 20 09:41:44 2008 for sicktoolbox-1.0 by  doxygen 1.5.1