Skip to content
This repository was archived by the owner on Jan 23, 2024. It is now read-only.

Commit 20b0356

Browse files
committed
update dsd
1 parent fd48897 commit 20b0356

File tree

1 file changed

+9
-3
lines changed
  • bitbots_body_behavior/bitbots_body_behavior

1 file changed

+9
-3
lines changed

bitbots_body_behavior/bitbots_body_behavior/main.dsd

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,9 @@ $BallInOwnPercent + p:40
102102

103103
#SupporterRole
104104
$PassStarted
105-
YES --> @LookAtBall, @ChangeAction + action:positioning, @AvoidBallActive, @GoToPassAcceptPosition
105+
YES --> $BallSeen
106+
YES --> @LookAtBall, @ChangeAction + action:positioning, @AvoidBallActive, @GoToPassAcceptPosition
107+
NO --> @SearchBall, @ChangeAction + action:positioning, @AvoidBallActive, @GoToPassAcceptPosition
106108
NO --> @LookAtFieldFeatures, @ChangeAction + action:positioning, @AvoidBallActive, @GoToPassPreparePosition
107109

108110
#GoalieRole
@@ -123,7 +125,9 @@ $SecondaryStateTeamDecider
123125
LEFT --> @PlayAnimationGoalieFallLeft, @Stand
124126
RIGHT --> @PlayAnimationGoalieFallRight, @Stand
125127
CENTER --> @PlayAnimationGoalieFallCenter, @Stand
126-
ELSE --> @LookAtBall, @Stand
128+
ELSE --> $BallSeen
129+
YES --> @LookAtBall, @Stand
130+
NO --> @SearchBall, @Stand
127131

128132

129133
#Placing
@@ -189,7 +193,9 @@ $IsPenalized
189193
SET --> $SecondaryStateDecider
190194
PENALTYSHOOT --> $SecondaryStateTeamDecider
191195
OUR --> @Stand + duration:0.1 + r:false, @DeactivateHCM + r:false, @LookForward + r:false, @PlayAnimationInit + r:false, @GetWalkready + r:false, @Stand // we need to also see the goalie
192-
OTHER --> @Stand + duration:0.1 + r:false, @DeactivateHCM + r:false, @LookForward + r:false, @PlayAnimationInit + r:false, @GetWalkready + r:false, @LookAtBall + r:false, @PlayAnimationGoalieArms + r:false, @Stand // goalie only needs to care about the ball
196+
OTHER --> @Stand + duration:0.1 + r:false, @DeactivateHCM + r:false, @LookForward + r:false, @PlayAnimationInit + r:false, @GetWalkready + r:false, $BallSeen
197+
YES --> @LookAtBall + r:false, @PlayAnimationGoalieArms + r:false, @Stand // goalie only needs to care about the ball
198+
NO --> @SearchBall + r:false, @PlayAnimationGoalieArms + r:false, @Stand
193199
ELSE --> #StandAndLook
194200
FINISHED --> #Init
195201
PLAYING --> $SecondaryStateDecider

0 commit comments

Comments
 (0)