![]() |
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.
|
#include <duckdb.hpp>
Static Public Member Functions | |
| static DUCKDB_API dtime_t | FromString (const string &str, bool strict=false, optional_ptr< int32_t > nanos=nullptr) |
| Convert a string in the format "hh:mm:ss" to a time object. | |
| static DUCKDB_API dtime_t | FromCString (const char *buf, idx_t len, bool strict=false, optional_ptr< int32_t > nanos=nullptr) |
| static DUCKDB_API bool | TryConvertTime (const char *buf, idx_t len, idx_t &pos, dtime_t &result, bool strict=false, optional_ptr< int32_t > nanos=nullptr) |
| static DUCKDB_API bool | TryConvertTimeTZ (const char *buf, idx_t len, idx_t &pos, dtime_tz_t &result, bool &has_offset, bool strict=false, optional_ptr< int32_t > nanos=nullptr) |
| static DUCKDB_API bool | TryConvertInterval (const char *buf, idx_t len, idx_t &pos, dtime_t &result, bool strict=false, optional_ptr< int32_t > nanos=nullptr) |
| static DUCKDB_API string | ToString (dtime_t time) |
| Convert a time object to a string in the format "hh:mm:ss". | |
| static DUCKDB_API string | ToUTCOffset (int hour_offset, int minute_offset) |
| Convert a UTC offset to ±HH[:MM]. | |
| static DUCKDB_API dtime_t | FromTime (int32_t hour, int32_t minute, int32_t second, int32_t microseconds=0) |
| static DUCKDB_API int64_t | ToNanoTime (int32_t hour, int32_t minute, int32_t second, int32_t nanoseconds=0) |
| static DUCKDB_API dtime_t | NormalizeTimeTZ (dtime_tz_t timetz) |
| Normalize a TIME_TZ by adding the offset to the time part and returning the TIME. | |
| static DUCKDB_API void | Convert (dtime_t time, int32_t &out_hour, int32_t &out_min, int32_t &out_sec, int32_t &out_micros) |
| Extract the time from a given timestamp object. | |
| static DUCKDB_API string | ConversionError (const string &str) |
| static DUCKDB_API string | ConversionError (string_t str) |
| static DUCKDB_API dtime_t | FromTimeMs (int64_t time_ms) |
| static DUCKDB_API dtime_t | FromTimeNs (int64_t time_ns) |
| static DUCKDB_API bool | IsValidTime (int32_t hour, int32_t minute, int32_t second, int32_t microseconds) |
Static Private Member Functions | |
| static bool | TryConvertInternal (const char *buf, idx_t len, idx_t &pos, dtime_t &result, bool strict, optional_ptr< int32_t > nanos=nullptr) |