bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
parallel_monte_carlo.cpp File Reference
#include "bitsim/bitsim_consts.h"
#include "bitsim/bitsim_types.h"
#include "bitsim/dynamics/diff_drive_dynamics.h"
#include "bitsim/dynamics/system_state.h"
#include "bitsim/utils/concurrency/parallel.h"
#include "bitsim/utils/io/print_utils.h"
#include <algorithm>
#include <chrono>
#include <cmath>
#include <cstdlib>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <random>
#include <string>
#include <vector>
Include dependency graph for parallel_monte_carlo.cpp:

Classes

struct  parallel_monte_carlo::End
struct  parallel_monte_carlo::Statistics
class  parallel_monte_carlo::DiffDriveDynamics
 DiffDriveDynamics class. Describes the motion of a differential drive robot in the plane: the centre of its axle at (x, y), facing theta. Three versions: More...
class  parallel_monte_carlo::SysState< dim >
 SysState utility class describing the state of a system. More...

Namespaces

namespace  parallel_monte_carlo

Typedefs

using parallel_monte_carlo::real_t
 real_t
using parallel_monte_carlo::uint_t
 uint_t

Functions

End parallel_monte_carlo::lap (uint_t run)
Statistics parallel_monte_carlo::statistics (const std::vector< End > &ends, std::size_t n)
void parallel_monte_carlo::run (uint_t n_runs)
int main (int argc, char **argv)

Variables

const real_t parallel_monte_carlo::PI = bitsim::consts::maths::PI
const real_t parallel_monte_carlo::SIDE = 2.0
const real_t parallel_monte_carlo::V = 0.5
const real_t parallel_monte_carlo::W = PI / 2.0
const real_t parallel_monte_carlo::DT = 0.01
const real_t parallel_monte_carlo::SPEED_NOISE = 0.05
const real_t parallel_monte_carlo::RATE_NOISE = 0.05
const real_t parallel_monte_carlo::RATE_BIAS_STD = 0.01
const uint_t parallel_monte_carlo::SEED = 42

Function Documentation

◆ main()

int main ( int argc,
char ** argv )