collision_reward
CollisionReward
Bases: BaseRewardFunction
Collision reward Penalize robot collision. Typically collision_reward_weight is negative. Note that we ignore collisions with any floor objects.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
robot_idn
|
int
|
robot identifier to evaluate collision penalty 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
|
r_collision
|
float
|
Penalty value (>0) to penalize collisions |
0.1
|