|
bitsim
Model, simulate, estimate and control robots in C++
|
Classes | |
| struct | GyroReading |
| struct | Estimate |
| class | ConcurrentQueue |
| A first-in first-out queue that several threads can push to and pop from. More... | |
Typedefs | |
| using | clock_type = std::chrono::steady_clock |
| using | real_t |
| real_t | |
| using | uint_t |
| uint_t | |
Functions | |
| void | sensor (ConcurrentQueue< GyroReading > &queue) |
| Estimate | estimator (ConcurrentQueue< GyroReading > &queue, std::chrono::microseconds work_per_reading) |
| void | report (const std::string &name, const Estimate &e, real_t seconds) |
| void | run_with (const std::string &name, std::chrono::microseconds work_per_reading) |
| void | run () |
Variables | |
| const real_t | PERIOD = 0.005 |
| const uint_t | N_READINGS = 400 |
| const real_t | TRUE_RATE = 0.5 |
| using producer_consumer::clock_type = std::chrono::steady_clock |
| using bitsim::real_t |
| using bitsim::uint_t |
| Estimate producer_consumer::estimator | ( | ConcurrentQueue< GyroReading > & | queue, |
| std::chrono::microseconds | work_per_reading ) |
| void producer_consumer::run | ( | ) |
| void producer_consumer::run_with | ( | const std::string & | name, |
| std::chrono::microseconds | work_per_reading ) |
| void producer_consumer::sensor | ( | ConcurrentQueue< GyroReading > & | queue | ) |
| const uint_t producer_consumer::N_READINGS = 400 |
| const real_t producer_consumer::PERIOD = 0.005 |
| const real_t producer_consumer::TRUE_RATE = 0.5 |