bitrl & cuberl Documentation
Simulation engine for reinforcement learning agents
Loading...
Searching...
No Matches
rlenvscpp::envs::gym_pybullet_drones::QuadcopterSimEnv Class Reference

#include <quadcopter_sim_env.h>

Inheritance diagram for rlenvscpp::envs::gym_pybullet_drones::QuadcopterSimEnv:
Collaboration diagram for rlenvscpp::envs::gym_pybullet_drones::QuadcopterSimEnv:

Public Types

typedef EnvBase< TimeStep< std::vector< real_t > >, std::vector< real_t > >::time_step_type time_step_type
 
typedef EnvBase< TimeStep< std::vector< real_t > >, std::vector< real_t > >::action_type action_type
 

Public Member Functions

 QuadcopterSimEnv (const std::string &url, const std::string &name)
 constructor
 
virtual void make (const std::string &version, const std::unordered_map< std::string, std::any > &options) override final
 make. Builds the environment. Optionally we can choose if the environment will be slippery
 
virtual time_step_type step (const action_type &action) override final
 step
 
virtual void close () override final
 close the environment
 
virtual time_step_type reset (uint_t seed, const std::unordered_map< std::string, std::any > &options) override final
 Reset the environment.
 
bool is_alive () const noexcept
 Query the environment server is the environment has been created.
 

Member Typedef Documentation

◆ action_type

typedef EnvBase<TimeStep<std::vector<real_t>>,std::vector<real_t>>::action_type rlenvscpp::envs::gym_pybullet_drones::QuadcopterSimEnv::action_type

◆ time_step_type

typedef EnvBase<TimeStep<std::vector<real_t>>,std::vector<real_t>>::time_step_type rlenvscpp::envs::gym_pybullet_drones::QuadcopterSimEnv::time_step_type

Constructor & Destructor Documentation

◆ QuadcopterSimEnv()

rlenvscpp::envs::gym_pybullet_drones::QuadcopterSimEnv::QuadcopterSimEnv ( const std::string &  url,
const std::string &  name 
)
inline

constructor

Member Function Documentation

◆ close()

void rlenvscpp::envs::gym_pybullet_drones::QuadcopterSimEnv::close ( )
finaloverridevirtual

close the environment

◆ is_alive()

bool rlenvscpp::envs::gym_pybullet_drones::QuadcopterSimEnv::is_alive ( ) const
noexcept

Query the environment server is the environment has been created.

◆ make()

void rlenvscpp::envs::gym_pybullet_drones::QuadcopterSimEnv::make ( const std::string &  version,
const std::unordered_map< std::string, std::any > &  options 
)
finaloverridevirtual

make. Builds the environment. Optionally we can choose if the environment will be slippery

◆ reset()

QuadcopterSimEnv::time_step_type rlenvscpp::envs::gym_pybullet_drones::QuadcopterSimEnv::reset ( uint_t  seed,
const std::unordered_map< std::string, std::any > &  options 
)
finaloverridevirtual

Reset the environment.

◆ step()

QuadcopterSimEnv::time_step_type rlenvscpp::envs::gym_pybullet_drones::QuadcopterSimEnv::step ( const action_type action)
finaloverridevirtual

step

Parameters
action
Returns

The documentation for this class was generated from the following files: