Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 834 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 834 Bytes

Protobuf for Reachy 2 SDK

Generate gRPC code

Code for Python and C# is generated automatically by the CI. You just need to git pull to get the generated code after any pushed changes to the .proto. If you still need to generate these files locally, you can do the following commands

For Python:

Just install pip install mypy-protobuf to generate the mypy stubs, and run:

python -m grpc_tools.protoc -I./protos --python_out=./python/reachy2_sdk_api --grpc_python_out=./python/reachy2_sdk_api --mypy_out=./python/reachy2_sdk_api --mypy_grpc_out=./python/reachy2_sdk_api  ./protos/*.proto

For C#

Open reachy_sdk.sln in Visual Studio, and Click Build > Build Solution Based on documentation