Detection of an adversary in front of the robot #23
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Actually, the AvoidanceInterfacer is able to find all repere::Positions of robots on the environment.
Moreover, it can say if an adversary is under a disk around the robot (
bool adversary_detected(Distance threshold)
)You should do better by also giving the advance sens of our robot: we want to detect adversaries only if it is in front of our robot in a cone of N degrees (or behind in the case of a backward move)
The function is already implemented, you only need to program the most-mathematical part 😄
The text was updated successfully, but these errors were encountered: