falling
Falling
Bases: FailureCondition
Falling (failure condition) used for any navigation-type tasks Episode terminates if the robot falls out of the world (i.e.: falls below the floor height by at least @fall_height
Parameters:
Name | Type | Description | Default |
---|---|---|---|
robot_idn
|
int
|
robot identifier to evaluate condition with. Default is 0, corresponding to the first robot added to the scene |
0
|
fall_height
|
float
|
distance (m) > 0 below the scene's floor height under which the the robot is considered to be falling out of the world |
0.03
|
topple
|
bool
|
whether to also consider the robot to be falling if it is toppling over (i.e.: if it is no longer upright |
True
|