Go to the documentation of this file.
56 unsigned int _port = 12002);
95 float vrad,
float hrad,
float distance);
A TCP socket that can be connected to a TCP server, implementing MRPT's CStream interface for passing...
unsigned int lastScanNumber
virtual ~CIbeoLuxETH()
Destructor.
std::thread dataCollectionThread
This "software driver" implements the communication protocol for interfacing a Ibeo Lux laser scanner...
void initialize()
This method can or cannot be implemented in the derived class, depending on the need for it.
void loadConfig_sensorSpecific(const mrpt::config::CConfigFileBase &configSource, const std::string &iniSection)
Load sensor pose on the robot, or keep the default sensor pose.
std::vector< mrpt::obs::CObservation3DRangeScan > m_observations
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
double distance(const TPoint2D &p1, const TPoint2D &p2)
Gets the distance between two points in a 2D space.
#define DEFINE_GENERIC_SENSOR(class_name)
This declaration must be inserted in all CGenericSensor classes definition, within the class declarat...
double convertLayerToRad(int scanlayer)
void makeCommandHeader(unsigned char *buffer)
This class allows loading and storing values and vectors of different types from a configuration text...
mrpt::poses::CPoint3D convertToCartesian(float vrad, float hrad, float distance)
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
A generic interface for a wide-variety of sensors designed to be used in the application RawLogGrabbe...
void makeStopCommand(unsigned char *buffer)
double convertTicksToHRad(int hticks, int hticksPerRotation)
mrpt::comms::CClientTCPSocket m_client
CIbeoLuxETH(std::string _ip=std::string("10.152.36.93"), unsigned int _port=12002)
Constructor.
unsigned int curScanNumber
GLsizei const GLchar ** string
unsigned int m_scanFrequency
mrpt::poses::CPose3D m_sensorPose
void doProcess()
This function acquire a laser scan from the device.
A class used to store a 3D point.
void makeTypeCommand(unsigned char *buffer)
void makeStartCommand(unsigned char *buffer)
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST | |