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

Go to the source code of this file.

Macros

#define _USE_MATH_DEFINES
 
#define DEG2RAD   M_PI/180.0
 

Functions

const yarp::os::LogComponentFAKE_LASER_MOTORS ()
 
template<class T , std::enable_if_t< std::is_trivial< T >::value, int > = 0>
T * allocAndCheck (int size)
 
template<class T >
void checkAndDestroy (T *&p)
 

Macro Definition Documentation

◆ _USE_MATH_DEFINES

#define _USE_MATH_DEFINES

Definition at line 6 of file FakeLaserWithMotor_motors.cpp.

◆ DEG2RAD

#define DEG2RAD   M_PI/180.0

Definition at line 23 of file FakeLaserWithMotor_motors.cpp.

Function Documentation

◆ allocAndCheck()

template<class T , std::enable_if_t< std::is_trivial< T >::value, int > = 0>
T * allocAndCheck ( int  size)

Definition at line 33 of file FakeLaserWithMotor_motors.cpp.

◆ checkAndDestroy()

template<class T >
void checkAndDestroy ( T *&  p)

Definition at line 51 of file FakeLaserWithMotor_motors.cpp.

◆ FAKE_LASER_MOTORS()

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

Definition at line 26 of file FakeLaserWithMotor_motors.cpp.