JaiaBot 2.0.0
JaiaBot micro-AUV software
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Loading...
Searching...
No Matches
motor.proto
Go to the documentation of this file.
1syntax = "proto2";
2
3import "dccl/option_extensions.proto";
4
5package jaiabot.protobuf;
6
7enum MotorHarnessType
8{
9 NONE = 1;
10 RPM_AND_THERMISTOR = 2;
11}
12
13message 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}