Skip to content

Possible mismatch in Drive goal_behavior=0 score semantics after respawn #450

@tlt18

Description

@tlt18

Hi, I wanted to clarify the intended score semantics for Drive goal_behavior=0 on the default branch.

The docs say respawn mode ignores post-respawn collisions, which I interpret as: pre-goal collision/off-road should still disqualify success, but failures after the first goal/respawn should not.

In the current default branch, though, respawn_agent() resets collided_before_goal, while add_log() uses collided_before_goal for score in GOAL_RESPAWN mode. This seems to allow a pre-goal collision to be cleared after reaching the goal and respawning, so the final score can still be 1.

Is that intended, or should pre-goal failure persist until logging?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions