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
17 lines
517 B
C++
17 lines
517 B
C++
|
|
#ifndef BT_CONVERT_GRPC_BULLET_H
|
|
#define BT_CONVERT_GRPC_BULLET_H
|
|
|
|
#include "../PhysicsClientC_API.h"
|
|
|
|
namespace pybullet_grpc
|
|
{
|
|
class PyBulletCommand;
|
|
class PyBulletStatus;
|
|
};
|
|
|
|
struct SharedMemoryCommand* convertGRPCAndSubmitCommand(pybullet_grpc::PyBulletCommand& grpcCommand, struct SharedMemoryCommand& cmd);
|
|
|
|
bool convertStatusToGRPC(const struct SharedMemoryStatus& serverStatus, char* bufferServerToClient, int bufferSizeInBytes, pybullet_grpc::PyBulletStatus& grpcReply);
|
|
|
|
#endif //BT_CONVERT_GRPC_BULLET_H
|