LIRRA  1.0.0
Loading...
Searching...
No Matches
rl_stl.stl.specs.ReachAvoidTrackScenario Class Reference

Public Member Functions

None __post_init__ (self)
 
int signal_dim (self)
 
STLFormula specification (self)
 
tuple[np.ndarray, np.ndarray] state_bounds (self)
 
tuple[np.ndarray, np.ndarray] input_bounds (self)
 
np.ndarray x0 (self)
 
np.ndarray goal_center (self)
 
np.ndarray reference (self)
 
np.ndarray reference_states (self)
 

Public Attributes

 obstacles
 

Static Public Attributes

float dt = 0.1
 
int horizon = 40
 
int goal_deadline = 35
 
tuple workspace = (0.0, 10.0, 0.0, 10.0)
 
tuple obstacles = ((4.0, 6.0, 3.5, 6.5),)
 
tuple goal = (8.0, 9.5, 8.0, 9.5)
 
tuple start = (1.0, 1.0)
 
float v_max = 4.0
 
float a_max = 4.0
 
int reference_arrival_step = 30
 

Detailed Description

2-D double-integrator reach-avoid-track benchmark (theorem/debug stage).

Specification over the state signal ``y = [px, py, vx, vy]``::

    phi = G_[0,N] (in_workspace AND outside every obstacle)
          AND F_[0,N_goal] (in_goal)

Tracking a straight-line reference that passes through the obstacle is the
separate task objective ``J_task``; it is deliberately in conflict with the
specification.

Member Function Documentation

◆ __post_init__()

None rl_stl.stl.specs.ReachAvoidTrackScenario.__post_init__ (   self)

◆ goal_center()

np.ndarray rl_stl.stl.specs.ReachAvoidTrackScenario.goal_center (   self)

◆ input_bounds()

tuple[np.ndarray, np.ndarray] rl_stl.stl.specs.ReachAvoidTrackScenario.input_bounds (   self)

◆ reference()

np.ndarray rl_stl.stl.specs.ReachAvoidTrackScenario.reference (   self)
Position reference ``(N+1, 2)``: straight line start -> goal centre, then hold.

◆ reference_states()

np.ndarray rl_stl.stl.specs.ReachAvoidTrackScenario.reference_states (   self)
State reference ``(N+1, 4)`` with finite-difference velocities.

◆ signal_dim()

int rl_stl.stl.specs.ReachAvoidTrackScenario.signal_dim (   self)

◆ specification()

STLFormula rl_stl.stl.specs.ReachAvoidTrackScenario.specification (   self)

◆ state_bounds()

tuple[np.ndarray, np.ndarray] rl_stl.stl.specs.ReachAvoidTrackScenario.state_bounds (   self)
Hard state box; also the signal domain for online interval semantics.

◆ x0()

np.ndarray rl_stl.stl.specs.ReachAvoidTrackScenario.x0 (   self)

Member Data Documentation

◆ a_max

float rl_stl.stl.specs.ReachAvoidTrackScenario.a_max = 4.0
static

◆ dt

float rl_stl.stl.specs.ReachAvoidTrackScenario.dt = 0.1
static

◆ goal

tuple rl_stl.stl.specs.ReachAvoidTrackScenario.goal = (8.0, 9.5, 8.0, 9.5)
static

◆ goal_deadline

int rl_stl.stl.specs.ReachAvoidTrackScenario.goal_deadline = 35
static

◆ horizon

int rl_stl.stl.specs.ReachAvoidTrackScenario.horizon = 40
static

◆ obstacles [1/2]

tuple rl_stl.stl.specs.ReachAvoidTrackScenario.obstacles = ((4.0, 6.0, 3.5, 6.5),)
static

◆ obstacles [2/2]

rl_stl.stl.specs.ReachAvoidTrackScenario.obstacles

◆ reference_arrival_step

int rl_stl.stl.specs.ReachAvoidTrackScenario.reference_arrival_step = 30
static

◆ start

tuple rl_stl.stl.specs.ReachAvoidTrackScenario.start = (1.0, 1.0)
static

◆ v_max

float rl_stl.stl.specs.ReachAvoidTrackScenario.v_max = 4.0
static

◆ workspace

tuple rl_stl.stl.specs.ReachAvoidTrackScenario.workspace = (0.0, 10.0, 0.0, 10.0)
static

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