Brian Silverman | 3811150 | 2014-04-10 12:36:26 -0700 | [diff] [blame] | 1 | package aos.controls; |
Brian Silverman | 7d16c57 | 2014-01-03 20:27:57 -0800 | [diff] [blame] | 2 | |
| 3 | // Each different set of values here represents a different set of sensor |
| 4 | // values (ie different encoder zeros etc). |
| 5 | message SensorGeneration { |
| 6 | // The PID of the process reading sensor values. |
| 7 | int32_t reader_pid; |
| 8 | // A count of how many times a sensor reading process sees the cape reset. |
| 9 | uint32_t cape_resets; |
| 10 | }; |
| 11 | |
| 12 | // A new message is placed on here by the process that reads sensor values each |
| 13 | // time it starts up or detects the cape resetting. |
| 14 | queue SensorGeneration sensor_generation; |