From 67fcec353acec8ea394fb620883a29c7261814b5 Mon Sep 17 00:00:00 2001 From: Piotr Spieker Date: Mon, 18 Nov 2024 19:29:37 +0100 Subject: [PATCH] Tune Task 1: Implement a Behavior Component --- docs/tasks/1_implement_behavior_component.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/tasks/1_implement_behavior_component.md b/docs/tasks/1_implement_behavior_component.md index 44d7dd0b..6386c566 100644 --- a/docs/tasks/1_implement_behavior_component.md +++ b/docs/tasks/1_implement_behavior_component.md @@ -33,6 +33,7 @@ Finish the implementation of the `checkInvocationCondition()` and `getCommand()` ## Instructions +- Run the unit tests and note that the `ChaseGhost` `scheckInvocationConditionFalse` test is failing - Open the implementation of the `ChaseGhost` behavior component in `src/chase_ghost_behavior.cpp`. - The `checkInvocationCondition()` function is already implemented but does not check for the presence of a ghost. - Implement the missing piece. Take a look at the implementation of `AvoidGhostBehavior::checkInvocationCondition()` if you need inspiration.