Class QuadcopterSimEnv¶
Defined in File quadcopter_sim_env.h
Inheritance Relationships¶
Base Type¶
public EnvBase< TimeStep< std::vector< real_t > >, std::vector< real_t > >
Class Documentation¶
-
class QuadcopterSimEnv : public EnvBase<TimeStep<std::vector<real_t>>, std::vector<real_t>>¶
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 Functions
-
inline 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) final override¶
make. Builds the environment. Optionally we can choose if the environment will be slippery
-
virtual time_step_type step(const action_type &action) final override¶
step
- Parameters:
action –
- Returns:
-
virtual void close() final override¶
close the environment
-
virtual time_step_type reset(uint_t seed, const std::unordered_map<std::string, std::any> &options) final override¶
Reset the environment.
-
bool is_alive() const noexcept¶
Query the environment server is the environment has been created.
-
typedef EnvBase<TimeStep<std::vector<real_t>>, std::vector<real_t>>::time_step_type time_step_type¶