Fully decoded video vector of a CAT240 data record. More...
#include <cat240.h>

Data Fields | |
| bool | valid |
| True when error == AST_VIDEOVECTOR_OK. | |
| ast_videovector_error_t | error |
| Error code. | |
| double | start_angle |
| Start angle of the vector, in degrees [0,360). | |
| double | end_angle |
| End angle of the vector, in degrees; may be smaller than start_angle across north. | |
| double | cell_duration |
| Video cell duration, in seconds. | |
| double | cell_length |
| Video cell length, in meters (cell_duration * c / 2). | |
| double | start_range |
| Start range of the first cell, in meters. | |
| unsigned int | start_range_cells |
| Raw I240/040 start range, in number of cells. | |
| unsigned int | msg_index |
| I240/020 message index, 0 when absent. | |
| ast_timeofday_t | tod |
| I240/140 time of day, tod.valid is false when absent. | |
| ast_video_resolution_type_t | resolution |
| Video resolution of the cells. | |
| unsigned int | max_amplitude |
| Maximum amplitude value at the current resolution (2^bits - 1). | |
| size_t | n_cells |
| Number of cells in the vector, one entry per amplitudes buffer element. | |
| unsigned int * | amplitudes |
| Caller-provided amplitude buffer, points to amplitude_buffer on success. | |
Fully decoded video vector of a CAT240 data record.
Dense representation: the amplitudes buffer holds one entry per cell, amplitudes[0] is the first cell of the vector and empty cells are reported with amplitude 0. The start range of cell i (1-based, i = 1..n_cells) is start_range + (i - 1) * cell_length.
| unsigned int* ast_videovector_t::amplitudes |
Caller-provided amplitude buffer, points to amplitude_buffer on success.
| double ast_videovector_t::cell_duration |
Video cell duration, in seconds.
| double ast_videovector_t::cell_length |
Video cell length, in meters (cell_duration * c / 2).
| double ast_videovector_t::end_angle |
End angle of the vector, in degrees; may be smaller than start_angle across north.
| ast_videovector_error_t ast_videovector_t::error |
Error code.
| unsigned int ast_videovector_t::max_amplitude |
Maximum amplitude value at the current resolution (2^bits - 1).
| unsigned int ast_videovector_t::msg_index |
I240/020 message index, 0 when absent.
| size_t ast_videovector_t::n_cells |
Number of cells in the vector, one entry per amplitudes buffer element.
| ast_video_resolution_type_t ast_videovector_t::resolution |
Video resolution of the cells.
| double ast_videovector_t::start_angle |
Start angle of the vector, in degrees [0,360).
| double ast_videovector_t::start_range |
Start range of the first cell, in meters.
| unsigned int ast_videovector_t::start_range_cells |
Raw I240/040 start range, in number of cells.
| ast_timeofday_t ast_videovector_t::tod |
I240/140 time of day, tod.valid is false when absent.
| bool ast_videovector_t::valid |
True when error == AST_VIDEOVECTOR_OK.