Namespaces | Classes | Functions
sick Namespace Reference

Namespaces

namespace  cola2
namespace  communication
namespace  data_processing
namespace  datastructure

Classes

class  SickSafetyscanners
 Class managing the algorithmic part of the package. More...
class  SickSafetyscannersRos
 The SickSafetyscannersRos class. More...

Functions

float degToRad (float deg)
 Converts degrees to radians.
float radToDeg (float rad)
 Converts radians to degrees.
uint16_t skipToPublishFrequency (int skip)
 Converts a skip value into a "publish frequency" value.

Function Documentation

float sick::degToRad ( float  deg) [inline]

Converts degrees to radians.

Parameters:
degDegrees to convert.
Returns:
To radians converted degrees.

Definition at line 69 of file SickSafetyscannersRos.h.

float sick::radToDeg ( float  rad) [inline]

Converts radians to degrees.

Parameters:
radInput radians to convert
Returns:
To degrees converted radians

Definition at line 79 of file SickSafetyscannersRos.h.

uint16_t sick::skipToPublishFrequency ( int  skip) [inline]

Converts a skip value into a "publish frequency" value.

Parameters:
skipThe number of scans to skip between each measured scan. For a 25Hz laser, setting 'skip' to 0 makes it publish at 25Hz, 'skip' to 1 makes it publish at 12.5Hz.
Returns:
"Publish Frequency" ie. One out of every n_th scan will be published. 1 is publish every scan. 2 is publish at half rate, and so on.

Definition at line 91 of file SickSafetyscannersRos.h.



sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Tue May 7 2019 03:27:36