max_collision
MaxCollision
Bases: FailureCondition
MaxCollision (failure condition) used for navigation tasks Episode terminates if the robot has collided more than max_collisions_allowed times Note that we ignore collisions with any floor objects.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
robot_idn
|
int
|
robot identifier to evaluate collision checking with. Default is 0, corresponding to the first robot added to the scene |
0
|
ignore_self_collisions
|
bool
|
Whether to ignore robot self-collisions or not |
True
|
max_collisions
|
int
|
Maximum number of collisions allowed for any robots in the scene before a termination is triggered |
500
|