Add synchronous and streaming MotorService APIs backed by the PLC Modbus TCP runtime and protocol driver. Extend AUBO JSON commands and isolate vendor libstdc++ paths while keeping build-tree tests runnable.
22 lines
828 B
Protocol Buffer
22 lines
828 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package cmvr.api;
|
|
|
|
import "cmvr/api/motor_command.proto";
|
|
|
|
service MotorService {
|
|
rpc setZero(SetMotorZeroRequest) returns (MotorCommandResponse);
|
|
rpc moveToZero(MoveMotorToZeroRequest) returns (MotorCommandResponse);
|
|
rpc profilePosition(ProfilePositionRequest) returns (MotorCommandResponse);
|
|
rpc profileVelocity(ProfileVelocityRequest) returns (MotorCommandResponse);
|
|
|
|
rpc streamCyclicPosition(stream CyclicPositionRequest)
|
|
returns (stream CyclicControlResponse);
|
|
rpc streamCyclicVelocity(stream CyclicVelocityRequest)
|
|
returns (stream CyclicControlResponse);
|
|
|
|
rpc emergencyStop(EmergencyStopRequest) returns (MotorCommandResponse);
|
|
rpc getStatus(GetMotorStatusRequest) returns (GetMotorStatusResponse);
|
|
rpc setEnabled(SetMotorEnabledRequest) returns (MotorCommandResponse);
|
|
}
|