Function ouster::sensor::read_imu_packet
Defined in File client.h
Function Documentation
-
bool ouster::sensor::read_imu_packet(const client &cli, uint8_t *buf, const packet_format &pf)
Read imu data from the sensor. Will not block.
- Parameters:
cli – client returned by init_client associated with the connection
buf – buffer to which to write imu data. Must be at least imu_packet_bytes + 1 bytes
- Returns:
true if an imu packet was successfully read