QDpy
Loading...
Searching...
No Matches
qdac.VelocityControl Class Reference

A small continuous velocity task with asymmetric physical action bounds. More...

Inheritance diagram for qdac.VelocityControl:

Public Member Functions

 reset (self, *, seed=None, options=None)
 step (self, action)

Detailed Description

A small continuous velocity task with asymmetric physical action bounds.

Earn reward by matching a preferred velocity with two bounded controls.

Each observation contains the episode's preferred velocity, followed by
the current velocity. Each action sets the next velocity. The behavioral
descriptor is the mean commanded velocity, which equals the endpoint
displacement of an episode measured in units of one full horizon.

Definition at line 33 of file qdac.py.

Member Function Documentation

◆ reset()

qdac.VelocityControl.reset ( self,
* ,
seed = None,
options = None )
Draw a preferred velocity and start from rest.

Definition at line 46 of file qdac.py.

◆ step()

qdac.VelocityControl.step ( self,
action )
Apply a physical action and truncate at the episode's time limit.

Definition at line 57 of file qdac.py.


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