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

Classes

class  Robot
class  RobotEnv
class  TimeStep
 Forward declaration. More...

Typedefs

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

Enumerations

enum class  TimeStepTp
 The TimeStepTp enum. More...

Functions

const std::string WINDOW_TITLE ("A robot in a ChSystemSMC")
auto build_generic_material ()
auto build_floor (std::shared_ptr< chrono::ChContactMaterialNSC > material)
auto build_chassis (std::shared_ptr< ChContactMaterialNSC > material)
auto build_wheel (std::shared_ptr< chrono::ChContactMaterialNSC > material, const chrono::ChVector3d &pos)
auto build_caster_wheel (std::shared_ptr< ChContactMaterialNSC > material, const chrono::ChVector3d &pos)
auto build_caster_joint (std::shared_ptr< chrono::ChBodyEasySphere > caster, std::shared_ptr< chrono::ChBodyEasyBox > chassis)
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 uint_t WINDOW_HEIGHT = 800
const uint_t WINDOW_WIDTH = 1024
const real_t DT = 0.002
const real_t SIM_TIME = 5.0
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> chrono_smc_system::time_step_type

Enumeration Type Documentation

◆ TimeStepTp

enum class bitrl::TimeStepTp : uint_t
strong

The TimeStepTp enum.

Function Documentation

◆ build_caster_joint()

auto chrono_smc_system::build_caster_joint ( std::shared_ptr< chrono::ChBodyEasySphere > caster,
std::shared_ptr< chrono::ChBodyEasyBox > chassis )

◆ build_caster_wheel()

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

◆ build_chassis()

auto chrono_smc_system::build_chassis ( std::shared_ptr< ChContactMaterialNSC > material)

◆ build_floor()

auto chrono_smc_system::build_floor ( std::shared_ptr< chrono::ChContactMaterialNSC > material)

◆ build_generic_material()

auto chrono_smc_system::build_generic_material ( )

◆ build_motor()

auto chrono_smc_system::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 chrono_smc_system::build_wheel ( std::shared_ptr< chrono::ChContactMaterialNSC > material,
const chrono::ChVector3d & pos )

◆ WINDOW_TITLE()

const std::string chrono_smc_system::WINDOW_TITLE ( "A robot in a ChSystemSMC" )

Variable Documentation

◆ ACTION_SPACE_SIZE

uint_t chrono_smc_system::ACTION_SPACE_SIZE = 3
constexpr

◆ CASTER_RADIUS

const real_t chrono_smc_system::CASTER_RADIUS = 0.05

◆ CHASSIS_HEIGHT

const real_t chrono_smc_system::CHASSIS_HEIGHT = 0.1

◆ DT

const real_t chrono_smc_system::DT = 0.002

◆ SIM_TIME

const real_t chrono_smc_system::SIM_TIME = 5.0

◆ STATE_SPACE_SIZE

uint_t chrono_smc_system::STATE_SPACE_SIZE = 3
constexpr

◆ WHEEL_RADIUS

const real_t chrono_smc_system::WHEEL_RADIUS = 0.1

◆ WHEEL_WIDTH

const real_t chrono_smc_system::WHEEL_WIDTH = 0.05

◆ WINDOW_HEIGHT

const uint_t chrono_smc_system::WINDOW_HEIGHT = 800

◆ WINDOW_WIDTH

const uint_t chrono_smc_system::WINDOW_WIDTH = 1024