Skip to content

pollen-robotics/reachy2-sdk-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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