File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
aegis_grpc/proto_aegis_grpc/v1 Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -11,13 +11,27 @@ service RobotReadService {
1111 rpc GetTCPPose (google.protobuf.Empty ) returns (Pose );
1212 rpc GetWrench (google.protobuf.Empty ) returns (Wrench );
1313 rpc GetJointStates (google.protobuf.Empty ) returns (JointState );
14+ rpc GetCameraSceneImage (google.protobuf.Empty ) returns (Image );
15+ rpc GetCameraRightImage (google.protobuf.Empty ) returns (Image );
16+ rpc GetCameraLeftImage (google.protobuf.Empty ) returns (Image );
1417 rpc GetAll (google.protobuf.Empty ) returns (RobotState );
18+ rpc GetAllVis (google.protobuf.Empty ) returns (RobotStateVis );
1519}
1620
1721message RobotState {
1822 Pose pose = 1 ;
1923 Wrench wrench = 2 ;
2024 JointState joint_state = 3 ;
25+ Image image = 4 ;
26+ }
27+
28+ message RobotStateVis {
29+ Pose pose = 1 ;
30+ Wrench wrench = 2 ;
31+ JointState joint_state = 3 ;
32+ Image image_scene = 4 ;
33+ Image image_right = 5 ;
34+ Image image_left = 6 ;
2135}
2236
2337service RobotControlService {
Original file line number Diff line number Diff line change @@ -20,3 +20,17 @@ message JointState {
2020 repeated double velocity = 3 ;
2121 repeated double effort = 4 ;
2222}
23+
24+ // https://github.com/ros2/common_interfaces/blob/rolling/sensor_msgs/msg/Image.msg
25+ message Image {
26+ uint32 height = 1 ;
27+ uint32 width = 2 ;
28+ enum Encoding {
29+ UNKNOWN = 0 ;
30+ BGR8 = 1 ;
31+ BAYER_RGGB8 = 2 ;
32+ }
33+ Encoding encoding = 3 ;
34+ uint32 step = 4 ;
35+ bytes data = 5 ;
36+ }
You can’t perform that action at this time.
0 commit comments