INTRODUCTION Overview Download and Install Documentation Publications REPOSITORY Libraries DEVELOPER Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
hokuyo_aist::ScanData Class Reference Structure to store data returned from the laser scanner. More...
Inherited by ScanDataWrap.
Detailed DescriptionStructure to store data returned from the laser scanner. Constructor & Destructor Documentation◆ ScanData() [1/2]
This constructor creates an empty ScanData with no data currently allocated. ◆ ScanData() [2/2]
This constructor uses a provided data buffer rather than allocating automatically. If the intensity pointer is 0, no data will be provided of that type.
Member Function Documentation◆ get_error_status()
Indicates if one or more steps had an error. A step's value will be less than 20 if it had an error. Use error_code_to_string to get a textual representation of the error. Referenced by operator=(), and ScanData(). ◆ laser_time_stamp()
Get the raw time stamp of the data in milliseconds. This value is only available using SCIP version 2). Referenced by operator=(), and ScanData(). ◆ operator=()Assignment operator. If the rhs has provided buffers, the lhs will not receive the same buffers. Instead, it will copy the data into its own buffers. If the lhs has provided buffers, it is the caller's responsibility to ensure they will be big enough to receive the data from the rhs, except in the case of 0 buffers (no data will be copied for 0 buffers). References buffers_provided(), get_error_status(), intensities(), intensities_length(), laser_time_stamp(), model(), ranges(), ranges_length(), and system_time_stamp(). ◆ operator[]()
Subscript operator. Provides direct access to an element of the range data. ◆ ranges()
Return a pointer to array of range readings in millimetres. Values less than 20mm indicate an error. Check the error value for the data to see a probable cause for the error. Most of the time, it will just be an out-of-range reading. Referenced by operator=(), and ScanData(). ◆ system_time_stamp()
Get the system time stamp of the data in milliseconds. This value is only available using SCIP version 2). Referenced by operator=(), and ScanData(). The documentation for this class was generated from the following files:
|