Go to the documentation of this file.
10 #define CBoardSonars_H
66 bool queryFirmwareVersion( std::string &out_firmwareVersion );
77 bool programI2CAddress( uint8_t currentAddress, uint8_t newAddress );
117 bool checkConnectionAndConnect();
122 bool sendConfigCommands();
129 const std::string &iniSection );
float m_minTimeBetweenPings
The minimum time between sonar pings (in seconds).
A definition of a CStream actually representing a USB connection to a FTDI chip.
std::map< uint16_t, int32_t > m_sonarGains
The individual gains of the sonars, indexed by their I2C addresses [0,15].
std::string m_usbSerialNumber
A copy of the device serial number (to open the USB FTDI chip)
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...
This "software driver" implements the communication protocol for interfacing a Ultrasonic range finde...
This class allows loading and storing values and vectors of different types from a configuration text...
A generic interface for a wide-variety of sensors designed to be used in the application RawLogGrabbe...
Declares a class derived from "CObservation" that encapsules a single range measurement,...
virtual ~CBoardSonars()
Destructor.
std::vector< int32_t > m_firingOrder
The order in which sonars will be fired, indexed by their I2C addresses [0,15].
uint8_t m_gain
A value between 0 and 16, for gains between 40 and 700 (not linear).
float m_maxRange
The maximum range in meters, used for the internal device timer (value between 4cm and 11m).
std::map< uint16_t, mrpt::math::TPose3D > m_sonarPoses
The poses of the sonars: x[m] y[m] z[m] yaw[deg] pitch[deg] roll[deg] Up to 16 devices,...
Page generated by Doxygen 1.8.16 for MRPT 1.4.0 SVN: at Mon Oct 14 23:11:08 UTC 2019 | | |