![]() |
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 Member Functions | |
| pair< iterator, bool > | emplace (const uint32_t &id, BufferHandle &&handle) |
| iterator | erase (const iterator &it) |
| iterator | find (const uint32_t &id) |
| iterator | begin () |
| iterator | end () |
| void | clear () |
| void | acquire_handles (vector< BufferHandle > &pins) |
Private Types | |
| using | iterator = unsafe_vector< pair< uint32_t, BufferHandle > >::iterator |
Private Attributes | |
| unsafe_vector< pair< uint32_t, BufferHandle > > | handles |
Instead of an unordered_map from uint32 -> BufferHandle, we have a vector. The lookup speed is OK since these maps should be very small. The benefit of this is that we aren't doing any other heap allocations than the one vector. For unordered_map, we would get a heap allocation for every inserted entry.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |