JaiaBot  1.19.0
JaiaBot micro-AUV software
motor.proto
Go to the documentation of this file.
1 syntax = "proto2";
2 
3 import "dccl/option_extensions.proto";
4 
5 package jaiabot.protobuf;
6 
7 enum MotorHarnessType
8 {
9  NONE = 1;
10  RPM_AND_THERMISTOR = 2;
11 }
12 
13 message Motor
14 {
15  message Thermistor {
16  optional float temperature = 1 [(dccl.field) = {
17  units { derived_dimensions: "temperature" system: "celsius" }
18  }];
19  optional float resistance = 2;
20  optional float voltage = 3;
21  }
22 
23  optional double rpm = 1;
24  optional Thermistor thermistor = 2;
25  optional MotorHarnessType motor_harness_type = 3 [default = NONE];
26 }