Darwin Neuroevolution Framework
Public Attributes | List of all members
drone_track::Config Struct Reference

Drone Track domain configuration. More...

#include <domain.h>

Inheritance diagram for drone_track::Config:
core::PropertySet core::NonCopyable

Public Attributes

float drone_radius = 0.3f
 "Drone size"
 
float max_move_force = 10.0f
 "Maximum force used to move the drone"
 
float max_lateral_force = 10.0f
 "Maximum lateral force"
 
float max_rotate_torque = 0.5f
 "Maximum torque used to rotate the drone"
 
float drone_friction = 0.1f
 "Drone friction"
 
float camera_fov = 60
 "Camera field of view (FOV)"
 
int camera_resolution = 64
 "Camera resolution"
 
bool camera_depth = false
 "Use camera depth channel"
 
bool touch_sensor = false
 "Use the drone's touch sensor"
 
int touch_resolution = 8
 "Touch sensor resolution"
 
bool accelerometer = false
 "Use the drone's accelerometer"
 
bool compass = false
 "Use the drone's compass"
 
float track_width = 1.8f
 "Track width"
 
int track_complexity = 20
 "The approximate number of turns"
 
int track_resolution = 500
 "Number of track segments"
 
float curb_width = 0.1f
 "Curb width"
 
float curb_friction = 0.5f
 "Track's curb friction"
 
bool track_gates = true
 "Generate track gates"
 
bool solid_gate_posts = true
 "Solid gate posts"
 
int test_worlds = 3
 "Number of test worlds per generation"
 
int max_steps = 1000
 "Maximum number of steps per episode"
 

Additional Inherited Members

- Public Member Functions inherited from core::PropertySet
vector< Property * > properties ()
 Accessor to the list of properties.
 
vector< const Property * > properties () const
 Accessor to the list of properties.
 
void resetToDefaultValues ()
 Resets all the properties to the default values.
 
void copyFrom (const PropertySet &src)
 Transfer values between two property sets.
 
void seal (bool sealed=true)
 After sealing a PropertySet, all attempts to modify it through the Property interface will throw an exception (even if setting to the same value)
 
bool sealed () const
 Returns true if the property set is sealed.
 
void onPropertyChange (const Property *property)
 Called before updating a property value.
 
json toJson () const
 Serialize all the properties to a json object. More...
 
void fromJson (const json &json_obj)
 Deserialize a set of properties from a json object. More...
 

Detailed Description

Drone Track domain configuration.


The documentation for this struct was generated from the following file: