JaiaBot 2.7.0+40+ge813615b
JaiaBot micro-AUV software
 
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 MotorUsageBin {
14 required sint32 motor_micros = 1;
15 optional double average_rpm = 2;
16 optional double usage_time_seconds = 3;
17}
18
19
20message Motor
21{
22 message Thermistor {
23 optional float temperature = 1 [(dccl.field) = {
24 units { derived_dimensions: "temperature" system: "celsius" }
25 }];
26 optional float resistance = 2;
27 optional float voltage = 3;
28 }
29
30 optional double rpm = 1;
31 optional Thermistor thermistor = 2;
32 optional MotorHarnessType motor_harness_type = 3 [default = NONE];
33}
34
35message MotorUsageReport
36{
37 optional string bot_vin = 1;
38 optional string tail_serial_number = 2;
39 optional double total_running_time_seconds = 3;
40 repeated MotorUsageBin motor_usage_bins = 4;
41}