Skip to content

Commit 5118a60

Browse files
committed
update idls
1 parent 850b1a0 commit 5118a60

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/grpc-client/grpc_client_player.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ void GrpcClientPlayer::updateChainByPlannerAction(const rcsc::WorldModel &wm, co
132132
g->max_nodes = action.helios_offensive_planner().max_nodes();
133133

134134
FieldEvaluator::Ptr field_evaluator = FieldEvaluator::Ptr(new SampleFieldEvaluator);
135-
if (action.helios_offensive_planner().has_evalution())
136-
field_evaluator->set_grpc_evalution_method(action.helios_offensive_planner().evalution());
135+
if (action.helios_offensive_planner().has_evaluation())
136+
field_evaluator->set_grpc_evalution_method(action.helios_offensive_planner().evaluation());
137137

138138
if (action.helios_offensive_planner().lead_pass()
139139
|| action.helios_offensive_planner().direct_pass() || action.helios_offensive_planner().through_pass())

src/player/planner/field_evaluator.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
#ifdef USE_GRPC
4040
#include "../../grpc-generated/service.pb.h"
41-
using protos::PlannerEvalution;
41+
using protos::PlannerEvaluation;
4242
#endif
4343

4444
#ifdef USE_THRIFT
@@ -82,11 +82,11 @@ class FieldEvaluator {
8282

8383
#ifdef USE_GRPC
8484
virtual
85-
void set_grpc_evalution_method( const PlannerEvalution & evalution ) = 0;
85+
void set_grpc_evalution_method( const PlannerEvaluation & evaluation ) = 0;
8686
#endif
8787
#ifdef USE_THRIFT
8888
virtual
89-
void set_thrift_evalution_method( const soccer::PlannerEvalution & evalution ) = 0;
89+
void set_thrift_evalution_method( const soccer::PlannerEvaluation & evaluation ) = 0;
9090
#endif
9191
};
9292

src/thrift-client/thrift_client_player.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ void ThriftClientPlayer::updateChainByDefault(const rcsc::WorldModel &wm)
127127
void ThriftClientPlayer::updateChainByPlannerAction(const rcsc::WorldModel &wm, const soccer::PlayerAction &action)
128128
{
129129
FieldEvaluator::Ptr field_evaluator = FieldEvaluator::Ptr(new SampleFieldEvaluator);
130-
if (action.helios_offensive_planner.__isset.evalution)
131-
field_evaluator->set_thrift_evalution_method(action.helios_offensive_planner.evalution);
130+
if (action.helios_offensive_planner.__isset.evaluation)
131+
field_evaluator->set_thrift_evalution_method(action.helios_offensive_planner.evaluation);
132132
CompositeActionGenerator *g = new CompositeActionGenerator();
133133

134134
if (action.helios_offensive_planner.max_depth > 0)

0 commit comments

Comments
 (0)