matlab/interfaces/ld/ldmex.cc File Reference

A Matlab mex interface for working w/ the Sick LD family of laser range finders. More...

#include <string>
#include <sstream>
#include <iostream>
#include "SickLD.hh"
#include "mex.h"

Include dependency graph for ldmex.cc:


Defines

#define ARG_BUFF_LENGTH   (256)
 Max length (in bytes) of valid input arg.
#define NUM_STRUCT_KEYS   (8)
 Number of keys in return struct.

Functions

void initSick (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
mxArray * grabSickVals (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[], bool grab_reflect)
void printSickInfo (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
void clearSick ()
 Clears an instance of the Sick LD device if one exists.
void mexExit ()
 Called whenever the mex file is cleared or Matlab exits.
void mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])

Variables

SickLDsick_ld = NULL

Detailed Description

A Matlab mex interface for working w/ the Sick LD family of laser range finders.

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 ARG_BUFF_LENGTH   (256)

Max length (in bytes) of valid input arg.

#define NUM_STRUCT_KEYS   (8)

Number of keys in return struct.


Function Documentation

void clearSick (  ) 

Clears an instance of the Sick LD device if one exists.

mxArray * grabSickVals ( int  nlhs,
mxArray *  plhs[],
int  nrhs,
const mxArray *  prhs[],
bool  grab_reflect 
)

void initSick ( int  nlhs,
mxArray *  plhs[],
int  nrhs,
const mxArray *  prhs[] 
)

void mexExit (  ) 

Called whenever the mex file is cleared or Matlab exits.

void mexFunction ( int  nlhs,
mxArray *  plhs[],
int  nrhs,
const mxArray *  prhs[] 
)

void printSickInfo ( int  nlhs,
mxArray *  plhs[],
int  nrhs,
const mxArray *  prhs[] 
)


Variable Documentation

SickLD* sick_ld = NULL


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