Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TEL - Implement schema changes #78

Merged
merged 5 commits into from
Feb 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 45 additions & 1 deletion config/pods.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ pods:
measurements:
accelerometer_1:
label: 'Accelerometer 1'
type: 'acceleration'
unit: 'm/s²'
format: 'float'
limits:
Expand All @@ -13,6 +14,7 @@ pods:
high: 150
accelerometer_2:
label: 'Accelerometer 2'
type: 'acceleration'
unit: 'm/s²'
format: 'float'
limits:
Expand All @@ -21,6 +23,7 @@ pods:
high: 150
accelerometer_3:
label: 'Accelerometer 3'
type: 'acceleration'
unit: 'm/s²'
format: 'float'
limits:
Expand All @@ -29,6 +32,7 @@ pods:
high: 150
accelerometer_4:
label: 'Accelerometer 4'
type: 'acceleration'
unit: 'm/s²'
format: 'float'
limits:
Expand All @@ -37,6 +41,7 @@ pods:
high: 150
accelerometer_avg:
label: 'Accelerometer Average'
type: 'acceleration'
unit: 'm/s²'
format: 'float'
limits:
Expand All @@ -45,6 +50,7 @@ pods:
high: 150
displacement:
label: 'Displacement'
type: 'displacement'
unit: 'm'
format: 'float'
limits:
Expand All @@ -53,6 +59,7 @@ pods:
high: 100
velocity:
label: 'Velocity'
type: 'velocity'
unit: 'm/s'
format: 'float'
limits:
Expand All @@ -61,6 +68,7 @@ pods:
high: 50
acceleration:
label: 'Acceleration'
type: 'acceleration'
unit: 'm/s²'
format: 'float'
limits:
Expand All @@ -69,6 +77,7 @@ pods:
high: 5
pressure_back_pull:
label: 'Pressure – Back Pull'
type: 'pressure'
unit: 'bar'
format: 'float'
limits:
Expand All @@ -80,6 +89,7 @@ pods:
high: 5.2
pressure_front_pull:
label: 'Pressure – Front Pull'
type: 'pressure'
unit: 'bar'
format: 'float'
limits:
Expand All @@ -91,6 +101,7 @@ pods:
high: 5.2
pressure_front_push:
label: 'Pressure – Front Push'
type: 'pressure'
unit: 'bar'
format: 'float'
limits:
Expand All @@ -102,6 +113,7 @@ pods:
high: 5.2
pressure_back_push:
label: 'Pressure – Back Push'
type: 'pressure'
unit: 'bar'
format: 'float'
limits:
Expand All @@ -113,6 +125,7 @@ pods:
high: 5.2
pressure_brakes_reservoir:
label: 'Pressure – Brakes Reservoir'
type: 'pressure'
unit: 'bar'
format: 'float'
limits:
Expand All @@ -124,6 +137,7 @@ pods:
high: 6.9
pressure_active_suspension_reservoir:
label: 'Pressure – Active Suspension Reservoir'
type: 'pressure'
unit: 'bar'
format: 'float'
limits:
Expand All @@ -135,6 +149,7 @@ pods:
high: 6.9
pressure_front_brake:
label: 'Pressure – Front Brake'
type: 'pressure'
unit: 'bar'
format: 'float'
limits:
Expand All @@ -146,6 +161,7 @@ pods:
high: 4
pressure_back_brake:
label: 'Pressure – Back Brake'
type: 'pressure'
unit: 'bar'
format: 'float'
limits:
Expand All @@ -157,6 +173,7 @@ pods:
high: 4
thermistor_1:
label: 'Thermistor 1'
type: 'temperature'
unit: '°C'
format: 'float'
limits:
Expand All @@ -165,6 +182,7 @@ pods:
high: 100
thermistor_2:
label: 'Thermistor 2'
type: 'temperature'
unit: '°C'
format: 'float'
limits:
Expand All @@ -173,6 +191,7 @@ pods:
high: 100
thermistor_3:
label: 'Thermistor 3'
type: 'temperature'
unit: '°C'
format: 'float'
limits:
Expand All @@ -181,6 +200,7 @@ pods:
high: 100
thermistor_4:
label: 'Thermistor 4'
type: 'temperature'
unit: '°C'
format: 'float'
limits:
Expand All @@ -189,6 +209,7 @@ pods:
high: 100
thermistor_5:
label: 'Thermistor 5'
type: 'temperature'
unit: '°C'
format: 'float'
limits:
Expand All @@ -197,6 +218,7 @@ pods:
high: 100
thermistor_6:
label: 'Thermistor 6'
type: 'temperature'
unit: '°C'
format: 'float'
limits:
Expand All @@ -205,6 +227,7 @@ pods:
high: 100
thermistor_7:
label: 'Thermistor 7'
type: 'temperature'
unit: '°C'
format: 'float'
limits:
Expand All @@ -213,6 +236,7 @@ pods:
high: 100
thermistor_8:
label: 'Thermistor 8'
type: 'temperature'
unit: '°C'
format: 'float'
limits:
Expand All @@ -221,6 +245,7 @@ pods:
high: 100
thermistor_9:
label: 'Thermistor 9'
type: 'temperature'
unit: '°C'
format: 'float'
limits:
Expand All @@ -229,6 +254,7 @@ pods:
high: 100
thermistor_10:
label: 'Thermistor 10'
type: 'temperature'
unit: '°C'
format: 'float'
limits:
Expand All @@ -237,6 +263,7 @@ pods:
high: 100
thermistor_11:
label: 'Thermistor 11'
type: 'temperature'
unit: '°C'
format: 'float'
limits:
Expand All @@ -245,6 +272,7 @@ pods:
high: 100
thermistor_12:
label: 'Thermistor 12'
type: 'temperature'
unit: '°C'
format: 'float'
limits:
Expand All @@ -253,6 +281,7 @@ pods:
high: 100
hall_effect_1:
label: 'Hall Effect 1'
type: 'magnetism'
unit: 'mT'
format: 'float'
limits:
Expand All @@ -261,6 +290,7 @@ pods:
high: 100
hall_effect_2:
label: 'Hall Effect 2'
type: 'magnetism'
unit: 'mT'
format: 'float'
limits:
Expand All @@ -269,6 +299,7 @@ pods:
high: 100
keyence_1:
label: 'Keyence 1'
type: 'keyence'
unit: 'number of stripes'
format: 'integer'
limits:
Expand All @@ -280,6 +311,7 @@ pods:
high: 10
keyence_2:
label: 'Keyence 2'
type: 'keyence'
unit: 'number of stripes'
format: 'integer'
limits:
Expand All @@ -291,6 +323,7 @@ pods:
high: 10
power_line_resistance:
label: 'Power Line Resistance'
type: 'resistance'
unit: 'kΩ'
format: 'integer'
limits:
Expand All @@ -299,6 +332,7 @@ pods:
high: 100
levitation_height_1:
label: 'Levitation Height 1'
type: 'levitation'
unit: 'mm'
format: 'float'
limits:
Expand All @@ -307,6 +341,7 @@ pods:
high: 100
levitation_height_2:
label: 'Levitation Height 2'
type: 'levitation'
unit: 'mm'
format: 'float'
limits:
Expand All @@ -315,6 +350,7 @@ pods:
high: 100
levitation_height_3:
label: 'Levitation Height 3'
type: 'levitation'
unit: 'mm'
format: 'float'
limits:
Expand All @@ -323,6 +359,7 @@ pods:
high: 100
levitation_height_4:
label: 'Levitation Height 4'
type: 'levitation'
unit: 'mm'
format: 'float'
limits:
Expand All @@ -331,14 +368,16 @@ pods:
high: 100
levitation_height_lateral_1:
label: 'Levitation Height Lateral 1'
type: 'levitation'
unit: 'mm'
format: 'float'
limits:
critical:
low: 0
high: 100
levitation_height_lateral_2:
label: 'Levitation Height 2'
label: 'Levitation Height Lateral 2'
type: 'levitation'
unit: 'mm'
format: 'float'
limits:
Expand All @@ -348,6 +387,7 @@ pods:
statuses:
brake_clamp_status:
label: 'Brake Clamp Status'
type: 'binary-status'
format: 'enum'
values:
- value: 1
Expand All @@ -356,6 +396,7 @@ pods:
label: 'UNCLAMPED'
pod_raised_status:
label: 'Pod Raised Status'
type: 'binary-status'
format: 'enum'
values:
- value: 1
Expand All @@ -364,6 +405,7 @@ pods:
label: 'LOWERED'
battery_status:
label: 'Battery Status'
type: 'binary-status'
format: 'enum'
values:
- value: 1
Expand All @@ -372,6 +414,7 @@ pods:
label: 'UNHEALTHY'
motor_controller_status:
label: 'Motor Controller Status'
type: 'binary-status'
format: 'enum'
values:
- value: 1
Expand All @@ -380,6 +423,7 @@ pods:
label: 'UNHEALTHY'
high_power_status:
label: 'High Power Status'
type: 'binary-status'
format: 'enum'
values:
- value: 1
Expand Down
6 changes: 5 additions & 1 deletion telemetry/biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
},
"formatter": {
"enabled": true,
"indentStyle": "tab"
"indentStyle": "tab",
"formatWithErrors": true
},
"organizeImports": {
"enabled": true
Expand All @@ -26,6 +27,9 @@
"javascript": {
"formatter": {
"quoteStyle": "single"
},
"parser": {
"unsafeParameterDecoratorsEnabled": true
}
}
}
Loading
Loading