Skip to content

Commit

Permalink
Merge pull request #34 from CLSFramework/grpc_error
Browse files Browse the repository at this point in the history
fix a critical error for grpc
  • Loading branch information
naderzare authored Oct 19, 2024
2 parents 581d8cc + 3f17c6e commit 3903a0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/grpc-client/grpc_client_player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,7 @@ bool GrpcClientPlayer::GetBestPlannerAction()
protos::RegisterResponse* response = new protos::RegisterResponse(*M_register_response);
action_state_pairs->set_allocated_register_response(response);
State state = generateState();
state.set_allocated_register_response(response);
action_state_pairs->set_allocated_state(&state);
#ifdef DEBUG_CLIENT_PLAYER
std::cout << "GetBestActionStatePair:" << "c" << M_agent->world().time().cycle() << std::endl;
Expand Down

0 comments on commit 3903a0a

Please sign in to comment.