Struct LidarMode¶
Defined in File sensor_config.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 frame.
framerate[in] Number of frames per second.
Public Members
-
unsigned int columns¶
number of columns per frame
-
unsigned int fps¶
number of frames per second
Public Static Attributes
- static OUSTER_API_VAR const LidarMode _512x10
lidar mode: 10 frames of 512 columns per second
- static OUSTER_API_VAR const LidarMode _512x20
lidar mode: 20 frames of 512 columns per second
- static OUSTER_API_VAR const LidarMode _1024x10
lidar mode: 10 frames of 1024 columns per second
- static OUSTER_API_VAR const LidarMode _1024x20
lidar mode: 20 frames of 1024 columns per second
- static OUSTER_API_VAR const LidarMode _2048x10
lidar mode: 10 frames of 2048 columns per second
- static OUSTER_API_VAR const LidarMode _4096x5
lidar mode: 5 frames of 4096 columns per second
-
explicit LidarMode(const std::string &mode)¶