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

POSITIONING: Added tooling for CSV support #131

Merged
merged 7 commits into from
Feb 16, 2020
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
27 changes: 4 additions & 23 deletions spec/ADAS/ADAS.vspec
Original file line number Diff line number Diff line change
Expand Up @@ -84,32 +84,13 @@
description: Indicates if obstacle sensor system incurred an error condition. True = Error. False = No Error.

- ObstacleDetection.DistanceToObject:
type: branch
description: Distance signals form Obstacle Sensor System

- ObstacleDetection.DistanceToObject.FrontLeft:
datatype: uint16
type: sensor
unit: m
description: Front left distance to object in meters

- ObstacleDetection.DistanceToObject.FrontRight:
datatype: uint16
type: sensor
unit: m
description: Front right distance to object in meters

- ObstacleDetection.DistanceToObject.RearLeft:
datatype: uint16
type: sensor
unit: m
description: Rear left distance to object in meters

- ObstacleDetection.DistanceToObject.RearRight:
instances:
- ["Front","Rear"]
- ["Left", "Right"]
datatype: uint16
type: sensor
unit: m
description: Rear right distance to object in meters
description: Distance to object in meters


#
Expand Down
74 changes: 10 additions & 64 deletions spec/Body/Body.vspec
Original file line number Diff line number Diff line change
Expand Up @@ -83,85 +83,42 @@
#
- Windshield:
type: branch
instances: ["Front", "Rear"]
description: Windshield signals

#
# Front windshield
#
- Windshield.Front:
type: branch
description: Front windshield signals

- Windshield.Front.Wiping:
- Windshield.Wiping:
type: branch
description: Front windshield wiper signals

- Windshield.Front.Wiping.Status:
- Windshield.Wiping.Status:
datatype: string
type: actuator
enum: ["off", "slow", "medium", "fast", "interval", "rainsensor"]
description: Front wiper status

- Windshield.Front.Heating:
- Windshield.Heating:
type: branch
description: Front windshield heater signals

- Windshield.Front.Heating.Status:
- Windshield.Heating.Status:
datatype: boolean
type: actuator
description: Front windshield heater status. 0 - off, 1 - on

- Windshield.Front.WasherFluid:
- Windshield.WasherFluid:
type: branch
description: Front windshield washer fluid signals

- Windshield.Front.WasherFluid.LevelLow:
datatype: boolean
type: sensor
description: Low level indication for washer fluid. True = Level Low. False = Level OK.

- Windshield.Front.WasherFluid.Level:
datatype: uint8
unit: percent
type: sensor
description: Washer fluid level as a percent. 0 = Empty. 100 = Full.

#
# Rear Windshield
#
- Windshield.Rear:
type: branch
description: Rear windshield signals

- Windshield.Rear.Wiping:
type: branch
description: Rear windshield wiper signals

- Windshield.Rear.Wiping.Status:
datatype: string
type: actuator
enum: ["off", "slow", "medium", "fast", "interval", "rainsensor"]
description: Rear wiper status

- Windshield.Rear.Heating:
type: branch
description: Rear windshield heater signals

- Windshield.Rear.Heating.Status:
datatype: boolean
type: actuator
description: Rear windshield heater status. 0 - off, 1 - on

- Windshield.Rear.WasherFluid:
type: branch
description: Rear windshield washer fluid signals

- Windshield.Rear.WasherFluid.LevelLow:
- Windshield.WasherFluid.LevelLow:
datatype: boolean
type: sensor
description: Low level indication for washer fluid. True = Level Low. False = Level OK.

- Windshield.Rear.WasherFluid.Level:
- Windshield.WasherFluid.Level:
datatype: uint8
unit: percent
type: sensor
Expand All @@ -185,18 +142,7 @@
##
- Mirrors:
type: branch
instances: ["Left", "Right"]
description: All mirrors

- Mirrors.Left:
type: branch
description: Left mirrors

# Include mirrors specification and attach it to the Mirrors branch
#include ExteriorMirrors.vspec Mirrors.Left

- Mirrors.Right:
type: branch
description: Right mirrors

# Include mirrors specification and attach it to the Mirrors branch
#include ExteriorMirrors.vspec Mirrors.Right
#include ExteriorMirrors.vspec Mirrors
Loading