Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 1 | namespace aos.control_loops; |
2 | // This file defines basic messages for a Single Input Single Output (SISO) | ||||
3 | // control loop. | ||||
4 | |||||
5 | table Goal { | ||||
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 6 | goal:double (id: 0); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 7 | } |
8 | |||||
9 | table Position { | ||||
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 10 | position:double (id: 0); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 11 | } |
12 | |||||
13 | table Output { | ||||
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 14 | voltage:double (id: 0); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 15 | } |
16 | |||||
17 | table Status { | ||||
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 18 | done:bool (id: 0); |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 19 | } |
20 | |||||
21 | root_type Goal; | ||||
22 | root_type Position; | ||||
23 | root_type Output; | ||||
24 | root_type Status; |