YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
LaserFromRosTopic.cpp File Reference
#include "LaserFromRosTopic.h"
#include <yarp/os/Time.h>
#include <yarp/os/Log.h>
#include <yarp/os/LogStream.h>
#include <yarp/os/ResourceFinder.h>
#include <yarp/math/Math.h>
#include <cmath>
#include <cstring>
#include <cstdlib>
#include <iostream>
#include <limits>
#include <mutex>
+ Include dependency graph for LaserFromRosTopic.cpp:

Go to the source code of this file.

Macros

#define _USE_MATH_DEFINES
 
#define DEG2RAD   M_PI/180.0
 
#define RAD2DEG   180/M_PI
 

Functions

const yarp::os::LogComponentLASER_FROM_ROS_TOPIC ()
 
double constrainAngle (double x)
 

Macro Definition Documentation

◆ _USE_MATH_DEFINES

#define _USE_MATH_DEFINES

Definition at line 6 of file LaserFromRosTopic.cpp.

◆ DEG2RAD

#define DEG2RAD   M_PI/180.0

Definition at line 27 of file LaserFromRosTopic.cpp.

◆ RAD2DEG

#define RAD2DEG   180/M_PI

Definition at line 31 of file LaserFromRosTopic.cpp.

Function Documentation

◆ constrainAngle()

double constrainAngle ( double  x)

Definition at line 65 of file LaserFromRosTopic.cpp.

◆ LASER_FROM_ROS_TOPIC()

const yarp::os::LogComponent & LASER_FROM_ROS_TOPIC ( )

Definition at line 34 of file LaserFromRosTopic.cpp.