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.
Loading...
Searching...
No Matches
pcg_detail::rxs_mixin< xtype, itype > Struct Template Reference

Static Public Member Functions

static xtype output_rxs (itype internal)

Member Function Documentation

◆ output_rxs()

template<typename xtype, typename itype>
xtype pcg_detail::rxs_mixin< xtype, itype >::output_rxs ( itype internal)
inlinestatic
96275 {
96276 constexpr bitcount_t bits = bitcount_t(sizeof(itype) * 8);
96277 constexpr bitcount_t xtypebits = bitcount_t(sizeof(xtype)*8);
96278 constexpr bitcount_t shift = bits - xtypebits;
96279 constexpr bitcount_t extrashift = (xtypebits - shift)/2;
96280 bitcount_t rshift = shift > 64+8 ? (internal >> (bits - 6)) & 63
96281 : shift > 32+4 ? (internal >> (bits - 5)) & 31
96282 : shift > 16+2 ? (internal >> (bits - 4)) & 15
96283 : shift > 8+1 ? (internal >> (bits - 3)) & 7
96284 : shift > 4+1 ? (internal >> (bits - 2)) & 3
96285 : shift > 2+1 ? (internal >> (bits - 1)) & 1
96286 : 0;
96289 return result;
96290 }
Definition duckdb.cpp:96273

The documentation for this struct was generated from the following file: