Skip to content

Commit

Permalink
Separate Occupant branch
Browse files Browse the repository at this point in the history
Signed-off-by: Erik Jaegervall <[email protected]>
  • Loading branch information
erikbosch committed Apr 8, 2024
1 parent 548bcf5 commit 71c8a0f
Show file tree
Hide file tree
Showing 7 changed files with 52 additions and 14 deletions.
20 changes: 11 additions & 9 deletions spec/Cabin/Seat/Occupant.vspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,18 @@
#

Identifier:
deprecation: v5.0 - use data from Vehicle.Occupant.*.*.Identifier.
type: branch
description: Identifier attributes based on OAuth 2.0.
#include Occupant/Identifier.vspec Identifier

HeadPosition:
type: branch
description: The current position of the driver head on vehicle axis according to ISO 23150:2023.
#include Occupant/HeadPosition.vspec HeadPosition
Identifier.Subject:
deprecation: v5.0 - use data from Vehicle.Occupant.*.*.Identifier.
datatype: string
type: sensor
description: Subject for the authentication of the occupant e.g. UserID 7331677.

MidEyeGaze:
type: branch
description: Direction from mid eye position to object driver is looking at.
#include Occupant/MidEyeGaze.vspec MidEyeGaze
Identifier.Issuer:
deprecation: v5.0 - use data from Vehicle.Occupant.*.*.Identifier.
datatype: string
type: sensor
description: Unique Issuer for the authentication of the occupant e.g. https://accounts.funcorp.com.
7 changes: 3 additions & 4 deletions spec/Driver/Driver.vspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,19 @@
# Driver data
#


Identifier:
deprecation: v5.0 - use data from Vehicle.Cabin.Seat.*.*.Occupant.Identifier.
deprecation: v5.0 - use data from Vehicle.Occupant.*.*.Identifier.
type: branch
description: Identifier attributes based on OAuth 2.0.

Identifier.Subject:
deprecation: v5.0 - use data from Vehicle.Cabin.Seat.*.*.Occupant.Identifier.
deprecation: v5.0 - use data from Vehicle.Occupant.*.*.Identifier.
datatype: string
type: sensor
description: Subject for the authentication of the occupant e.g. UserID 7331677.

Identifier.Issuer:
deprecation: v5.0 - use data from Vehicle.Cabin.Seat.*.*.Occupant.Identifier.
deprecation: v5.0 - use data from Vehicle.Occupant.*.*.Identifier.
datatype: string
type: sensor
description: Unique Issuer for the authentication of the occupant e.g. https://accounts.funcorp.com.
Expand Down
26 changes: 26 additions & 0 deletions spec/Vehicle/Occupant.vspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright (c) 2020 Contributors to COVESA
#
# This program and the accompanying materials are made available under the
# terms of the Mozilla Public License 2.0 which is available at
# https://www.mozilla.org/en-US/MPL/2.0/
#
# SPDX-License-Identifier: MPL-2.0

#
# Occupant data
#

Identifier:
type: branch
description: Identifier attributes based on OAuth 2.0.
#include ../include/Identifier.vspec Identifier

HeadPosition:
type: branch
description: The current position of the driver head on vehicle axis according to ISO 23150:2023.
#include Occupant/HeadPosition.vspec HeadPosition

MidEyeGaze:
type: branch
description: Direction from mid eye position to object driver is looking at.
#include Occupant/MidEyeGaze.vspec MidEyeGaze
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# Head axis system is defined as follows
# Head X-axis corresponds to a vector from midway between left and right pre-auricular point and nasion.
# Head Y-axis corresponds to a vector orthogonal to X going left from the head on the plane defined by left and right
# pre-auricular point and nasion
# pre-auricular point and nasion.
# Head Z-axis corresponds to vector orthogonal to X and Y going upward.
#

Expand Down
File renamed without changes.
11 changes: 11 additions & 0 deletions spec/VehicleSignalSpecification.vspec
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,17 @@ Vehicle.Driver:

#include Driver/Driver.vspec Vehicle.Driver

#
# Occupant Data
#

Vehicle.Occupant:
type: branch
instances:
- Row[1,2]
- ["DriverSide","Middle","PassengerSide"]
description: Occupant (Driver or Passenger) data.
#include Vehicle/Occupant.vspec Vehicle.Occupant

#
# Exterior information
Expand Down
File renamed without changes.

0 comments on commit 71c8a0f

Please sign in to comment.