bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
gymnasium_part_1 Namespace Reference

Classes

struct  Cmd
struct  MotionModel
struct  ObservationModel
class  BlackJack
class  CliffWorld
 The CliffWorld class. More...
class  FrozenLake
class  Taxi
 The Taxi class. More...
class  RESTRLEnvClient
 Utility class to facilitate HTTP requests between the environments REST API and C++ drivers. More...
class  KalmanFilter
 Linear Kalman Filter implementation. See: An Introduction to the Kalman Filter, TR 95-041 by Greg Welch1 and Gary Bishop https://www.cs.unc.edu/~welch/media/pdf/kalman_intro.pdf. More...
struct  KalmanFilterConfig
 Configuration class for the Kalman filter. More...
class  KFModelBase
class  KFMotionModelBase
class  IterationCounter
 The IterationCounter class. More...
class  CSVWriter
 The CSVWriter class. Handles writing into CSV file format. More...

Typedefs

using motion_model_type = MotionModel
using obs_motion_type = ObservationModel
template<typename T>
using DynMat
 Dynamically sized matrix to use around the library.
template<typename T>
using DynVec
 Dynamically sized row vector.
using real_t
 real_t
using uint_t
 uint_t

Functions

void test_frozen_lake (RESTRLEnvClient &server)
void test_taxi (RESTRLEnvClient &server)
void test_black_jack (RESTRLEnvClient &server)
void test_cliff_world (RESTRLEnvClient &server)

Variables

const std::string SERVER_URL = "http://0.0.0.0:8001/api"
real_t DT = 1.0
real_t SIM_TIME = 50.0
const real_t STD = 0.1
const real_t MU = -0.37727

Detailed Description

KalmanFilter example. The example is taken from the paper An Introduction to the Kalman Filter by Greg Welch and Gary Bishop

Typedef Documentation

◆ DynMat

template<typename T>
using bitsim::DynMat

Dynamically sized matrix to use around the library.

◆ DynVec

template<typename T>
using bitsim::DynVec

Dynamically sized row vector.

◆ motion_model_type

◆ obs_motion_type

◆ real_t

◆ uint_t

Function Documentation

◆ test_black_jack()

void gymnasium_part_1::test_black_jack ( RESTRLEnvClient & server)

◆ test_cliff_world()

void gymnasium_part_1::test_cliff_world ( RESTRLEnvClient & server)

◆ test_frozen_lake()

void gymnasium_part_1::test_frozen_lake ( RESTRLEnvClient & server)

◆ test_taxi()

void gymnasium_part_1::test_taxi ( RESTRLEnvClient & server)

Variable Documentation

◆ DT

real_t gymnasium_part_1::DT = 1.0

◆ MU

const real_t gymnasium_part_1::MU = -0.37727

◆ SERVER_URL

const std::string gymnasium_part_1::SERVER_URL = "http://0.0.0.0:8001/api"

◆ SIM_TIME

real_t gymnasium_part_1::SIM_TIME = 50.0

◆ STD

const real_t gymnasium_part_1::STD = 0.1