File tree Expand file tree Collapse file tree 4 files changed +29
-4
lines changed
Expand file tree Collapse file tree 4 files changed +29
-4
lines changed Original file line number Diff line number Diff line change 11# ChangeLog
22
3+ ## [ 1.0.9] - 2024-1۱-9
4+
5+ ### Added
6+ - bhv_goalieFreeKick added
7+
8+ ### Fixed
9+ -
10+
11+ ### Changed
12+ -
13+
14+ ### Engineers
15+ - [ SoroushMazloum] ( https://github.com/SoroushMazloum )
16+
317## [ 1.0.8] - 2024-10-24
418
519### Added
Original file line number Diff line number Diff line change 1- // version 1.8
1+ // version 1.9
22
33syntax = "proto3" ;
44
@@ -825,6 +825,8 @@ message bhv_doForceKick {}
825825
826826message bhv_doHeardPassRecieve {}
827827
828+ message bhv_goalieFreeKick {}
829+
828830message PlayerAction {
829831 oneof action {
830832 Dash dash = 1 ;
@@ -893,7 +895,7 @@ message PlayerAction {
893895 HeliosCommunicaion helios_communication = 64 ;
894896 bhv_doForceKick bhv_do_force_kick = 65 ;
895897 bhv_doHeardPassRecieve bhv_do_heard_pass_recieve = 66 ;
896-
898+ bhv_goalieFreeKick bhv_goalie_free_kick = 67 ;
897899 }
898900}
899901
Original file line number Diff line number Diff line change 1- // version 1.8
1+ // version 1.9
22
33namespace cpp soccer
44namespace py soccer
@@ -791,6 +791,8 @@ struct bhv_doForceKick {}
791791
792792struct bhv_doHeardPassRecieve {}
793793
794+ struct bhv_goalieFreeKick {}
795+
794796struct PlayerAction {
795797 1: optional Dash dash ,
796798 2: optional Turn turn ,
@@ -857,7 +859,8 @@ struct PlayerAction {
857859 63: optional HeliosPenalty helios_penalty ,
858860 64: optional HeliosCommunicaion helios_communication ,
859861 65: optional bhv_doForceKick bhv_do_force_kick ,
860- 66: optional bhv_doHeardPassRecieve bhv_do_heard_pass_recieve
862+ 66: optional bhv_doHeardPassRecieve bhv_do_heard_pass_recieve ,
863+ 67: optional bhv_goalieFreeKick bhv_goalie_free_kick
861864}
862865
863866struct PlayerActions {
Original file line number Diff line number Diff line change 5858#include " planner/action_chain_holder.h"
5959#include " planner/bhv_planned_action.h"
6060#include " player/strategy.h"
61+ #include " player/bhv_goalie_free_kick.h"
6162#include < rcsc/player/say_message_builder.h>
6263#include < rcsc/common/player_param.h>
6364
@@ -610,6 +611,11 @@ void ThriftClientPlayer::getActions()
610611 agent->debugClient ().addMessage (" doHeardPassReceive - false" );
611612 }
612613 }
614+ else if (action.__isset .bhv_goalie_free_kick )
615+ {
616+ Bhv_GoalieFreeKick ().execute (agent);
617+ agent->debugClient ().addMessage (" bhvGoalieFreeKick" );
618+ }
613619 else if (action.__isset .helios_offensive_planner )
614620 {
615621 FieldEvaluator::ConstPtr field_evaluator = FieldEvaluator::ConstPtr (new SampleFieldEvaluator);
You can’t perform that action at this time.
0 commit comments