An open API service indexing awesome lists of open source software.

https://github.com/pollen-robotics/reachy2-sdk-api

Reachy 2 SDK gRPC APIs.
https://github.com/pollen-robotics/reachy2-sdk-api

grpc pollen-robotics reachy sdk

Last synced: about 1 month ago
JSON representation

Reachy 2 SDK gRPC APIs.

Awesome Lists containing this project

README

        

# 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
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](https://chromium.googlesource.com/external/github.com/grpc/grpc/+/HEAD/src/csharp/BUILD-INTEGRATION.md)