Namespaces | Macros | Functions | Variables
rplidar_driver.cpp File Reference
#include "sdkcommon.h"
#include "hal/abs_rxtx.h"
#include "hal/thread.h"
#include "hal/types.h"
#include "hal/assert.h"
#include "hal/locker.h"
#include "hal/socket.h"
#include "hal/event.h"
#include "rplidar_driver_impl.h"
#include "rplidar_driver_serial.h"
#include "rplidar_driver_TCP.h"
#include <algorithm>
Include dependency graph for rplidar_driver.cpp:

Go to the source code of this file.

Namespaces

 rp
 

 
 rp::standalone
 
 rp::standalone::rplidar
 

Macros

#define DEPRECATED_WARN(fn, replacement)
 
#define min(a, b)   (((a) < (b)) ? (a) : (b))
 

Functions

static _u32 rp::standalone::rplidar::_bitrev (_u32 input, _u16 bw)
 
static u_result rp::standalone::rplidar::_crc32 (_u8 *ptr, _u32 len)
 
static void rp::standalone::rplidar::_crc32_init (_u32 poly)
 
static _u32 rp::standalone::rplidar::_crc32cal (_u32 crc, void *input, _u16 len)
 
static _u32 rp::standalone::rplidar::_varbitscale_decode (_u32 scaled, _u32 &scaleLevel)
 
template<class TNode >
static bool rp::standalone::rplidar::angleLessThan (const TNode &a, const TNode &b)
 
template<class TNode >
static u_result rp::standalone::rplidar::ascendScanData_ (TNode *nodebuffer, size_t count)
 
static void rp::standalone::rplidar::convert (const rplidar_response_measurement_node_t &from, rplidar_response_measurement_node_hq_t &to)
 
static void rp::standalone::rplidar::convert (const rplidar_response_measurement_node_hq_t &from, rplidar_response_measurement_node_t &to)
 
static float rp::standalone::rplidar::getAngle (const rplidar_response_measurement_node_t &node)
 
static float rp::standalone::rplidar::getAngle (const rplidar_response_measurement_node_hq_t &node)
 
static _u16 rp::standalone::rplidar::getDistanceQ2 (const rplidar_response_measurement_node_t &node)
 
static _u32 rp::standalone::rplidar::getDistanceQ2 (const rplidar_response_measurement_node_hq_t &node)
 
static void rp::standalone::rplidar::printDeprecationWarn (const char *fn, const char *replacement)
 
static void rp::standalone::rplidar::setAngle (rplidar_response_measurement_node_t &node, float v)
 
static void rp::standalone::rplidar::setAngle (rplidar_response_measurement_node_hq_t &node, float v)
 

Variables

static _u32 rp::standalone::rplidar::table [256]
 

Macro Definition Documentation

#define DEPRECATED_WARN (   fn,
  replacement 
)
Value:
do { \
static bool __shown__ = false; \
if (!__shown__) { \
printDeprecationWarn(fn, replacement); \
__shown__ = true; \
} \
} while (0)
static void printDeprecationWarn(const char *fn, const char *replacement)

Definition at line 56 of file rplidar_driver.cpp.

#define min (   a,
 
)    (((a) < (b)) ? (a) : (b))

Definition at line 51 of file rplidar_driver.cpp.



rplidar_ros
Author(s):
autogenerated on Wed Jan 1 2020 04:01:40