USC-NSL / Computational-Agroecology

6 stars 1 forks source link

About grpc #49

Open onethree-13 opened 5 years ago

onethree-13 commented 5 years ago

For the client part, I have tested the functions in protobuf successfully in JavaScript with a local JavaScript server.

For the client part on branch grpc-agent-server, the code is not compilable right now.

For the protobuf, I think it is too coarse even for the first version, and utilities, such as plant and water, are not implemented yet.

ralphchung commented 5 years ago

@onethree-13 It is surprising that it is not compilable. I have tested this on my own virtual machine which is running Ubuntu 18.04 with g++ version 7.4.0. Probably, the reason behind is the version of g++.

For the rest of the protobuf definitions, we could discuss it later.

onethree-13 commented 5 years ago

Branch grpc-agent-server is now merged into branch threejs. Now I have tested the CreateAgent service, and it works, despite no feedbacks.

fxdawnn commented 5 years ago

ADD CROP GRPC!

onethree-13 commented 5 years ago

Please add delete environment and delete agent function, or something equivalent to initialize everything for new game. @ralphchung