![]() |
Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
|


Public Types | |
| using | EXACT_TYPE = typename FloatingToExact<T>::TYPE |
Public Member Functions | |
| AlpRDCompressionState (ColumnDataCheckpointData &checkpoint_data, AlpRDAnalyzeState< T > *analyze_state) | |
| idx_t | UsedSpace () const |
| bool | HasEnoughSpace (idx_t vector_size) |
| void | ResetVector () |
| void | CreateEmptySegment () |
| void | CompressVector () |
| void | FlushCompressedVector () |
| void | FlushUncompressedVector () |
| Uncompressed mode. | |
| void | FlushSegment () |
| void | Finalize () |
| void | Append (UnifiedVectorFormat &vdata, idx_t count) |
| Public Member Functions inherited from duckdb::CompressionState | |
| CompressionState (const CompressionInfo &info) | |
| template<class TARGET> | |
| TARGET & | Cast () |
| template<class TARGET> | |
| const TARGET & | Cast () const |
Public Attributes | |
| ColumnDataCheckpointData & | checkpoint_data |
| const CompressionFunction & | function |
| unique_ptr< ColumnSegment > | current_segment |
| BufferHandle | handle |
| idx_t | vector_idx = 0 |
| idx_t | nulls_idx = 0 |
| idx_t | vectors_flushed = 0 |
| idx_t | data_bytes_used = 0 |
| data_ptr_t | data_ptr |
| data_ptr_t | metadata_ptr |
| uint32_t | actual_dictionary_size_bytes |
| uint32_t | next_vector_byte_index_start |
| EXACT_TYPE | input_vector [AlpRDConstants::ALP_VECTOR_SIZE] |
| uint16_t | vector_null_positions [AlpRDConstants::ALP_VECTOR_SIZE] |
| alp::AlpRDCompressionData< T, false > | compression_data |
| Public Attributes inherited from duckdb::CompressionState | |
| CompressionInfo | info |
|
inline |
State variables from the analyze step that are needed for compression
|
inline |
[Pointer to metadata + right bitwidth] + Dictionary Size + Bytes already used in the segment

|
inline |
If [start of block + used space + required space] is more than whats left (current position of metadata pointer - the size of a new metadata pointer)


|
inline |
|
inline |
|
inline |
Check if the compressed vector fits on current segment
At least there is one valid value in the vector


|
inline |
|
inline |
Uncompressed mode.


|
inline |
We compact the block if the space used is less than a threshold


|
inline |
|
inline |
We optimize a loop when there are no null
We resolve null values with a predicated comparison
