mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 22:00:05 +00:00
4f7dfc2069
Will add GRPC client and PyBullet GRPC server plugin. Will cover most/all SharedMemoryCommand/SharedMemoryStatus messages. Run the server, then test using the pybullet_client.py
20 lines
838 B
Batchfile
20 lines
838 B
Batchfile
del ..\pybullet.pb.cpp
|
|
del ..\pybullet.pb.h
|
|
del ..\pybullet.grpc.pb.cpp
|
|
del ..\pybullet.grpc.pb.h
|
|
|
|
..\..\..\ThirdPartyLibs\grpc\lib\win32\protoc --proto_path=. --cpp_out=. pybullet.proto
|
|
..\..\..\ThirdPartyLibs\grpc\lib\win32\protoc.exe --plugin=protoc-gen-grpc="..\..\..\ThirdPartyLibs\grpc\lib\win32\grpc_cpp_plugin.exe" --grpc_out=. pybullet.proto
|
|
move pybullet.grpc.pb.cc ..\pybullet.grpc.pb.cpp
|
|
move pybullet.grpc.pb.h ..\pybullet.grpc.pb.h
|
|
move pybullet.pb.cc ..\pybullet.pb.cpp
|
|
move pybullet.pb.h ..\pybullet.pb.h
|
|
|
|
del ..\pybullet_pb2.py
|
|
del ..\pybullet_pb2_grpc.py
|
|
|
|
..\..\..\ThirdPartyLibs\grpc\lib\win32\protoc --proto_path=. --python_out=. pybullet.proto
|
|
python -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. pybullet.proto
|
|
move pybullet_pb2.py ..\pybullet_pb2.py
|
|
move pybullet_pb2_grpc.py ..\pybullet_pb2_grpc.py
|