#include <cstdint>
#include <memory>
#include <string>
Go to the source code of this file.
Namespaces | |
ouster | |
ouster::OS1 | |
Typedefs | |
using | ouster::OS1::OperationMode = operation_mode_t |
using | ouster::OS1::PulseMode = pulse_mode_t |
Enumerations | |
enum | ouster::OS1::client_state { ouster::OS1::ERROR = 1, ouster::OS1::LIDAR_DATA = 2, ouster::OS1::IMU_DATA = 4 } |
enum | ouster::OS1::operation_mode_t { ouster::OS1::MODE_512x10 =0, ouster::OS1::MODE_1024x10 =1, ouster::OS1::MODE_2048x10 =2, ouster::OS1::MODE_512x20 =3, ouster::OS1::MODE_1024x20 =4 } |
enum | ouster::OS1::pulse_mode_t { ouster::OS1::PULSE_STANDARD =0, ouster::OS1::PULSE_NARROW =1 } |
Functions | |
std::shared_ptr< client > | ouster::OS1::init_client (const std::string &hostname, const std::string &udp_dest_host, int lidar_port, int imu_port) |
client_state | ouster::OS1::poll_client (const client &cli) |
bool | ouster::OS1::read_imu_packet (const client &cli, uint8_t *buf) |
bool | ouster::OS1::read_lidar_packet (const client &cli, uint8_t *buf) |
void | ouster::OS1::set_advanced_params (std::string operation_mode_str, std::string pulse_mode_str, bool window_rejection) |
Variables | |
const size_t | ouster::OS1::imu_packet_bytes = 48 |
const size_t | ouster::OS1::lidar_packet_bytes = 12608 |