eaarl-io
1.0.1+71abbd4
EAARL Input/Output Library (Public API)
|
Structure and support for EAARL pulse data. More...
Go to the source code of this file.
Data Structures | |
struct | eaarlio_pulse |
EAARL pulse record. More... | |
Macros | |
#define | EAARLIO_MAX_RX_COUNT 4 |
Maximum number of return waveforms that are possible for TLD data. More... | |
#define | eaarlio_pulse_empty() |
Empty eaarlio_pulse value. More... | |
Functions | |
eaarlio_error | eaarlio_pulse_free (struct eaarlio_pulse *pulse, struct eaarlio_memory *memory) |
Release memory held within an eaarlio_pulse. More... | |
Structure and support for EAARL pulse data.
struct eaarlio_pulse |
EAARL pulse record.
Data Fields | ||
---|---|---|
uint8_t | bias_rx[EAARLIO_MAX_RX_COUNT] | Channel range bias in nanoseconds. |
uint8_t | bias_tx | Transmit range bias in nanoseconds. |
uint16_t | range |
Range measurement for laser. Measurement is in nanoseconds. Measures travel time from mirror to start of raster and back. |
unsigned char * | rx[EAARLIO_MAX_RX_COUNT] | Return waveforms. |
uint8_t | rx_count |
Number of return waveforms.
|
uint16_t | rx_len[EAARLIO_MAX_RX_COUNT] | Lengths of eaarlio_pulse::rx. |
int16_t | scan_angle_counts |
Angle of scanner, in hardware units. Use eaarlio_units_pulse_scan_angle to derive angle in degrees. |
uint8_t | thresh_rx |
Return waveform hardware threshold failure. 1 indicates that the return waveforms failed the hardware defined treshold |
uint8_t | thresh_tx |
Transmit waveform hardware threshold failure. 1 indicates that the transmit waveform failed the hardware defined treshold |
uint32_t | time_offset |
Additional fractional time elapsed since raster timestamp. Use eaarlio_units_pulse_time to derive floating point time. |
unsigned char * | tx | Transmit waveform. |
uint8_t | tx_len | Length of eaarlio_pulse::tx. |
#define EAARLIO_MAX_RX_COUNT 4 |
Maximum number of return waveforms that are possible for TLD data.
The file format does not support more than this.
#define eaarlio_pulse_empty | ( | ) |
Empty eaarlio_pulse value.
All numeric fields will contain zero values. All pointers will be null.
eaarlio_error eaarlio_pulse_free | ( | struct eaarlio_pulse * | pulse, |
struct eaarlio_memory * | memory | ||
) |
Release memory held within an eaarlio_pulse.
[in,out] | pulse | Pulse with memory to release |
[in] | memory | Memory handler, or NULL for stdlib |
pulse
is not released.