bitrl & cuberl Documentation
Simulation engine for reinforcement learning agents
Loading...
Searching...
No Matches
example_13 Namespace Reference

Classes

class  Robot
 
class  RobotEnv
 

Typedefs

typedef TimeStep< chrono::ChVector3d > time_step_type
 
typedef bitrl::envs::ContinuousVectorStateContinuousVectorActionEnv< STATE_SPACE_SIZE, STATE_SPACE_SIZEspace_type
 

Functions

auto build_wheel (std::shared_ptr< chrono::ChContactMaterialNSC > material, const chrono::ChVector3d &pos)
 
auto build_motor (std::shared_ptr< chrono::ChBodyEasyCylinder > wheel, std::shared_ptr< chrono::ChFunctionConst > speed_func, std::shared_ptr< chrono::ChBodyEasyBox > chassis, const chrono::ChVector3d &pos)
 

Variables

const real_t WHEEL_RADIUS = 0.1
 
const real_t CHASSIS_HEIGHT = 0.1
 
const real_t WHEEL_WIDTH = 0.05
 
const real_t CASTER_RADIUS = 0.05
 
constexpr uint_t STATE_SPACE_SIZE = 3
 
constexpr uint_t ACTION_SPACE_SIZE = 3
 

Typedef Documentation

◆ space_type

◆ time_step_type

typedef TimeStep<chrono::ChVector3d> example_13::time_step_type

Function Documentation

◆ build_motor()

auto example_13::build_motor ( std::shared_ptr< chrono::ChBodyEasyCylinder >  wheel,
std::shared_ptr< chrono::ChFunctionConst >  speed_func,
std::shared_ptr< chrono::ChBodyEasyBox >  chassis,
const chrono::ChVector3d &  pos 
)

◆ build_wheel()

auto example_13::build_wheel ( std::shared_ptr< chrono::ChContactMaterialNSC >  material,
const chrono::ChVector3d &  pos 
)

Variable Documentation

◆ ACTION_SPACE_SIZE

constexpr uint_t example_13::ACTION_SPACE_SIZE = 3
constexpr

◆ CASTER_RADIUS

const real_t example_13::CASTER_RADIUS = 0.05

◆ CHASSIS_HEIGHT

const real_t example_13::CHASSIS_HEIGHT = 0.1

◆ STATE_SPACE_SIZE

constexpr uint_t example_13::STATE_SPACE_SIZE = 3
constexpr

◆ WHEEL_RADIUS

const real_t example_13::WHEEL_RADIUS = 0.1

◆ WHEEL_WIDTH

const real_t example_13::WHEEL_WIDTH = 0.05