|
| 1 | +controller_manager: |
| 2 | + update_rate: { |
| 3 | + type: int, |
| 4 | + default_value: 100, |
| 5 | + read_only: true, |
| 6 | + description: "The frequency of controller manager's real-time update loop. This loop reads states from hardware, updates controller and writes commands to hardware." |
| 7 | + } |
| 8 | + |
| 9 | + diagnostics: |
| 10 | + threshold: |
| 11 | + controller_manager: |
| 12 | + periodicity: |
| 13 | + mean_error: |
| 14 | + warn: { |
| 15 | + type: double, |
| 16 | + default_value: 5.0, |
| 17 | + description: "The warning threshold for the mean error of the controller manager's periodicity. If the mean error exceeds this threshold, a warning diagnostic will be published." |
| 18 | + } |
| 19 | + error: { |
| 20 | + type: double, |
| 21 | + default_value: 10.0, |
| 22 | + description: "The error threshold for the mean error of the controller manager's periodicity. If the mean error exceeds this threshold, an error diagnostic will be published." |
| 23 | + } |
| 24 | + standard_deviation: |
| 25 | + warn: { |
| 26 | + type: double, |
| 27 | + default_value: 5.0, |
| 28 | + description: "The warning threshold for the standard deviation of the controller manager's periodicity. If the standard deviation exceeds this threshold, a warning diagnostic will be published." |
| 29 | + } |
| 30 | + error: { |
| 31 | + type: double, |
| 32 | + default_value: 10.0, |
| 33 | + description: "The error threshold for the standard deviation of the controller manager's periodicity. If the standard deviation exceeds this threshold, an error diagnostic will be published." |
| 34 | + } |
| 35 | + controllers: |
| 36 | + periodicity: |
| 37 | + mean_error: |
| 38 | + warn: { |
| 39 | + type: double, |
| 40 | + default_value: 5.0, |
| 41 | + description: "The warning threshold for the mean error of the controller update loop. If the mean error exceeds this threshold, a warning diagnostic will be published. This diagnostics will be published only for the asynchronous controllers, because any affect to the synchronous controllers will be reflected directly in the controller manager's periodicity." |
| 42 | + } |
| 43 | + error: { |
| 44 | + type: double, |
| 45 | + default_value: 10.0, |
| 46 | + description: "The error threshold for the mean error of the controller update loop. If the mean error exceeds this threshold, an error diagnostic will be published. This diagnostics will be published only for the asynchronous controllers, because any affect to the synchronous controllers will be reflected directly in the controller manager's periodicity." |
| 47 | + } |
| 48 | + standard_deviation: |
| 49 | + warn: { |
| 50 | + type: double, |
| 51 | + default_value: 5.0, |
| 52 | + description: "The warning threshold for the standard deviation of the controller update loop. If the standard deviation exceeds this threshold, a warning diagnostic will be published. This diagnostics will be published only for the asynchronous controllers, because any affect to the synchronous controllers will be reflected directly in the controller manager's periodicity." |
| 53 | + } |
| 54 | + error: { |
| 55 | + type: double, |
| 56 | + default_value: 10.0, |
| 57 | + description: "The error threshold for the standard deviation of the controller update loop. If the standard deviation exceeds this threshold, an error diagnostic will be published. This diagnostics will be published only for the asynchronous controllers, because any affect to the synchronous controllers will be reflected directly in the controller manager's periodicity." |
| 58 | + } |
| 59 | + execution_time: |
| 60 | + mean_error: |
| 61 | + warn: { |
| 62 | + type: double, |
| 63 | + default_value: 1000.0, |
| 64 | + description: "The warning threshold for the mean error of the controller's update cycle execution time in microseconds. If the mean error exceeds this threshold, a warning diagnostic will be published. The ``mean_error`` for a synchronous controller will be computed against zero, as it should be as low as possible. However, the ``mean_error`` for an asynchronous controller will be computed against the controller's desired update period, as the controller can take a maximum of the desired period cycle to execute it's update cycle" |
| 65 | + } |
| 66 | + error: { |
| 67 | + type: double, |
| 68 | + default_value: 2000.0, |
| 69 | + description: "The error threshold for the mean error of the controller's update cycle execution time in microseconds. If the mean error exceeds this threshold, an error diagnostic will be published. The ``mean_error`` for a synchronous controller will be computed against zero, as it should be as low as possible. However, the ``mean_error`` for an asynchronous controller will be computed against the controller's desired update period, as the controller can take a maximum of the desired period cycle to execute it's update cycle" |
| 70 | + } |
| 71 | + standard_deviation: |
| 72 | + warn: { |
| 73 | + type: double, |
| 74 | + default_value: 100.0, |
| 75 | + description: "The warning threshold for the standard deviation of the controller's update cycle execution time. If the standard deviation exceeds this threshold, a warning diagnostic will be published." |
| 76 | + } |
| 77 | + error: { |
| 78 | + type: double, |
| 79 | + default_value: 200.0, |
| 80 | + description: "The error threshold for the standard deviation of the controller's update cycle execution time. If the standard deviation exceeds this threshold, an error diagnostic will be published." |
| 81 | + } |
0 commit comments