Go to the documentation of this file.
10 #ifndef _CSICKTIM561ETH_2050101_H__
11 #define _CSICKTIM561ETH_2050101_H__
30 unsigned int _port = 2111);
46 bool& outThereIsObservation,
117 #endif // _CSICKTIM561ETH_2050101_H__
A TCP socket that can be connected to a TCP server, implementing MRPT's CStream interface for passing...
void loadConfig_sensorSpecific(const mrpt::config::CConfigFileBase &configSource, const std::string &iniSection)
Load sensor pose on the robot, or keep the default sensor pose.
void doProcess()
This method must be called periodically.
CSICKTim561Eth(std::string _ip=std::string("192.168.0.1"), unsigned int _port=2111)
Constructor.
A "CObservation"-derived class that represents a 2D range scan measurement (typically from a laser sc...
mrpt::poses::CPose3D m_sensorPose
void roughPrint(char *msg)
virtual ~CSICKTim561Eth()
Deconstructor.
void initialize()
Initialize the sensor according to the parameters previously read in the configuration file.
void setSensorPose(const mrpt::poses::CPose3D &_pose)
A method to set the sensor pose on the robot.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
#define DEFINE_GENERIC_SENSOR(class_name)
This declaration must be inserted in all CGenericSensor classes definition, within the class declarat...
bool turnOn()
This method must be called before trying to get a laser scan.
void generateCmd(const char *cmd)
This is the base, abstract class for "software drivers" interfaces to 2D scanners (laser range finder...
void doProcessSimple(bool &outThereIsObservation, mrpt::obs::CObservation2DRangeScan &outObservation, bool &hardwareError)
This function acquire a laser scan from the device.
mrpt::comms::CClientTCPSocket m_client
This class allows loading and storing values and vectors of different types from a configuration text...
void sendCommand(const char *cmd)
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
bool decodeLogIn(char *msg)
bool decodeScan(char *buf, mrpt::obs::CObservation2DRangeScan &outObservation)
bool turnOff()
This method could be called manually to stop communication with the device.
unsigned int m_scanFrequency
GLsizei const GLchar ** string
bool rebootDev()
This method could be called manually to reboot the device.
bool decodeScanCfg(std::istringstream &stream)
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 | |