|
bitsim
Model, simulate, estimate and control robots in C++
|
| Nbasic_types | |
| CGeomPoint | A class that describes a point with spacedim spatial dimension space |
| Nbitrl | Various utilities used when working with RL problems |
| Nenvs | |
| Nclassic_control | |
| CCartPole | The cart-pole of Barto, Sutton and Anderson, simulated in this process with bitsim::dynamics::CartPoleDynamics |
| CCartPoleSwingUp | Swing the pole of a cart-pole up from hanging down, and keep it up, with a force that can take any value, simulated with bitsim::dynamics::CartPoleDynamics |
| Nconnect2 | |
| CConnect2 | Implementation of Connect2 environment from https://github.com/JoshVarty/AlphaZeroSimple The board has four cells, all empty, 0, at the start. A move puts a stone of the player, 1 or 2, in an empty cell. The player who has two stones in cells next to each other wins, with a reward of 1; a full board with no winner is a draw, with a reward of 0 |
| Ngdrl | |
| CGymWalk | |
| Ngrid_world | |
| Ndetail | |
| Cboard_piece | The BoardPiece struct |
| Cboard | |
| CGridWorldEnv | |
| CGridworld | |
| Ngymnasium | |
| Nlunar_lander_detail | |
| C_LunarLanderEnv | |
| Ndetail_ | |
| CAcrobotVEnv | |
| CLunarLanderDiscreteEnv | LunarLanderDiscreteEnv environment with discrete action space |
| CLunarLanderContinuousEnv | |
| CAcrobot | Class Acrobot. The Acrobot class. Interface for Gymnasium::Acrobot environment |
| CCartPole | Interface for CartPole environment |
| CMountainCar | The MountainCar class |
| CPendulum | The Pendulum class. Interface for Pendulum environment |
| CAcrobotV | The CartPole class Interface for CartPole environment |
| CGymnasiumEnvBase | Base class for all Gymnasium environment wrappers |
| CGymnasiumVecEnvBase | |
| CBlackJack | |
| CCliffWorld | The CliffWorld class |
| Cfrozenlake_state_size | |
| Cfrozenlake_state_size< 4 > | |
| Cfrozenlake_state_size< 8 > | |
| CFrozenLake | |
| CTaxi | The Taxi class |
| CToyTextEnvBase | ToyTextEnvBase class. Base class for toy environments from Gymnasium. These environments have a discrete action and state spaces |
| Nmulti_agent | |
| CAgentValues | How an action or an observation travels as numbers, for DistributedAgentEnv |
| CAgentValues< T, std::enable_if_t< std::is_arithmetic_v< T >||std::is_enum_v< T > > > | |
| CAgentValues< std::array< T, N > > | |
| CAgentValues< std::vector< T > > | |
| CDistributedAgentConfig | The settings of DistributedAgentEnv |
| CDistributedAgentEnv | One agent of a multi-agent environment, in a process of its own |
| CMultiAgentEnvBase | The base of environments where several agents act at the same time |
| CMultiAgentGridWorld | Agents that walk a grid at the same time, each to its own goal, without bumping into each other |
| CMultiAgentTimeStep | What a multi-agent environment returns after a reset or a joint step: an observation, a reward and a done flag for every agent |
| CRobotPose | The pose of a robot of MultiRobotNavigation: position and heading |
| CMultiRobotNavigation | Differential drive robots that cross a circle to the opposite point, all at the same time, without driving into each other |
| Nbandits | |
| CMultiArmedBanditsSpace | Struct MultiArmedBanditsSpace specifies the MultiArmedBandits state-action space |
| CMultiArmedBandits | |
| CEnvBase | Base class interface for Reinforcement Learning environments |
| CScalarDiscreteEnv | |
| CContinuousVectorStateDiscreteActionEnv | |
| CContinuousVectorStateContinuousVectorActionEnv | |
| CContinuousVectorStateContinuousScalarBoundedActionEnv | |
| CDiscreteVectorStateDiscreteActionEnv | |
| CParallelEnvs | Several copies of an environment, stepped at the same time on the threads of a bitsim::utils::concurrency::ThreadPool |
| CScalarDiscreteSpace | A scalar discrete space can be used to denote a space that only has a single value at each time. For example consider the FrozenLake environment then both the state and the action spaces are ScalarDiscreteSpace |
| CContinuousScalareSpace | |
| CContinuousVectorSpace | |
| CDiscreteVectorSpace | |
| Nmaths | |
| Nstats | |
| CTorchBernoulliDist | Class TorchBernoulliDist |
| CTorchCategorical | |
| CTorchDistributionBase | The TorchDistribution class. Base class to derive distributions for PyTorch |
| CTorchNormalDist | Normal distribution to be used with torchlib |
| Ndetail_ | |
| Crandomize_handler | |
| Crandomize_handler< real_t > | |
| Crandomize_handler< float_t > | |
| CLpMetric | The LpMetric class It conforms to the metric policy |
| Nnetwork | |
| CRESTRLEnvClient | Utility class to facilitate HTTP requests between the environments REST API and C++ drivers |
| CTensorboardServer | Class TensorboardServer |
| Nrl | |
| Nagents | |
| CDummyAgent | |
| Nalgos | |
| Ndp | |
| CDPSolverBase | The DPSolverBase class |
| CIterativePolicyEvalConfig | |
| CIterativePolicyEvalutationSolver | The IterativePolicyEval class |
| CPolicyImprovement | The PolicyImprovement class. PolicyImprovement is not a real algorithm in the sense that it looks for a policy. Instead, it is more of a helper function that allows as to improve on a given policy |
| CPolicyIterationConfig | The PolicyIterationConfig struct |
| CPolicyIterationSolver | The policy iteration class |
| CValueIterationConfig | The ValueIterationConfig struct |
| CValueIteration | ValueIteration class |
| Nes | |
| CESConfig | The settings of EvolutionStrategy |
| CPortableNormal | Normal random numbers that are the same on every machine |
| CGenerationResult | What one generation of EvolutionStrategy gave |
| CEvolutionStrategy | The evolution strategy of Salimans et al. (2017): a search for the parameters that maximise a fitness, which needs only the fitness, not its gradient |
| CMLPPolicy | A small neural network whose weights are a flat vector of parameters, for EvolutionStrategy |
| Nmc | |
| CFirstVisitMCSolverConfig | |
| CFirstVisitMCSolver | |
| CUniformRolloutPolicy | The default rollout policy of MCTSSolver: every action with the same probability |
| CMCTSConfig | The configuration of MCTSSolver |
| CMCTSSolver | Monte Carlo tree search, with UCB to pick the children (UCT) |
| CMCTSNodeBase | Base class for Nodes in a MC tree search |
| Npg | |
| CA2CSolver | A2C solver assuming separate networks for the actor and the critic. Similar to the Reinforce algorithm implementation, the PolicyType should expose an act method with the following signature |
| CA2CConfig | The A2CConfig struct. Configuration for A2CSolver class |
| CA2CMonitor | |
| CACSolverBase | A2C solver assuming separate networks for the actor and the critic. Similar to the Reinforce algorithm implementation, the PolicyType should expose an act method with the following signature |
| CDistributedPPOSolver | Proximal policy optimisation over several ranks, threads, processes or machines, that average their gradients |
| CParallelPPOSolver | Proximal policy optimisation that learns from several episodes at once, played by the copies of a bitrl::envs::ParallelEnvs |
| CPPOSolver | |
| CPPOConfig | The PPOConfig struct. Configuration for PPOSolver class |
| CReinforceSolver | The ReinforceSolver class. The ReinforceSolver trains a policy represented by the PolicyTp template parameter on the environment represented by the EnvType parameter |
| CReinforceConfig | The ReinforceOpts struct. Holds various configuration options for the Reinforce algorithm |
| CReinforceMonitor | |
| Ntd | |
| CDoubleQLearningConfig | The configuration of DoubleQLearning |
| CDoubleQLearning | The class DoubleQLearning. Tabular double Q-learning, see van Hasselt, Double Q-learning, NIPS 2010 |
| CExpectedSarsaConfig | The configuration of ExpectedSarsaSolver |
| CExpectedSarsaSolver | Tabular expected SARSA, see Sutton and Barto, Reinforcement Learning: An Introduction, section 6.6 |
| CQLearningConfig | The QLearningConfig struct |
| CQLearningSolver | The QLearning class. Table based implementation of the Q-learning algorithm using epsilon-greedy policy. The implementation also allows for exponential decay of the used epsilon |
| CSarsaConfig | The SarsaConfig struct |
| CSarsaSolver | The Sarsa class |
| CTDAlgoBase | The TDAlgoBase class. Base class for deriving TD algorithms |
| CRLAlgoConfig | The RLAlgoConfig struct |
| CRLSolverBase | RLAlgoBase. Base class for RL algorithms |
| Ndistributed | |
| CCommunicator | How the ranks of a distributed training exchange numbers |
| CTCPStoreCommunicator | A Communicator through c10d::TCPStore, the key-value store that comes with libtorch |
| Nmulti_agent | |
| CAgentTrainer | Train one agent of a multi-agent environment, an episode at a time |
| CIndependentQLearning | Every agent learns its own Q-table with Q-learning, as if the others were part of the environment |
| CGreedy | A team that acts greedily with these tables, for run_episode() |
| CMultiAgentEpisodeResult | What one episode of a multi-agent environment gave |
| CMultiAgentTrainerConfig | The settings of MultiAgentTrainer |
| CMultiAgentTrainingResult | What MultiAgentTrainer::train() gave: an entry per episode |
| CMultiAgentTrainer | Train a team of learners on a multi-agent environment, an episode at a time |
| CIndependentQLearningConfig | The settings of a Q-learning agent among others, and of IndependentQLearning |
| CQLearningAgent | One agent of a multi-agent environment that learns its own Q-table with Q-learning, as if the others were part of the environment |
| CGreedy | An actor that acts greedily with this table |
| Npolicies | |
| CStochasticAdaptorPolicy | The StochasticAdaptorPolicy class |
| CDeterministicActionPolicy | Class DeterministicActionPolicy. a deterministic action apolicy always selects the action indicated |
| CEpsilonDoubleQTableGreedyPolicy | |
| CEpsilonGreedyPolicy | The EpsilonGreedyPolicy class |
| CMaxTabularPolicy | Class MaxTabularPolicy |
| CMaxTabularPolicyBuilder | |
| CPolicyBase | The PolicyBase class |
| CRandomTabularPolicy | Class RandomTabularPolicy |
| CMaxTabularSoftmaxPolicy | |
| CUniformDiscretePolicy | The UniformDiscretePolicy class |
| Nenvs | |
| Cwith_dynamics_mixin | |
| CEpisodeInfo | The EpisodeInfo struct |
| CConstantLRScheduler | Struct ConstantLRScheduler. Echos bach the learning rate it was given |
| CInverseDecayLRScheduler | Struct InverseDecayLRScheduler. Decays the learning rate it was given with the episodes, as alpha / (1 + episode / decay), but not below min_alpha. A constant learning rate keeps the estimates of Monte Carlo and temporal difference methods moving with every new return; a decaying one lets them settle on the mean |
| Cwith_decay_epsilon_option_mixin | The with_decay_epsilon_option_mixin struct |
| Cwith_q_table_mixin | The WithQTableMixin struct |
| Cwith_double_q_table_mixin | |
| Cwith_double_q_table_mixin< DynMat< real_t > > | The WithDoubleQTableMixin struct |
| Cwith_double_q_table_mixin< std::map< KeyTp, DynVec< real_t > > > | |
| Cwith_double_q_table_max_action_mixin | |
| CRLSerialTrainerConfig | The RLSerialTrainerConfig struct. Configuration struct for the serial RL agent trainer |
| CRLSerialAgentTrainer | |
| Nutils | |
| Npytorch | |
| CTorchAdaptor | The TorchStateAdaptor struct |
| Cvector_value_type_trait | |
| Cvector_value_type_trait< std::vector< T > > | |
| Cvector_value_type_trait< DynVec< T > > | |
| Cvector_value_type_trait< std::pair< std::vector< T >, uint_t > > | |
| Cvector_value_type_trait< std::pair< DynVec< T >, uint_t > > | |
| CExperienceBuffer | The ExperienceBuffer class. A buffer based on boost::circular_buffer to accumulate items of type ExperienceType. see for example the A2C algorithm in A2C.h and rl_example_15 |
| CIterativeAlgorithmController | Controller for iterative algorithms |
| CIterativeAlgorithmResult | The IterativeAlgorithmResult struct. Helper struct to assemble the result of an iterative algorithm |
| Ctorch_t | Placeholder for torch |
| Ctorch_tensor_value_type | |
| CTimeStep | Forward declaration |
| CVectorTimeStep | Forward declaration |
| CTimeStepEnumUtils | Utilities for TimeStepTp |
| CNull | Null placeholder |
| Nbitsim | |
| Nactuators | |
| Nbackends | |
| CDCMotorBackendBase | Base class for the implementations of a DC motor. A backend takes a target speed for the output shaft and does whatever it takes to reach it: a model of the motor, or a real motor on a board |
| CMQTT_DCMotorBackend | A real DC motor on a board. The target speed goes to the board, and the angle comes back from its encoder |
| CDCMotorParameters | The constants of a brushed DC gear motor with an encoder, and of the speed controller that runs it. The defaults are those of a 12 V gear motor with a 30:1 gearbox, about 300 rpm at the output, such as a JGA25-370 |
| CSIM_DCMotorBackend | A model of a DC gear motor, its encoder and its speed controller |
| CShaftState | The state of the output shaft of a motor, as a simulator sees it |
| CBLDCMotorParameters | The parameters of a brushless DC motor. R and L are measured between two terminals, which is what a datasheet gives. The defaults are a small motor of the size used in robot joints |
| CDCEquivalentState | The state of the DC-equivalent model: current [A] and speed [rad/s] |
| CPhasePair | The two phases that carry the current in a sector: it goes in through high and out through low. The third phase is disconnected. Phases a, b, c are 0, 1, 2 |
| CBLDCMotor | The electrical model of a three-phase brushless motor with six-step commutation from three Hall sensors |
| CBLDCRotor | A rotor with inertia and viscous friction, for a BLDCMotor without a physics engine: \(J \dot\omega = T_{motor} - b \omega - T_{load}\) |
| CDCMotor | A DC motor with an encoder, run in speed control. The application sets the target speed of the output shaft and reads back its angle and speed. The backend decides what the motor is: |
| Nboards | |
| Narduino | |
| CArduinoCMDBase | |
| CArduinoConnectorBase | |
| CArduinoConnectorUSBBase | |
| CArduinoConnectorWIFIBase | |
| CDCArduinoBoardImpl | An Arduino that drives DC motors with encoders and talks over MQTT |
| CConfig | |
| CMotorChannelState | What a board last reported about one of its motors |
| CDCMotorBoardBase | A microcontroller board that drives one or more DC motors. The application sets a target speed per motor, and the board runs the motors and reports back what its encoders measure. One board usually drives several motors over a single connection, so the motors share it |
| CRCTransmitterBase | Sends the commands of a radio transmitter to a quadrotor: the laptop takes the place of the hand-held transmitter |
| CSIM_RCLink | The radio link to a simulated quadrotor: the transmitter end sends commands, and the simulated receiver reads the latest one |
| Ncontrol | Controllers: PID controllers, line following, a quadrotor flight controller, a fixed wing autopilot, linear quadratic regulators and model predictive control |
| CFixedWingCommands | What the autopilot holds |
| CFixedWingAutopilotGains | The gains of the loops, worked out from the linearised aircraft |
| CFixedWingAutopilotDesign | How the loops are designed, and the limits of what they command |
| CFixedWingAutopilot | Holds airspeed, altitude and course with loops closed one inside the other, as in Beard and McLain, chapter 6 |
| CRunway | A runway on the ground: it starts at its threshold and runs along its heading |
| CMissionWaypoint | A point of the route, in the world |
| CFixedWingMissionSettings | How the mission flies |
| CTouchdown | Where and how the aircraft touched down |
| CFixedWingMission | Takes off from a runway, flies a route of waypoints and lands back on the runway |
| CDiffDriveCommand | What a differential drive robot is told to do: drive at v [m/s] and turn at omega [rad/s], counterclockwise positive |
| CInfraredLineFollower | Follow a dark line with a row of infrared elements |
| CParameters | |
| CLinearMPC | Model predictive control with a linear model, a quadratic cost and bounds on the inputs and the states |
| CDiscreteLinearModel | A linear model in discrete time, \(x_{k+1} = A x_k + B u_k\) |
| CLQRSolution | The gain of a linear quadratic regulator and the cost matrix it comes from: the input \(u = -K x\) minimises the cost \(\sum x^T Q x + u^T R u\), or its integral in continuous time, and the cost from x on is \(x^T P x\) |
| CLQRController | A linear state feedback about an operating point, \(u = u_{ref} - K (x - x_{ref})\), with optional bounds on each input |
| CPIController | A PI controller whose output is limited to [-limit, limit], with anti-windup and a feedforward term |
| CPIDController | A PID controller, \(u = K_p e + K_i \int e\, dt + K_d \dot e\) with \(e\) = target - current, and optional limits on its output |
| CQuadrotorFlightController | The flight controller of a toy quadrotor in angle mode: it turns the sticks of an RCCommand into rotor speeds |
| CParameters | |
| CRCCommand | What the sticks of a radio transmitter for a quadrotor say, as a toy drone's transmitter sends them: the throttle and three sticks, and whether the motors are armed |
| Nsensors | |
| Nbackends | |
| CCameraFrame | A frame delivered by a camera backend |
| CCameraBackendBase | Base class for the sources of camera frames |
| CCHRONO_IMUBackend | A simulated IMU on a Chrono body |
| CErrors | How the IMU errs |
| CCHRONO_InfraredBackend | Simulated infrared reflectance elements on a Chrono body |
| CCHRONO_UltrasonicBackend | A simulated ultrasonic sensor: it casts rays into the Chrono world |
| CIMUBackendBase | Base class for inertial measurement units with a three axis accelerometer and a three axis gyroscope, such as an MPU-6050 |
| CInfraredBackendBase | Base class for arrays of infrared reflectance sensors, such as the TCRT5000 modules that line following robots use |
| CMJPEG_HTTPCameraBackend | Receives the frames of an MJPEG stream over HTTP, the multipart/x-mixed-replace response that many cameras and camera servers give, for example example 31's FastAPI server on a Raspberry Pi |
| CConfig | Settings of the backend |
| CMQTT_IMUBackend | A real IMU on a board that publishes its readings over MQTT, as an IMUMessage: |
| CMQTT_InfraredBackend | Real infrared reflectance elements on a board that publishes their readings over MQTT, as an InfraredMessage with one value per element: |
| CMQTT_SensorChannel | The topic a sensor on a board publishes its readings to |
| CConfig | |
| CMQTT_UltrasonicBackend | A real ultrasonic sensor on a board that publishes its readings over MQTT, as an UltrasoundMessage: |
| CRangeSensorBackendBase | Base class for modelling range sensors |
| CSensorBackendBase | Base class for modelling sensors with different implementations |
| CFloorImage | An image of the floor, centred on the world origin |
| CDownwardCamera | A camera on a robot that looks straight down at the floor ahead |
| CConfig | The camera's mounting and image |
| CIMUSensor | An inertial measurement unit: a three axis accelerometer and a three axis gyroscope, along the axes of the body it is on |
| CInfraredSensor | An array of infrared reflectance elements that looks at the floor, to tell its colour: light paper or a dark line |
| CCameraMessage | |
| CIMUMessage | Models a message from an inertial measurement unit with a three axis accelerometer and a three axis gyroscope: |
| CInfraredMessage | Models a message from an array of infrared reflectance sensors, one value per element: |
| CMessageBase | |
| COdometryMessage | A pose estimate from a board: |
| CUltrasoundMessage | Models a message from an ultrasound sensor: |
| CEigenVectorMessage | |
| CSensorBase | Class for modelling sensors. A sensor is a device and has: |
| CSensorManager | Class for managing sensor updates |
| CUltrasonicSensor | Class for modelling ultrasonic sensors |
| Ncosim | |
| CCoSimulation | A co-simulation in one process: the master algorithm that steps coupled subsystems, each with its own solver, and passes the outputs of each to the inputs of the others |
| CCoSimParticipantConfig | The settings of CoSimParticipant |
| CCoSimParticipant | One subsystem of a co-simulation, in a process or on a machine of its own |
| CCoSimSubsystem | A part of a coupled system that a co-simulation steps on its own: a robot, a trailer, a motor, each with its own solver, coupled to the others only through its inputs and outputs |
| COdeSubsystem | A subsystem given by its equations: the state x moves with dx/dt = f(t, x, u), and the outputs are y = h(x, u) |
| CConnection | Output output of subsystem from feeds input input of subsystem to |
| CCouplingLayout | The subsystems of a co-simulation, their sizes, and which output feeds which input |
| CCouplingConfig | How a co-simulation couples its subsystems |
| CCouplingState | The inputs of every subsystem at the present time, and at the time before |
| CMacroStepResult | What one macro step did |
| Ndistributed | |
| CCHRONO_Ghosts | The bodies of the other participants of a distributed simulation, in this participant's Chrono system |
| CMQTT_Transport | Participants in several processes, on one machine or several, that meet on an MQTT broker |
| CBodyState | The state of one body of a participant: where it is, how it moves, and how big it is |
| CStateMessage | What a participant of a distributed simulation sends: the state of its bodies at one step, or that it leaves |
| CSynchroniserConfig | The settings of Synchroniser |
| CPeerState | What a participant knows of another at a step |
| CSynchroniser | Keeps the participants of a distributed simulation in step |
| CInProcessBus | Participants that are threads of one process, joined by queues |
| CEndpoint | |
| CTransport | How the participants of a distributed simulation reach each other: everything one publishes, every other receives |
| CLossyTransport | A transport that delays and loses some of the messages of another, as a network would |
| CConfig | |
| Ndynamics | Models of how things move: wheeled robots, a bicycle, a quadrotor and a fixed wing aircraft, with the trim and linearisation of the aircraft |
| CBicycleVehicleModelDynamicsConfig | |
| CBicycleVehicleModelDynamics | The BicycleVehicleModelDynamics class. Implements the bicycle vehicle model dynamics. The implementation of the dynamics is taken from the paper: Deep Reinforcement Learning for Mobile Robot Path Planning by Hao Liu, Yi Shen, Shuangjiang Yu, Zijun Gao, Tong Wu The state of the model is described by the tuple (X, Y, Phi) where (X,Y) denotes the 2D position of the vehicle in the world coordinates and phi denotes the heading of the vehicle |
| CCartPoleParameters | The cart and the pole. The defaults are those of the classic cart-pole of Barto, Sutton and Anderson (1983), which Gymnasium's CartPole uses too |
| CCartPoleLinearModel | A model linearised about a state and a force: \(\dot x \approx A x + B F\), for the deviations from them |
| CCartPoleDynamics | A cart on a straight track, pushed by a horizontal force F, with a pole hinged on it |
| CDiffDriveDynamics | 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: |
| CDynamicsMatrixDescriptor | The DynamicsMatrixDescriptor class. Helper class to model the matrix representon of dynamical systems |
| CFixedWingControls | What the pilot or the autopilot sets |
| CLandingGearWheel | A wheel of the landing gear: a spring and damper along the body z axis, that rolls along its heading and grips sideways |
| CFixedWingParameters | The aircraft: its mass, its geometry, its aerodynamic coefficients, its propeller and motor, and its landing gear. aerosonde() gives the small UAV of Beard and McLain |
| CFixedWingForces | The forces and moments on the aircraft, in the body frame, and the air data they come from |
| CFixedWingDynamics | The 6-DOF flight dynamics of a fixed wing aircraft, with its landing gear on a flat ground at down = 0 |
| CFixedWingTrim | A steady flight: the state and the controls that keep it |
| CFixedWingLinearModel | The motion near a trim, \(\dot{\delta x} = A \delta x + B \delta u\), with the controls in the order elevator, aileron, rudder, throttle |
| CFlightMode | A mode of the linearised motion |
| CMotionModelDynamicsBase | Base class for deriving motion models. Motion models describe the dynamics or kinematics of a rigid body |
| CQuadrotorDynamicsConfig | |
| CQuadrotorDynamics | The QuadrotorDynamics class. Implements quadrotor dynamics The implementation of this class follows the System Modeling section at https://wilselby.com/research/arducopter/modeling/ and https://scholarsarchive.byu.edu/cgi/viewcontent.cgi?article=2324&context=facpub The quadrotor is assumed to have four rotors Each rotor consists of a brushless DC motor and rotor with a fixed pitch. It is assumed that the quadrotor can move in 6 degrees of freedom; 3-translational and 3-rotational, The motion of the quadrotor is controlled via 4 inputs namely the speeds of the 4 motors. The quadrotor model that this class implements assumes the following: |
| CSysState | SysState utility class describing the state of a system |
| Nestimation | |
| CBox2d | An axis-aligned rectangle in the plane [m]: a wall or a box, seen from above |
| CDiffDriveMap | What a robot knows about where it drives: the line on the floor, a RoundedRectangle, and the walls and boxes its range sensors can hear |
| CDiffDriveGyroModel | The motion model of DiffDriveEKF: a differential drive robot that knows how far it drove from its wheel encoders and how fast it turned from a gyroscope with a bias |
| CInput | |
| CDiffDriveEKF | An extended Kalman filter that fuses everything a small differential drive robot senses: wheel encoders, a gyroscope, infrared elements and a camera that see a line on the floor, and ultrasonic range sensors |
| CParameters | |
| CPose | |
| CRangeSensor | Where an ultrasonic sensor is on the robot, relative to the centre of the axle, and what it hears |
| CDiffDriveOdometry | Dead reckoning for a differential drive robot from its wheel encoders |
| CPose | A pose in the plane: the point halfway between the wheels and the heading from the x axis [m, m, rad] |
| CSlamState | The state of EKFSlam: the robot's pose (x, y, yaw) followed by the position (x, y) of every landmark mapped so far. It grows by two values with each new landmark |
| CSlamMotionModel | The motion model of EKFSlam: odometry moves the robot and leaves the landmarks where they are |
| CInput | |
| CEKFSlam | Simultaneous localisation and mapping with an extended Kalman filter: a robot works out where it is and where the landmarks around it are, at the same time, from odometry and range-and-bearing sightings of the landmarks |
| CParameters | |
| CPose | |
| CObservation | A sighting of a landmark: which one, and where it is from the robot |
| CSighting | A sighting with no id: where something is from the robot, but not which landmark |
| CAssociation | How update_unknown() associates, on the squared Mahalanobis distance. The defaults are the 99 % point of the chi-squared distribution with 2 degrees of freedom, and the distance that a sighting of a mapped landmark is beyond once in about 270 000 times |
| CAssociationResult | What update_unknown() did with each sighting of a scan |
| CEKFUpdateResult | What an update of an ExtendedKalmanFilter did with a measurement |
| CExtendedKalmanFilter | The extended Kalman filter: it predicts the state with a non-linear motion model and corrects it with measurements from any number of observation models, each linearised about the current estimate |
| CGyroHeading | The heading of a robot from its gyroscope: dead reckoning of the rate about the vertical |
| CKalmanFilterConfig | Configuration class for the Kalman filter |
| CKalmanFilter | 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 |
| CKFModelBase | |
| CKFMotionModelBase | |
| Ngeometry | |
| CGenericLine | Class GenericLine. Represents a generic line with vertex VertexType The equation of a linein l=Ax + By + C |
| CGeomPoint | A class that describes a point with spacedim spatial dimension space |
| CYawPitchRoll | Yaw, pitch and roll angles [rad]: the rotation is \(R_z(\mathrm{yaw})\, R_y(\mathrm{pitch})\, R_x(\mathrm{roll})\) |
| CCircle | The Circle class. Models a common circle |
| Nkinematics | |
| CDHRow | One row of a Denavit-Hartenberg table: the pose of a joint frame in the one before it is \(R_z(\theta)\, T_z(d)\, T_x(a)\, R_x(\alpha)\) |
| CPlanarArm | A planar arm with two links that moves in the xy plane, like a SCARA arm seen from above. Joint 1 is at the origin of the world, and both joints turn about z |
| CSpatialArm | An arm with three revolute joints. Joint 1 turns the arm about the vertical axis at height h0; joints 2 and 3, the shoulder and the elbow, turn about horizontal axes, so the upper arm and the forearm move in a vertical plane |
| CIKResult | The result of numerical_ik |
| Nmaths | |
| Noptimization | |
| CQPSettings | The settings of QPSolver |
| CQPEntry | A non-zero of a sparse matrix: its row, its column and its value |
| CQPSolver | A solver of the convex quadratic program |
| CSparse | |
| Nstats | |
| CBernoulliDist | Class BernoulliDist. Wrapper to std::bernoulli_distribution |
| CBetaDist | The beta distribution is a real-valued distribution which produces values in the range [0, 1]. It has two parameters, alpha and beta |
| CNormalDist | Wrapper to std::normal_distribution to facilitate sampling multiple values, sampling with a given seed and computing the PDF value at a specific point |
| CUniformDist | |
| CUniformWeightedDist | |
| Nnetwork | |
| CMqttPublisher | |
| CMqttSubscriber | |
| Nplanning | |
| CSearchResult | What a search found |
| CBoxWorld | A rectangular slice of the plane with axis-aligned box obstacles, a start and a goal |
| CBox | An axis-aligned box [x0, x1] x [y0, y1] [m] |
| CRayHit | What a range beam found: whether it struck anything within reach, and how far away |
| CGridCell | A cell of an OccupancyGrid: its column, along x, and row, along y |
| COccupancyGrid | A rectangle of the plane cut into square cells, each free or occupied |
| CProbabilityGrid | An occupancy map built from range sensors, each cell holding the probability that it is occupied |
| CParameters | The inverse sensor model: how strongly one beam moves a cell's probability |
| CRRT | A rapidly exploring random tree in the plane |
| CParameters | |
| CNode | A node of the tree: where it is, and the index of its parent; the root is its own parent |
| Nrb | |
| Nbitsim_chrono | |
| CCHRONO_RobotPose | Wrapper for representing the state of a CHRONO_Robot |
| CContactCounter | Counts the contacts that touch any of a set of bodies, such as the obstacles a robot should not hit |
| CCHRONO_DiffDriveRobot | A differential-drive robot in Chrono: a chassis, two driven wheels and a ball caster. Each driven wheel has an actuators::DCMotor |
| CRobotData | |
| CRobotSensorManager | |
| Nsystems | |
| CDoublePendulumProperties | The two links of a double pendulum, each a uniform rod |
| CDoublePendulumSystem | A double pendulum in Chrono: two uniform rods, the upper one hanging from a pivot at the origin and the lower one from the end of the upper one, swinging in the x-z plane under gravity, -z |
| Ntrajectory | |
| CLineSegmentLink | Class LineSegmentLink. Represents a straight line link between two waypoints |
| CRoundedRectangle | A closed track in the plane: a rectangle centred on the origin with its sides along x and y, and its corners rounded with quarter circles |
| CTimeScaling | How fast to go along a path: the share s(t) of the path done at time t, from s(0) = 0 to s(T) = 1, with its rates \(\dot s\) and \(\ddot s\) |
| CCubicTimeScaling | The cubic polynomial that starts and ends at rest, \(s(t) = 3\tau^2 - 2\tau^3\) with \(\tau = t / T\) |
| CQuinticTimeScaling | The quintic polynomial that starts and ends at rest with no acceleration, \(s(t) = 10\tau^3 - 15\tau^4 + 6\tau^5\) |
| CTrapezoidalTimeScaling | Accelerate at a constant rate, cruise at constant speed, and brake at the same rate: the speed over time is a trapezoid |
| CPointToPoint | A straight motion from one point of any dimension, such as the joint angles of an arm, to another, timed by a TimeScaling |
| CWayPoint | Helper class to represent a waypoint |
| CWaypointTrajectory | A container that represents a collection of way points linked together via a LinkType The LinkType defines how smooth the trajectory will look like |
| CGeomPoint | A class that describes a point with spacedim spatial dimension space |
| Nutils | |
| Nconcurrency | |
| CConcurrentQueue | A first-in first-out queue that several threads can push to and pop from |
| CThreadPool | A fixed number of threads that run the tasks given to them, in the order given |
| Nio | |
| CCSVFileReader | The CSVFileReader class |
| CCSVWriter | The CSVWriter class. Handles writing into CSV file format |
| CFileFormats | |
| CFileHandlerBase | Abstract base class for file handling operations |
| CFileReaderBase | |
| CFileWriterBase | The FileWriterBase class |
| CJSONFileReader | |
| Nrender | |
| CTrail | A path drawn as a line: in the plane, just above the floor, where a robot has been or where it thinks it has been; or in space, where something has flown |
| CInsetCamera | A camera on a robot whose view is drawn in the top left corner of the window. It only shows the scene; mouse and keyboard still move the main camera |
| CFrameRecorder | Writes the window to dir/frame_00000.png, frame_00001.png, ..., rate times a second of simulation, to be put together into a movie. With an empty dir it writes nothing |
| CKeyboardRC | The keyboard as a radio transmitter: |
| CQuadrotorStyle | How a drone of a QuadrotorView looks: the colour of its body and of its trail |
| CQuadrotorView | A window with quadrotors over a floor of 2 m tiles, with posts to see them move against and a start pad. Each drone is two arms in a cross, a body and four rotors, the front one red, and leaves a trail. The positions and the angles come from dynamics::QuadrotorDynamics, whose world is NED; the window's is z up |
| CIterationCounter | The IterationCounter class |
| Nlog | |
| Ndetail | |
| CLoggerHandle | |
| CLogLine | Collects one message with operator<< and writes it when it is destroyed, at the end of the statement |
| CIntegralRange | A range of integer values in [s, e] |
| CRealRange | A range of double precision floating point values |
| CNull | Null placeholder |
| Nbldc_motor | |
| CSteadyState | |
| CJoint | |
| CMotorisedJoint | |
| CHoldResult | |
| CPIController | A PI controller whose output is limited to [-limit, limit], with anti-windup and a feedforward term |
| Nbox2d_example | |
| CLunarLanderContinuousEnv | |
| CLunarLanderDiscreteEnv | LunarLanderDiscreteEnv environment with discrete action space |
| Ncamera_server | |
| CPiCameraSource | |
| CSyntheticSource | |
| CSquarePath | |
| CFrameGrabber | |
| Ncart_pole_lqr_mpc | |
| CRun | |
| CCartPoleDynamics | A cart on a straight track, pushed by a horizontal force F, with a pole hinged on it |
| CCartPoleParameters | The cart and the pole. The defaults are those of the classic cart-pole of Barto, Sutton and Anderson (1983), which Gymnasium's CartPole uses too |
| Nchrono_diff_drive | |
| CSegment | |
| CPose | |
| CWorld | |
| CKinematics | |
| CDisplay | |
| COptions | |
| CDiffDriveDynamics | 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: |
| CCHRONO_DiffDriveRobot | A differential-drive robot in Chrono: a chassis, two driven wheels and a ball caster. Each driven wheel has an actuators::DCMotor |
| CRobotData | |
| CRobotSensorManager | |
| Nchrono_smc_system | |
| CRobot | |
| CRobotEnv | |
| CTimeStep | Forward declaration |
| Ndiff_drive_mpc | |
| CPath | |
| CLinearStep | |
| CFollower | |
| CWorld | |
| CDisplay | |
| COptions | |
| CLinearMPC | Model predictive control with a linear model, a quadratic cost and bounds on the inputs and the states |
| CCHRONO_DiffDriveRobot | A differential-drive robot in Chrono: a chassis, two driven wheels and a ball caster. Each driven wheel has an actuators::DCMotor |
| CRobotData | |
| CRobotSensorManager | |
| Ndistributed_chrono_robots | |
| COptions | |
| CResult | |
| CWorld | |
| CCHRONO_DiffDriveRobot | A differential-drive robot in Chrono: a chassis, two driven wheels and a ball caster. Each driven wheel has an actuators::DCMotor |
| CRobotData | |
| CRobotSensorManager | |
| Ndistributed_independent_learners | |
| COutcome | |
| CTeam | |
| CInProcessBus | Participants that are threads of one process, joined by queues |
| CEndpoint | |
| CTransport | How the participants of a distributed simulation reach each other: everything one publishes, every other receives |
| Ndistributed_robot_navigation | |
| CController | |
| CTeam | |
| COutcome | |
| CInProcessBus | Participants that are threads of one process, joined by queues |
| CEndpoint | |
| CTransport | How the participants of a distributed simulation reach each other: everything one publishes, every other receives |
| Ndistributed_robots | |
| COptions | |
| CResult | |
| Ndouble_q_learning | |
| CDoubleQLearning | The class DoubleQLearning. Tabular double Q-learning, see van Hasselt, Double Q-learning, NIPS 2010 |
| CDoubleQLearningConfig | The configuration of DoubleQLearning |
| CEpsilonDoubleQTableGreedyPolicy | |
| Nekf_sensor_fusion | |
| CDriver | |
| CWorld | |
| CDisplay | |
| COptions | |
| CUsage | |
| CErrorStats | |
| CInfraredLineFollower | Follow a dark line with a row of infrared elements |
| CParameters | |
| CBox2d | An axis-aligned rectangle in the plane [m]: a wall or a box, seen from above |
| CDiffDriveEKF | An extended Kalman filter that fuses everything a small differential drive robot senses: wheel encoders, a gyroscope, infrared elements and a camera that see a line on the floor, and ultrasonic range sensors |
| CParameters | |
| CPose | |
| CRangeSensor | Where an ultrasonic sensor is on the robot, relative to the centre of the axle, and what it hears |
| CDiffDriveMap | What a robot knows about where it drives: the line on the floor, a RoundedRectangle, and the walls and boxes its range sensors can hear |
| CDiffDriveOdometry | Dead reckoning for a differential drive robot from its wheel encoders |
| CPose | A pose in the plane: the point halfway between the wheels and the heading from the x axis [m, m, rad] |
| CGyroHeading | The heading of a robot from its gyroscope: dead reckoning of the rate about the vertical |
| CCHRONO_DiffDriveRobot | A differential-drive robot in Chrono: a chassis, two driven wheels and a ball caster. Each driven wheel has an actuators::DCMotor |
| CRobotData | |
| CRobotSensorManager | |
| CContactCounter | Counts the contacts that touch any of a set of bodies, such as the obstacles a robot should not hit |
| CFloorImage | An image of the floor, centred on the world origin |
| CIMUSensor | An inertial measurement unit: a three axis accelerometer and a three axis gyroscope, along the axes of the body it is on |
| CInfraredSensor | An array of infrared reflectance elements that looks at the floor, to tell its colour: light paper or a dark line |
| CUltrasonicSensor | Class for modelling ultrasonic sensors |
| CRoundedRectangle | A closed track in the plane: a rectangle centred on the origin with its sides along x and y, and its corners rounded with quarter circles |
| CFrameRecorder | Writes the window to dir/frame_00000.png, frame_00001.png, ..., rate times a second of simulation, to be put together into a movie. With an empty dir it writes nothing |
| CInsetCamera | A camera on a robot whose view is drawn in the top left corner of the window. It only shows the scene; mouse and keyboard still move the main camera |
| CTrail | A path drawn as a line: in the plane, just above the floor, where a robot has been or where it thinks it has been; or in space, where something has flown |
| Nekf_sensor_fusion_mqtt | |
| CMotionModel | |
| CGPSModel | |
| Nekf_slam | |
| CRun | |
| CEKFSlam | Simultaneous localisation and mapping with an extended Kalman filter: a robot works out where it is and where the landmarks around it are, at the same time, from odometry and range-and-bearing sightings of the landmarks |
| CParameters | |
| CPose | |
| CObservation | A sighting of a landmark: which one, and where it is from the robot |
| CSighting | A sighting with no id: where something is from the robot, but not which landmark |
| CAssociation | How update_unknown() associates, on the squared Mahalanobis distance. The defaults are the 99 % point of the chi-squared distribution with 2 degrees of freedom, and the distance that a sighting of a mapped landmark is beyond once in about 270 000 times |
| CAssociationResult | What update_unknown() did with each sighting of a scan |
| CBoxWorld | A rectangular slice of the plane with axis-aligned box obstacles, a start and a goal |
| CBox | An axis-aligned box [x0, x1] x [y0, y1] [m] |
| CRayHit | What a range beam found: whether it struck anything within reach, and how far away |
| Nekf_slam_data_association | |
| CScore | |
| CSeen | |
| CEKFSlam | Simultaneous localisation and mapping with an extended Kalman filter: a robot works out where it is and where the landmarks around it are, at the same time, from odometry and range-and-bearing sightings of the landmarks |
| CParameters | |
| CPose | |
| CObservation | A sighting of a landmark: which one, and where it is from the robot |
| CSighting | A sighting with no id: where something is from the robot, but not which landmark |
| CAssociation | How update_unknown() associates, on the squared Mahalanobis distance. The defaults are the 99 % point of the chi-squared distribution with 2 degrees of freedom, and the distance that a sighting of a mapped landmark is beyond once in about 270 000 times |
| CAssociationResult | What update_unknown() did with each sighting of a scan |
| CBoxWorld | A rectangular slice of the plane with axis-aligned box obstacles, a start and a goal |
| CBox | An axis-aligned box [x0, x1] x [y0, y1] [m] |
| CRayHit | What a range beam found: whether it struck anything within reach, and how far away |
| Nexample | |
| CLinearRegressionModel | |
| CArduinoONCMD | |
| CArduinoOFFCMD | |
| CIterationCounter | The IterationCounter class |
| CJSONFileReader | |
| CRESTRLEnvClient | Utility class to facilitate HTTP requests between the environments REST API and C++ drivers |
| CArduinoCMDBase | |
| CArduinoConnectorUSBBase | |
| CArduinoConnectorWIFIBase | |
| Nexample14 | |
| CCHRONO_DiffDriveRobot | A differential-drive robot in Chrono: a chassis, two driven wheels and a ball caster. Each driven wheel has an actuators::DCMotor |
| CRobotData | |
| CRobotSensorManager | |
| Nexample21 | |
| CLogisticRegressionModel | |
| Nexample_12 | |
| CFrozenLake | |
| CRESTRLEnvClient | Utility class to facilitate HTTP requests between the environments REST API and C++ drivers |
| CRLSerialAgentTrainer | |
| CRLSerialTrainerConfig | The RLSerialTrainerConfig struct. Configuration struct for the serial RL agent trainer |
| CIterativePolicyEvalConfig | |
| CIterativePolicyEvalutationSolver | The IterativePolicyEval class |
| CUniformDiscretePolicy | The UniformDiscretePolicy class |
| Nexample_14 | |
| CRLSerialAgentTrainer | |
| CRLSerialTrainerConfig | The RLSerialTrainerConfig struct. Configuration struct for the serial RL agent trainer |
| CValueIteration | ValueIteration class |
| CValueIterationConfig | The ValueIterationConfig struct |
| CFrozenLake | |
| CRESTRLEnvClient | Utility class to facilitate HTTP requests between the environments REST API and C++ drivers |
| Nexample_22 | |
| CRandomActionSelector | |
| CTrajectoryGenerator | |
| CDiscountGenerator | |
| CFrozenLake | |
| CRESTRLEnvClient | Utility class to facilitate HTTP requests between the environments REST API and C++ drivers |
| CInverseDecayLRScheduler | Struct InverseDecayLRScheduler. Decays the learning rate it was given with the episodes, as alpha / (1 + episode / decay), but not below min_alpha. A constant learning rate keeps the estimates of Monte Carlo and temporal difference methods moving with every new return; a decaying one lets them settle on the mean |
| CRLSerialAgentTrainer | |
| CRLSerialTrainerConfig | The RLSerialTrainerConfig struct. Configuration struct for the serial RL agent trainer |
| CFirstVisitMCSolver | |
| CFirstVisitMCSolverConfig | |
| CEpsilonGreedyPolicy | The EpsilonGreedyPolicy class |
| Nexample_26 | |
| CRESTRLEnvClient | Utility class to facilitate HTTP requests between the environments REST API and C++ drivers |
| CRLSerialAgentTrainer | |
| CRLSerialTrainerConfig | The RLSerialTrainerConfig struct. Configuration struct for the serial RL agent trainer |
| CExpectedSarsaConfig | The configuration of ExpectedSarsaSolver |
| CExpectedSarsaSolver | Tabular expected SARSA, see Sutton and Barto, Reinforcement Learning: An Introduction, section 6.6 |
| CEpsilonGreedyPolicy | The EpsilonGreedyPolicy class |
| Nexamples | |
| CCliffWalk | |
| Nexport_policy | |
| CPolicyNetworkImpl | |
| CEpsilonGreedyPolicy | The EpsilonGreedyPolicy class |
| CMaxTabularPolicy | Class MaxTabularPolicy |
| CCliffWalk | |
| Nextended_kalman_filter | |
| CObservationModel | |
| CExtendedKalmanFilter | The extended Kalman filter: it predicts the state with a non-linear motion model and corrects it with measurements from any number of observation models, each linearised about the current estimate |
| CDiffDriveDynamics | 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: |
| CSysState | SysState utility class describing the state of a system |
| CIterationCounter | The IterationCounter class |
| CCSVWriter | The CSVWriter class. Handles writing into CSV file format |
| Nfixed_wing_flight | |
| COptions | |
| CDisplay | |
| Nfixed_wing_lqr_mpc | |
| CTrack | |
| CFixedWingControls | What the pilot or the autopilot sets |
| CFixedWingDynamics | The 6-DOF flight dynamics of a fixed wing aircraft, with its landing gear on a flat ground at down = 0 |
| CFixedWingParameters | The aircraft: its mass, its geometry, its aerodynamic coefficients, its propeller and motor, and its landing gear. aerosonde() gives the small UAV of Beard and McLain |
| Nforward_kinematics | |
| CChronoArm | |
| Ngym_walk | |
| CGymWalk | |
| CRESTRLEnvClient | Utility class to facilitate HTTP requests between the environments REST API and C++ drivers |
| Ngymnasium_part_1 | |
| CCmd | |
| CMotionModel | |
| CObservationModel | |
| CBlackJack | |
| CCliffWorld | The CliffWorld class |
| CFrozenLake | |
| CTaxi | The Taxi class |
| CRESTRLEnvClient | Utility class to facilitate HTTP requests between the environments REST API and C++ drivers |
| CKalmanFilter | 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 |
| CKalmanFilterConfig | Configuration class for the Kalman filter |
| CKFModelBase | |
| CKFMotionModelBase | |
| CIterationCounter | The IterationCounter class |
| CCSVWriter | The CSVWriter class. Handles writing into CSV file format |
| Nhardware_in_the_loop_sync | |
| CPose | |
| CStatistics | |
| Nimu_heading | |
| CDriver | |
| CWorld | |
| CDisplay | |
| COptions | |
| CInfraredLineFollower | Follow a dark line with a row of infrared elements |
| CParameters | |
| CGyroHeading | The heading of a robot from its gyroscope: dead reckoning of the rate about the vertical |
| CCHRONO_DiffDriveRobot | A differential-drive robot in Chrono: a chassis, two driven wheels and a ball caster. Each driven wheel has an actuators::DCMotor |
| CRobotData | |
| CRobotSensorManager | |
| CContactCounter | Counts the contacts that touch any of a set of bodies, such as the obstacles a robot should not hit |
| CFloorImage | An image of the floor, centred on the world origin |
| CIMUSensor | An inertial measurement unit: a three axis accelerometer and a three axis gyroscope, along the axes of the body it is on |
| CInfraredSensor | An array of infrared reflectance elements that looks at the floor, to tell its colour: light paper or a dark line |
| CUltrasonicSensor | Class for modelling ultrasonic sensors |
| CRoundedRectangle | A closed track in the plane: a rectangle centred on the origin with its sides along x and y, and its corners rounded with quarter circles |
| CFrameRecorder | Writes the window to dir/frame_00000.png, frame_00001.png, ..., rate times a second of simulation, to be put together into a movie. With an empty dir it writes nothing |
| CInsetCamera | A camera on a robot whose view is drawn in the top left corner of the window. It only shows the scene; mouse and keyboard still move the main camera |
| CTrail | A path drawn as a line: in the plane, just above the floor, where a robot has been or where it thinks it has been; or in space, where something has flown |
| Nintro_example_1 | |
| CCircle | The Circle class. Models a common circle |
| CIterationCounter | The IterationCounter class |
| CJSONFileReader | |
| Nintro_example_4 | |
| CLogisticRegressionModelImpl | |
| CIterationCounter | The IterationCounter class |
| CJSONFileReader | |
| Nintro_example_7 | |
| CNormalDist | Wrapper to std::normal_distribution to facilitate sampling multiple values, sampling with a given seed and computing the PDF value at a specific point |
| CIterationCounter | The IterationCounter class |
| Ninverse_kinematics | |
| CChronoArm | |
| Nline_following_infrared_sonar | |
| CDriver | |
| CWorld | |
| CDisplay | |
| COptions | |
| CInfraredLineFollower | Follow a dark line with a row of infrared elements |
| CParameters | |
| CCHRONO_DiffDriveRobot | A differential-drive robot in Chrono: a chassis, two driven wheels and a ball caster. Each driven wheel has an actuators::DCMotor |
| CRobotData | |
| CRobotSensorManager | |
| CContactCounter | Counts the contacts that touch any of a set of bodies, such as the obstacles a robot should not hit |
| CFloorImage | An image of the floor, centred on the world origin |
| CInfraredSensor | An array of infrared reflectance elements that looks at the floor, to tell its colour: light paper or a dark line |
| CUltrasonicSensor | Class for modelling ultrasonic sensors |
| CRoundedRectangle | A closed track in the plane: a rectangle centred on the origin with its sides along x and y, and its corners rounded with quarter circles |
| CFrameRecorder | Writes the window to dir/frame_00000.png, frame_00001.png, ..., rate times a second of simulation, to be put together into a movie. With an empty dir it writes nothing |
| CInsetCamera | A camera on a robot whose view is drawn in the top left corner of the window. It only shows the scene; mouse and keyboard still move the main camera |
| CTrail | A path drawn as a line: in the plane, just above the floor, where a robot has been or where it thinks it has been; or in space, where something has flown |
| Nlog_experiment | |
| CConfig | |
| CEpsilonGreedyPolicy | The EpsilonGreedyPolicy class |
| CCliffWalk | |
| Nmcts_line_following | |
| CPose | |
| CTrackModel | |
| CTimeStep | |
| CTowardsTheLine | |
| CCandidate | |
| CWorld | |
| CDisplay | |
| COptions | |
| CMCTSConfig | The configuration of MCTSSolver |
| CMCTSSolver | Monte Carlo tree search, with UCB to pick the children (UCT) |
| CCHRONO_DiffDriveRobot | A differential-drive robot in Chrono: a chassis, two driven wheels and a ball caster. Each driven wheel has an actuators::DCMotor |
| CRobotData | |
| CRobotSensorManager | |
| CContactCounter | Counts the contacts that touch any of a set of bodies, such as the obstacles a robot should not hit |
| CFloorImage | An image of the floor, centred on the world origin |
| CRoundedRectangle | A closed track in the plane: a rectangle centred on the origin with its sides along x and y, and its corners rounded with quarter circles |
| CFrameRecorder | Writes the window to dir/frame_00000.png, frame_00001.png, ..., rate times a second of simulation, to be put together into a movie. With an empty dir it writes nothing |
| CTrail | A path drawn as a line: in the plane, just above the floor, where a robot has been or where it thinks it has been; or in space, where something has flown |
| Nml_example_2 | |
| CLpMetricWrapper | |
| Nmulti_agent_grid_world | |
| CRun | |
| Nmulti_robot_navigation | |
| CTeam | |
| Nparallel_monte_carlo | |
| CEnd | |
| CStatistics | |
| CDiffDriveDynamics | 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: |
| CSysState | SysState utility class describing the state of a system |
| Npi_camera_line_following | |
| CLineReading | |
| CSegment | |
| CPath | |
| CStart | |
| CCommand | |
| CLineFollower | |
| CSquarePathDriver | |
| CWorld | |
| CDisplay | |
| COptions | |
| CCHRONO_DiffDriveRobot | A differential-drive robot in Chrono: a chassis, two driven wheels and a ball caster. Each driven wheel has an actuators::DCMotor |
| CRobotData | |
| CRobotSensorManager | |
| CDownwardCamera | A camera on a robot that looks straight down at the floor ahead |
| CConfig | The camera's mounting and image |
| CFloorImage | An image of the floor, centred on the world origin |
| CCameraFrame | A frame delivered by a camera backend |
| CMJPEG_HTTPCameraBackend | Receives the frames of an MJPEG stream over HTTP, the multipart/x-mixed-replace response that many cameras and camera servers give, for example example 31's FastAPI server on a Raspberry Pi |
| CConfig | Settings of the backend |
| Nplot | |
| CArrow3D | |
| Nppo_cartpole | |
| CActorImpl | |
| CCriticImpl | |
| CTorchCategorical | |
| Nppo_distributed | |
| CActorImpl | |
| CCriticImpl | |
| CNetworks | |
| CRank | |
| CParallelEnvs | Several copies of an environment, stepped at the same time on the threads of a bitsim::utils::concurrency::ThreadPool |
| CCartPole | The cart-pole of Barto, Sutton and Anderson, simulated in this process with bitsim::dynamics::CartPoleDynamics |
| CTorchCategorical | |
| CCommunicator | How the ranks of a distributed training exchange numbers |
| CTCPStoreCommunicator | A Communicator through c10d::TCPStore, the key-value store that comes with libtorch |
| Nppo_parallel_rollouts | |
| CActorImpl | |
| CCriticImpl | |
| CSlowCartPole | |
| CNetworks | |
| CTraining | |
| CParallelEnvs | Several copies of an environment, stepped at the same time on the threads of a bitsim::utils::concurrency::ThreadPool |
| CCartPole | The cart-pole of Barto, Sutton and Anderson, simulated in this process with bitsim::dynamics::CartPoleDynamics |
| CTorchCategorical | |
| Nproducer_consumer | |
| CGyroReading | |
| CEstimate | |
| CConcurrentQueue | A first-in first-out queue that several threads can push to and pop from |
| Npytorch_policy_network | |
| CPolicyImpl | |
| CTorchCategorical | |
| Nquadrotor_dynamics | |
| CCSVWriter | The CSVWriter class. Handles writing into CSV file format |
| Nquadrotor_lqr | |
| CPath | |
| CDrone | |
| COptions | |
| CQuadrotorFlightController | The flight controller of a toy quadrotor in angle mode: it turns the sticks of an RCCommand into rotor speeds |
| CParameters | |
| CRCCommand | What the sticks of a radio transmitter for a quadrotor say, as a toy drone's transmitter sends them: the throttle and three sticks, and whether the motors are armed |
| CQuadrotorDynamics | The QuadrotorDynamics class. Implements quadrotor dynamics The implementation of this class follows the System Modeling section at https://wilselby.com/research/arducopter/modeling/ and https://scholarsarchive.byu.edu/cgi/viewcontent.cgi?article=2324&context=facpub The quadrotor is assumed to have four rotors Each rotor consists of a brushless DC motor and rotor with a fixed pitch. It is assumed that the quadrotor can move in 6 degrees of freedom; 3-translational and 3-rotational, The motion of the quadrotor is controlled via 4 inputs namely the speeds of the 4 motors. The quadrotor model that this class implements assumes the following: |
| CQuadrotorDynamicsConfig | |
| CSysState | SysState utility class describing the state of a system |
| Nquadrotor_rc_simulation | |
| CSimulatedQuadrotor | |
| CPhase | |
| CScriptedPilot | |
| COptions | |
| CSIM_RCLink | The radio link to a simulated quadrotor: the transmitter end sends commands, and the simulated receiver reads the latest one |
| CQuadrotorFlightController | The flight controller of a toy quadrotor in angle mode: it turns the sticks of an RCCommand into rotor speeds |
| CParameters | |
| CRCCommand | What the sticks of a radio transmitter for a quadrotor say, as a toy drone's transmitter sends them: the throttle and three sticks, and whether the motors are armed |
| CQuadrotorDynamics | The QuadrotorDynamics class. Implements quadrotor dynamics The implementation of this class follows the System Modeling section at https://wilselby.com/research/arducopter/modeling/ and https://scholarsarchive.byu.edu/cgi/viewcontent.cgi?article=2324&context=facpub The quadrotor is assumed to have four rotors Each rotor consists of a brushless DC motor and rotor with a fixed pitch. It is assumed that the quadrotor can move in 6 degrees of freedom; 3-translational and 3-rotational, The motion of the quadrotor is controlled via 4 inputs namely the speeds of the 4 motors. The quadrotor model that this class implements assumes the following: |
| CQuadrotorDynamicsConfig | |
| CSysState | SysState utility class describing the state of a system |
| Nreal_dc_motors | |
| CSegment | |
| COdometry | |
| CWorld | |
| CDCMotor | A DC motor with an encoder, run in speed control. The application sets the target speed of the output shaft and reads back its angle and speed. The backend decides what the motor is: |
| CDCArduinoBoardImpl | An Arduino that drives DC motors with encoders and talks over MQTT |
| CConfig | |
| CCHRONO_DiffDriveRobot | A differential-drive robot in Chrono: a chassis, two driven wheels and a ball caster. Each driven wheel has an actuators::DCMotor |
| CRobotData | |
| CRobotSensorManager | |
| Nrl_example_10 | |
| CRESTRLEnvClient | Utility class to facilitate HTTP requests between the environments REST API and C++ drivers |
| CRLSerialAgentTrainer | |
| CRLSerialTrainerConfig | The RLSerialTrainerConfig struct. Configuration struct for the serial RL agent trainer |
| CQLearningConfig | The QLearningConfig struct |
| CQLearningSolver | The QLearning class. Table based implementation of the Q-learning algorithm using epsilon-greedy policy. The implementation also allows for exponential decay of the used epsilon |
| CEpsilonGreedyPolicy | The EpsilonGreedyPolicy class |
| Nrl_example_11 | |
| CActorNetImpl | |
| CCriticNetImpl | The Critic network |
| CTorchCategorical | |
| CRESTRLEnvClient | Utility class to facilitate HTTP requests between the environments REST API and C++ drivers |
| CRLSerialAgentTrainer | |
| CRLSerialTrainerConfig | The RLSerialTrainerConfig struct. Configuration struct for the serial RL agent trainer |
| CA2CConfig | The A2CConfig struct. Configuration for A2CSolver class |
| CA2CSolver | A2C solver assuming separate networks for the actor and the critic. Similar to the Reinforce algorithm implementation, the PolicyType should expose an act method with the following signature |
| CTorchNormalDist | Normal distribution to be used with torchlib |
| CPPOConfig | The PPOConfig struct. Configuration for PPOSolver class |
| CPPOSolver | |
| CTorchAdaptor | The TorchStateAdaptor struct |
| Nrl_example_12 | |
| CQNetImpl | |
| CGridworld | |
| CRLSerialAgentTrainer | |
| CRLSerialTrainerConfig | The RLSerialTrainerConfig struct. Configuration struct for the serial RL agent trainer |
| CEpsilonGreedyPolicy | The EpsilonGreedyPolicy class |
| CCSVWriter | The CSVWriter class. Handles writing into CSV file format |
| CExperienceBuffer | The ExperienceBuffer class. A buffer based on boost::circular_buffer to accumulate items of type ExperienceType. see for example the A2C algorithm in A2C.h and rl_example_15 |
| Nrl_example_13 | |
| CPolicyNetImpl | |
| CCartPole | Interface for CartPole environment |
| CTorchCategorical | |
| CRESTRLEnvClient | Utility class to facilitate HTTP requests between the environments REST API and C++ drivers |
| CRLSerialAgentTrainer | |
| CRLSerialTrainerConfig | The RLSerialTrainerConfig struct. Configuration struct for the serial RL agent trainer |
| CReinforceConfig | The ReinforceOpts struct. Holds various configuration options for the Reinforce algorithm |
| CReinforceSolver | The ReinforceSolver class. The ReinforceSolver trains a policy represented by the PolicyTp template parameter on the environment represented by the EnvType parameter |
| Nrl_example_2 | |
| CSamplingResult | |
| CMultiArmedBandits | |
| CEpsilonGreedyPolicy | The EpsilonGreedyPolicy class |
| CBernoulliDist | Class BernoulliDist. Wrapper to std::bernoulli_distribution |
| CBetaDist | The beta distribution is a real-valued distribution which produces values in the range [0, 1]. It has two parameters, alpha and beta |
| Nrl_example_21 | |
| CTorchCategorical | |
| CRLSerialAgentTrainer | |
| CRLSerialTrainerConfig | The RLSerialTrainerConfig struct. Configuration struct for the serial RL agent trainer |
| CA2CConfig | The A2CConfig struct. Configuration for A2CSolver class |
| CA2CSolver | A2C solver assuming separate networks for the actor and the critic. Similar to the Reinforce algorithm implementation, the PolicyType should expose an act method with the following signature |
| Nrl_example_7 | |
| CFrozenLake | |
| CRESTRLEnvClient | Utility class to facilitate HTTP requests between the environments REST API and C++ drivers |
| CRLSerialAgentTrainer | |
| CRLSerialTrainerConfig | The RLSerialTrainerConfig struct. Configuration struct for the serial RL agent trainer |
| CPolicyIterationConfig | The PolicyIterationConfig struct |
| CPolicyIterationSolver | The policy iteration class |
| CUniformDiscretePolicy | The UniformDiscretePolicy class |
| Nrl_example_9 | |
| CRESTRLEnvClient | Utility class to facilitate HTTP requests between the environments REST API and C++ drivers |
| CRLSerialAgentTrainer | |
| CRLSerialTrainerConfig | The RLSerialTrainerConfig struct. Configuration struct for the serial RL agent trainer |
| CSarsaConfig | The SarsaConfig struct |
| CSarsaSolver | The Sarsa class |
| CEpsilonGreedyPolicy | The EpsilonGreedyPolicy class |
| Nrotation_matrices | |
| CTurn | |
| Ntensorboard | |
| CTensorboardServer | Class TensorboardServer |
| CJSONFileReader | |
| Nwheel_odometry | |
| CDriver | |
| CWorld | |
| CDisplay | |
| COptions | |
| CInfraredLineFollower | Follow a dark line with a row of infrared elements |
| CParameters | |
| CDiffDriveOdometry | Dead reckoning for a differential drive robot from its wheel encoders |
| CPose | A pose in the plane: the point halfway between the wheels and the heading from the x axis [m, m, rad] |
| CGyroHeading | The heading of a robot from its gyroscope: dead reckoning of the rate about the vertical |
| CCHRONO_DiffDriveRobot | A differential-drive robot in Chrono: a chassis, two driven wheels and a ball caster. Each driven wheel has an actuators::DCMotor |
| CRobotData | |
| CRobotSensorManager | |
| CContactCounter | Counts the contacts that touch any of a set of bodies, such as the obstacles a robot should not hit |
| CFloorImage | An image of the floor, centred on the world origin |
| CIMUSensor | An inertial measurement unit: a three axis accelerometer and a three axis gyroscope, along the axes of the body it is on |
| CInfraredSensor | An array of infrared reflectance elements that looks at the floor, to tell its colour: light paper or a dark line |
| CUltrasonicSensor | Class for modelling ultrasonic sensors |
| CRoundedRectangle | A closed track in the plane: a rectangle centred on the origin with its sides along x and y, and its corners rounded with quarter circles |
| CFrameRecorder | Writes the window to dir/frame_00000.png, frame_00001.png, ..., rate times a second of simulation, to be put together into a movie. With an empty dir it writes nothing |
| CInsetCamera | A camera on a robot whose view is drawn in the top left corner of the window. It only shows the scene; mouse and keyboard still move the main camera |
| CTrail | A path drawn as a line: in the plane, just above the floor, where a robot has been or where it thinks it has been; or in space, where something has flown |