Skip to content

Commit 90d9155

Browse files
remove individual analog and digital statuses
1 parent 629eaf7 commit 90d9155

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

proto/viam/common/v1/common.proto

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,6 @@ message ResourceName {
1818
optional string machine_part_id = 5;
1919
}
2020

21-
message AnalogStatus {
22-
// Current value of the analog reader of a robot's board
23-
int32 value = 1;
24-
}
25-
26-
message DigitalInterruptStatus {
27-
// Current value of the digital interrupt of a robot's board
28-
int64 value = 1;
29-
}
3021
/* Pose is a combination of location and orientation.
3122
Location is expressed as distance which is represented by x , y, z coordinates. Orientation is expressed as an orientation vector which
3223
is represented by o_x, o_y, o_z and theta. The o_x, o_y, o_z coordinates represent the point on the cartesian unit sphere that the end of

proto/viam/component/board/v1/board.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ service BoardService {
112112
}
113113

114114
message Status {
115-
map<string, common.v1.AnalogStatus> analogs = 1;
116-
map<string, common.v1.DigitalInterruptStatus> digital_interrupts = 2;
115+
map<string, int32> analogs = 1;
116+
map<string, int64> digital_interrupts = 2;
117117
}
118118

119119
message SetGPIORequest {

0 commit comments

Comments
 (0)