Go to the documentation of this file.
90 mrpt::gui::CDisplayWindow3DPtr
m_win;
100 bool setHighBaudrate();
105 bool switchLaserOn();
110 bool switchLaserOff();
115 bool setMotorSpeed(
int motoSpeed_rpm);
120 bool displayVersionInfo( );
132 bool startScanningMode();
140 bool receiveResponse(
141 const char *sentCmd_forEchoVerification,
145 int &rcv_dataLength);
151 bool assureBufferHasBytes(
const size_t nDesiredBytes);
164 void doProcessSimple(
165 bool &outThereIsObservation,
167 bool &hardwareError );
183 void setSerialPort(
const std::string &port_name) { m_com_port = port_name; }
186 void setIPandPort(
const std::string &ip,
const unsigned int &port) { m_ip_dir = ip; m_port_dir = port; }
199 bool setHighSensitivityMode(
bool enabled);
207 bool checkCOMisOpen();
227 void loadConfig_sensorSpecific(
229 const std::string &iniSection );
bool m_I_am_owner_serial_port
A "CObservation"-derived class that represents a 2D range scan measurement (typically from a laser sc...
int m_lastRange
The first and last ranges to consider from the scan.
uint32_t m_timeStartUI
Time of the first data packet, for synchronization purposes.
Used in CHokuyoURG::displayVersionInfo.
int m_timeStartSynchDelay
Counter to discard to first few packets before setting the correspondence between device and computer...
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...
uint64_t TTimeStamp
A system independent time type, it holds the the number of 100-nanosecond intervals since January 1,...
mrpt::system::TTimeStamp m_timeStartTT
int m_motorSpeed_rpm
The motor speed (default=600rpm)
unsigned int m_port_dir
If set to non-empty and m_ip_dir too, the program will try to connect to a Hokuyo using Ethernet comm...
bool m_disable_firmware_timestamp
This is the base, abstract class for "software drivers" interfaces to 2D scanners (laser range finder...
void setSerialPort(const std::string &port_name)
If set to non-empty, the serial port will be attempted to be opened automatically when this class is ...
This class allows loading and storing values and vectors of different types from a configuration text...
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
std::string m_lastSentMeasCmd
The last sent measurement command (MDXXX), including the last 0x0A.
double m_reduced_fov
Used to reduce artificially the interval of scan ranges.
mrpt::gui::CDisplayWindow3DPtr m_win
mrpt::utils::circular_buffer< uint8_t > m_rx_buffer
Auxiliary buffer for readings.
std::string m_ip_dir
If set to non-empty and m_port_dir too, the program will try to connect to a Hokuyo using Ethernet co...
const std::string getSerialPort()
Returns the currently set serial port.
void setReducedFOV(const double fov)
If called (before calling "turnOn"), the field of view of the laser is reduced to the given range (in...
int scans_per_360deg
Number of measuremens per 360 degrees.
This software driver implements the protocol SCIP-2.0 for interfacing HOKUYO URG, UTM and UXM laser s...
std::string m_com_port
If set to non-empty, the serial port will be attempted to be opened automatically when this class is ...
int motor_speed_rpm
Standard motor speed, rpm.
void setIPandPort(const std::string &ip, const unsigned int &port)
Set the ip direction and port to connect using Ethernet communication.
std::string model
The sensor model.
void setVerbose(bool enable=true)
TSensorInfo m_sensor_info
The information gathered when the laser is first open.
bool m_highSensMode
High sensitivity [HS] mode (default: false)
poses::CPose3D m_sensorPose
The sensor 6D pose:
Page generated by Doxygen 1.8.16 for MRPT 1.4.0 SVN: at Mon Oct 14 23:08:25 UTC 2019 | | |