Struct LidarMode
Defined in File types.h
Struct Documentation
-
struct LidarMode
Output resolution and framerate of the lidar.
Public Functions
-
explicit LidarMode(const std::string &mode)
Construct a lidar mode from a string of the form COLUMNSxFPS (e.g.
10x20)
- Parameters:
mode[in] – String form of LidarMode to construct from.
-
LidarMode(unsigned int cols, unsigned int framerate)
Construct a lidar mode from a number of columns and FPS.
- Parameters:
cols[in] – Number of columns per scan.
framerate[in] – Number of scans per second.
Public Members
-
unsigned int columns
number of columns per scan
-
unsigned int fps
number of scans per second
Public Static Attributes
- static OUSTER_API_VAR const LidarMode _512x10
lidar mode: 10 scans of 512 columns per second
- static OUSTER_API_VAR const LidarMode _512x20
lidar mode: 20 scans of 512 columns per second
- static OUSTER_API_VAR const LidarMode _1024x10
lidar mode: 10 scans of 1024 columns per second
- static OUSTER_API_VAR const LidarMode _1024x20
lidar mode: 20 scans of 1024 columns per second
- static OUSTER_API_VAR const LidarMode _2048x10
lidar mode: 10 scans of 2048 columns per second
- static OUSTER_API_VAR const LidarMode _4096x5
lidar mode: 5 scans of 4096 columns per second
-
explicit LidarMode(const std::string &mode)