File tree Expand file tree Collapse file tree 5 files changed +23
-3
lines changed
Expand file tree Collapse file tree 5 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 11# ChangeLog
22
3+ ## [ 1.0.8] - 2024-10-24
4+
5+ ### Added
6+ - ServerParams.pitch_margin
7+
8+ ### Fixed
9+ -
10+
11+ ### Changed
12+ -
13+
14+ ### Engineers
15+ - [ SoroushMazloum] ( https://github.com/SoroushMazloum )
16+
17+ =======
18+
319## [ 1.0.7] - 2024-10-22
420
521### Added
Original file line number Diff line number Diff line change 1- // version 1.7
1+ // version 1.8
22
33syntax = "proto3" ;
44
@@ -1194,6 +1194,7 @@ message ServerParam {
11941194 float goal_area_length = 224 ;
11951195 float center_circle_r = 225 ;
11961196 float goal_post_radius = 226 ;
1197+ float pitch_margin = 227 ;
11971198}
11981199
11991200message PlayerParam {
Original file line number Diff line number Diff line change 1- // version 1.7
1+ // version 1.8
22
33namespace cpp soccer
44namespace py soccer
@@ -1152,7 +1152,8 @@ struct ServerParam {
11521152 223: double goal_area_width ,
11531153 224: double goal_area_length ,
11541154 225: double center_circle_r ,
1155- 226: double goal_post_radius
1155+ 226: double goal_post_radius ,
1156+ 227: double pitch_margin
11561157}
11571158
11581159struct PlayerParam {
Original file line number Diff line number Diff line change @@ -281,6 +281,7 @@ void GrpcClient::sendServerParam() const
281281 serverParam.set_goal_area_length (SP.goalAreaLength ());
282282 serverParam.set_center_circle_r (SP.centerCircleR ());
283283 serverParam.set_goal_post_radius (SP.goalPostRadius ());
284+ serverParam.set_pitch_margin (SP.pitchMargin ());
284285 ClientContext context;
285286 protos::Empty empty;
286287 protos::RegisterResponse* response = new protos::RegisterResponse (*M_register_response);
Original file line number Diff line number Diff line change @@ -262,6 +262,7 @@ void ThriftAgent::sendServerParam() const
262262 serverParam.goal_area_length = SP.goalAreaLength ();
263263 serverParam.center_circle_r = SP.centerCircleR ();
264264 serverParam.goal_post_radius = SP.goalPostRadius ();
265+ serverParam.pitch_margin = SP.pitchMargin ();
265266 try {
266267 soccer::Empty empty;
267268 serverParam.register_response = M_register_response;
You can’t perform that action at this time.
0 commit comments