|
LIRRA
1.0.0
|
Public Member Functions | |
| __post_init__ (self) | |
| None | reset (self, np.ndarray x) |
| np.ndarray | position (self, np.ndarray x) |
| np.ndarray | __call__ (self, np.ndarray x) |
| tuple[np.ndarray, np.ndarray] | rollout (self, DiscreteLinearModel model, np.ndarray x0, int n) |
Public Attributes | |
| waypoints | |
| index | |
| planar | |
| u_lo | |
| u_hi | |
Static Public Attributes | |
| tuple | planar [AxisPD, ...] |
| np | waypoints .ndarray |
| np | u_lo .ndarray |
| np | u_hi .ndarray |
| float | waypoint_tol = 0.1 |
| tuple | regulated = () |
| int | index = 0 |
Protected Member Functions | |
| int | _advance (self, np.ndarray x, int index) |
| np.ndarray | _u (self, np.ndarray x, int index) |
PD patrol; ``planar`` (patrol) axes follow the waypoints, ``regulated`` axes their set-points.
| np.ndarray rl_stl.policies.nominal.PatrolPD.__call__ | ( | self, | |
| np.ndarray | x | ||
| ) |
Input at ``x``; advances the internal waypoint index.
| rl_stl.policies.nominal.PatrolPD.__post_init__ | ( | self | ) |
|
protected |
|
protected |
| np.ndarray rl_stl.policies.nominal.PatrolPD.position | ( | self, | |
| np.ndarray | x | ||
| ) |
| None rl_stl.policies.nominal.PatrolPD.reset | ( | self, | |
| np.ndarray | x | ||
| ) |
Start at the waypoint after the closest one (NAHS starts at the first corner ahead).
| tuple[np.ndarray, np.ndarray] rl_stl.policies.nominal.PatrolPD.rollout | ( | self, | |
| DiscreteLinearModel | model, | ||
| np.ndarray | x0, | ||
| int | n | ||
| ) |
Nominal reference ``(X (n+1, nx), U (n, nu))`` from ``x0`` (internal index untouched).
|
static |
| rl_stl.policies.nominal.PatrolPD.index |
|
static |
| rl_stl.policies.nominal.PatrolPD.planar |
|
static |
|
static |
| rl_stl.policies.nominal.PatrolPD.u_hi |
|
static |
| rl_stl.policies.nominal.PatrolPD.u_lo |
|
static |
|
static |
| rl_stl.policies.nominal.PatrolPD.waypoints |