Skip to content
Draft
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
3 changes: 2 additions & 1 deletion docs-gen/content/rule_set/instances.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ with two axles and two rows of seats. For other vehicles, see [recommendations o

Typical naming conventions used in VSS standard catalog include:

* When instances are defined by a range, e.g., `Position[m,n]`, VSS standard catalog uses `1` as start index for the first instance.
* When instances are defined by a range, e.g., `Index[m,n]`, VSS standard catalog uses `1` as start index for the first instance.
* The instance definition `Row[n,m]`, e.g., `Row[1,2]`, is used to indicate that there are multiple rows of the entity. Rows are counted from the front of the vehicle.
* The instance definition `Position[n,m]`, e.g., `Position[1,3]`, is used to indicate that there are multiple positions of the entity (for a specific row). Posistions are counted from the left of the vehicle.
* For items located on either left or right side of the vehicle VSS standard catalog uses two different conventions:
* In some cases instances are defined relative to driver position, e.g., `["DriverSide", "PassengerSide"]`.
* In other cases instances are defined based on physical position, e.g., `["Left","Right"]`.
Expand Down
3 changes: 0 additions & 3 deletions spec/Cabin/Cabin.vspec
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,6 @@ IsWindowChildLockEngaged:

Seat:
type: branch
instances:
- Row[1,2]
- ["DriverSide","Middle","PassengerSide"]
description: All seats.
#include Seat.vspec Seat

Expand Down
3 changes: 0 additions & 3 deletions spec/Chassis/Chassis.vspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ Wheelbase:
# Axle definition
#
Axle:
instances:
- Row[1,2]
type: branch
description: Axle signals

Expand Down Expand Up @@ -125,7 +123,6 @@ Axle.Torque:
# Wheels on Axles
#
Axle.Wheel:
instances: ["Left","Right"]
type: branch
description: Wheel signals for axle

Expand Down
33 changes: 33 additions & 0 deletions spec/default_instances.vspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Copyright (c) 2026 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

# The default instance file shall reflect typical setup for a "normal" passenger car
# The instance pattern in this file is non-normative, but shall be seen as a recommendation

# Instance recommendations

# If using Row[x,y]



Vehicle.Chassis.Axle:
type: branch
instances:
- Row[1,2]


Vehicle.Chassis.Axle.Wheel:
type: branch
instances: ["Left","Right"]


Vehicle.Cabin.Seat:
type: branch
instances:
- Row[1,2]
- ["DriverSide","Middle","PassengerSide"]
Loading