Skip to content

Commit 8689187

Browse files
Pierre Pierre Blaiserikbosch
authored andcommitted
Minor touchups to text files.
Signed-off-by: Pierre Pierre Blais <[email protected]>
1 parent f274051 commit 8689187

File tree

5 files changed

+43
-47
lines changed

5 files changed

+43
-47
lines changed

BUILD.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ can be used successfully with tools used in continuous integration.
2323

2424
For detailed information on development environment and usage see [VSS-Tools](https://github.com/COVESA/vss-tools).
2525

26-
### Set up you development environment
26+
### Set up your development environment
2727

2828
You are free to use whatever development environment you want, but tools in [VSS-tools](https://github.com/COVESA/vss-tools)
2929
have typically been tested only on Linux, and in continuous integration "ubuntu-latest" is used for testing.
@@ -60,7 +60,7 @@ vss_rel_4.1-dev.csv
6060
### Make sure that your changes pass CI checks
6161

6262
Continuous Integration (CI) checks are defined in the [workflows](.github/workflows) folder.
63-
They consist of the following areas
63+
They consist of the following areas.
6464

6565
#### Signoff
6666
All commits must be signed-off, see [CONTRIBUTING.md](CONTRIBUTING.md)

CHANGELOG.md

Lines changed: 18 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,22 @@
11
# VSS Changelog
22

3-
The intention of this document is to highlight major changes in the VSS specification (syntax and/or signals).
3+
The intent of this document is to highlight major changes in the VSS specification (syntax and/or signals).
44
It shall include all changes that affect backward compatibility or may be important to know when upgrading from one version to another.
55
It typically does not list all changes to signals.
66
It includes changes that are included in released version, but also changes planned for upcoming releases.
77

88
*This document only contains changes introduced in VSS 3.0 or later!*
99

10-
11-
1210
## VSS 3.0
1311

1412
[Complete release notes](https://github.com/COVESA/vehicle_signal_specification/releases/tag/v3.0)
1513

1614
### Instantiate
1715

1816
A new attribute `instantiate` has been added to the syntax to exclude a child-node from the instantiation of the *direct* parent node.
19-
This attribute is by default true and is only relevant to use for signals
17+
This attribute is by default true and is only relevant to use for signals.
2018

21-
An example on how this signals shall be handled by tools:
19+
An example on how these signals shall be handled by tools:
2220

2321
```YAML
2422
Vehicle.X:
@@ -78,8 +76,7 @@ From VSS 3.0 this attribute has been renamed to `allowed`. The background is tha
7876
as it does not correspond to enum definitions in many programming languages, but rather just is a limitation of what values
7977
that are supported by the signal.
8078

81-
82-
All signals in VSS previously using `enum`has been updated to use `allowed`, like in the example below:
79+
All signals in VSS previously using `enum` have been updated to use `allowed`, like in the example below:
8380

8481
```
8582
LowVoltageSystemState:
@@ -112,13 +109,13 @@ The background is that the old representation included limitations and ambiguiti
112109
### Struct Support (Experimental)
113110

114111
VSS has been extended with syntax to define structs, and to use them for signals.
115-
For VSS 3.1 support is only experimental and syntax may change.
112+
For VSS 3.1, support is only experimental and syntax may change.
116113

117114
*Note: Only a subset of VSS-tools for VSS 3.1 supports structs!*
118115

119116
### Actuator and Sensor Attributes
120117

121-
VSS has two attributes `sensor` and `actuator` that gives the possibility to specify which system/entity that provides the value
118+
VSS has two attributes `sensor` and `actuator` that gives the possibility to specify which system/entity provides the value
122119
or tries to actuate the value. A possible hypothetical example is shown below showing that it is `TemperatureSensorUnderDriverSeat` that
123120
provides the values of `Vehicle.Cabin.Temperature` and it is `HVACSystem` that tries to assure that the specified temperature is achieved.
124121
These two attributes have never been used by signals in the VSS repository and it has been decided that these attributes no longer shall
@@ -135,7 +132,7 @@ Vehicle.Cabin.Temperature:
135132
```
136133

137134
For VSS 3.1 the two attributes will remain in the VSS Syntax, but are marked as deprecated.
138-
No change to tooling is implemented, as the vss-tools already today give a warning if the attributes are used:
135+
No change to tooling is implemented, as the vss-tools already give a warning if the attributes are used:
139136

140137
```
141138
Warning: Attribute(s) sensor in element Temperature not a core or known extended attribute.
@@ -181,15 +178,15 @@ have been removed from the [VSS syntax](docs-gen/content/rule_set/data_entry/sen
181178

182179
A new syntax for unit files is introduced. Old syntax still supported.
183180
It is also possible to define quantity files, and a default quantity file (`quantities.yaml`)
184-
has been added
181+
has been added.
185182

186183
### New signals
187184

188-
Some signal have been added.
185+
Some signals have been added.
189186

190187
### Updated tool dependency
191188

192-
A new version of vss-tools is used, with support for static IDs and jsconschema.
189+
A new version of vss-tools is used, with support for static IDs and jsonschema.
193190

194191
### Deprecated or Deleted signals
195192

@@ -204,9 +201,9 @@ If you need artifacts with UUID you need to generate the artifact yourself.
204201

205202
Instructions:
206203

207-
1. Clone the repo and check out the tag you want, for example `git checkout v5.0`
208-
2. Update submodules, for example `git submodule update --init`
209-
3. Add `--uuid` as argument to the relevant command in `Makefile`
204+
1. Clone the repo and check out the tag you want, for example `git checkout v5.0`.
205+
2. Update submodules, for example `git submodule update --init`.
206+
3. Add `--uuid` as argument to the relevant command in `Makefile`.
210207
4. Run generation, for example `make csv`.
211208

212209
### OBD Branch deprecated
@@ -215,17 +212,17 @@ The `Vehicle.OBD` branch is now deprecated. The plan is to remove it in VSS 6.0.
215212
The background is a decision that VSS standard catalog shall not contain a one-to-one representation of the OBD standard.
216213
Instead, VSS standard catalog may contain corresponding information elsewhere. As an example, instead of
217214
`Vehicle.OBD.EngineSpeed` (PID `0C`), the VSS signal `Vehicle.Powertrain.CombustionEngine.Speed` can be used.
218-
Note that not all signals in `Vehicle.OBD` has "duplicates", especially in the area of combustion engine control
215+
Note that not all signals in `Vehicle.OBD` have "duplicates", especially in the area of combustion engine control
219216
(like Oxygen sensor lambda and voltage readings) VSS currently does not have any counterparts in other parts of the tree.
220217

221218

222-
What to do if you as of today use signals from the OBD file
219+
What to do if you as of today use signals from the OBD file:
223220

224-
* Check if any suitable replacement signal exist
225-
Example: if you use `Vehicle.OBD.Speed`, consider using `Vehicle.Speed` instead
221+
* Check if any suitable replacement signal exist.
222+
Example: if you use `Vehicle.OBD.Speed`, consider using `Vehicle.Speed` instead.
226223
* If not and the data may be of general interest; consider creating a pull request
227224
with a replacement signal.
228-
Example: VSS as of today only have Lambda information in OBD branch
225+
Example: VSS as of today only have Lambda information in OBD branch.
229226
If you need VSS signals for Lambda, consider creating new signals in
230227
`Vehicle.Powertrain.CombustionEngine` branch.
231228
* If you really need the signals in this file and cannot replace them, then consider using the overlay file in the

CONTRIBUTING.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Introduction to VSS Contribution Process
22

3-
The COVESA VSS project has public two GitHub repositories
3+
The COVESA VSS project has two public GitHub repositories:
44

55
- [Vehicle Signal Specification (VSS)](https://github.com/COVESA/vehicle_signal_specification), containing signal specifications and documentation.
66
- [VSS Tools](https://github.com/COVESA/vss-tools), containing tools for validating and transforming VSS specifications.
@@ -15,13 +15,13 @@ There are two main methods to propose changes or extensions to VSS:
1515

1616
All contributions must follow the [COVESA contribution guidelines](https://www.covesa.global/contribute).
1717

18-
The VSS project has regular meetings at Tuesdays 16.00 CET (see [COVESA VSS Wiki](https://wiki.covesa.global/display/WIK4/VSS+-+Vehicle+Signal+Specification)).
19-
In the meetings Pull Requests and Issues are discussed, and if a Pull Request is acceptable the meeting will decide that it shall be merged.
18+
The VSS project has regular meetings on Tuesdays at 16.00 CET and CEST in the summer (see [COVESA VSS Wiki](https://wiki.covesa.global/display/WIK4/VSS+-+Vehicle+Signal+Specification)).
19+
In the meetings Pull Requests (PRs) and Issues are discussed and, if a Pull Request is accepted, a decision to merge the PR will be made.
2020
Everyone interested is welcome to join the meetings.
2121

2222
## Creating a Pull Request towards VSS
2323

24-
This is the typical workflow for preparing a pull request. A Github account is required.
24+
This is the typical workflow for preparing a pull request. A GitHub account is required.
2525

2626
1. Create a personal or company fork of the [VSS repository](https://github.com/COVESA/vehicle_signal_specification)
2727
and/or [VSS-Tools repository](https://github.com/COVESA/vss-tools).
@@ -31,9 +31,9 @@ This is the typical workflow for preparing a pull request. A Github account is r
3131
5. Introduce the wanted changes or extensions in your local development environment, see guidelines below.
3232
If you want change/extend VSS-signals, it is the *.vspec files in the [spec](https://github.com/COVESA/vehicle_signal_specification/tree/master/spec) folder that
3333
needs to be updated.
34-
6. Verify that your changes fulfil VSS Continuous Integration requirements, see [BUILD.md](BUILD.md) for some guidance.
34+
6. Verify that your changes fulfill VSS Continuous Integration requirements, see [BUILD.md](BUILD.md) for some guidance.
3535
7. Create a commit and upload to your own fork.
36-
8. In the GitHub UI create a Pull Request from your fork to the master branch of [the VSS repository](https://github.com/COVESA/vehicle_signal_specification).
36+
8. In the GitHub UI, create a Pull Request from your fork to the master branch of [the VSS repository](https://github.com/COVESA/vehicle_signal_specification).
3737
9. Validate that automatic build checks for the PR succeed.
3838

3939
## Handling of the created Pull Request
@@ -43,9 +43,9 @@ This is the typical workflow for preparing a pull request. A Github account is r
4343
It is preferable if the PR creator can participate and give a quick introduction on the rationale for the change.
4444
3. Unless trivial, PRs shall typically be open for at least a week before merging is considered, to give time for comments.
4545
4. If needed, the PR creator needs to refactor the PR to address received comments and remarks.
46-
4. After a while, if all comments and concerns have been sorted out and no-one objects merging the PR the meeting will decide to merge the PR.
46+
4. After a while, if all comments and concerns have been sorted out and no-one objects merging, a decision will be made in the meeting to merge the PR.
4747
It is not guaranteed that all PRs will be accepted. The VSS meeting may reject and close Pull Requests.
48-
5. A VSS maintainer will perform the merge.
48+
5. A VSS maintainer will perform the final merge.
4949

5050
## Guidelines and Recommendations
5151

@@ -55,7 +55,7 @@ This section includes general guidelines and recommendations for anyone interest
5555

5656
COVESA has defined [contribution guidelines](https://www.covesa.global/contribute).
5757

58-
Every contribution must carry the following sign-off line with your real name and email address:
58+
Every contribution (commit) must carry the following sign-off line with your real name and email address:
5959

6060
`Signed-off-by: Firstname Lastname <[email protected]>`
6161

@@ -69,7 +69,7 @@ This currently applies to the following file types:
6969
* VSS source files (`*.vspec`)
7070
* Python files (vss-tools, `*.py`)
7171

72-
Those files shall have copyright statement of this form, inspired by the [Eclipse generic copyright header](https://www.eclipse.org/projects/handbook/#ip-copyright-headers).
72+
Those files shall have copyright statement of the following form, inspired by the [Eclipse generic copyright header](https://www.eclipse.org/projects/handbook/#ip-copyright-headers).
7373
Copyright/License-statement may also be added to other files if considered relevant.
7474

7575
```
@@ -82,12 +82,12 @@ Copyright/License-statement may also be added to other files if considered relev
8282
# SPDX-License-Identifier: MPL-2.0
8383
8484
```
85-
Where XXXX is the year the file was originally created, no need to update or append new years or a range of years later.
85+
Where {year} is the year the file was originally created. No need to update or append new years or a range of years later.
8686

8787
### VSS Signals shall be generic
8888

89-
Signals added to standard VSS shall be generic, i.e. it shall be possible that other manufacturers can reuse the signal.
90-
Manufacturer-specific signals shall preferably be part of private overlays, and not part of standard VSS.
89+
Signals added to standard VSS shall be generic, i.e. it shall be possible for other manufacturers to reuse the signal.
90+
Manufacturer-specific signals shall preferably be part of private overlays and not part of standard VSS.
9191

9292
### Logical path
9393

@@ -106,7 +106,7 @@ It shall be possible to interpret a signal value by reading the signal descripti
106106
Describe if needed how the value shall be calculated/interpreted,
107107
for example if it is based on a standard or if it is up to the manufacturer to select algorithm/method.
108108

109-
* Example: A signal Vehicle.Weight would be ambiguous unless you specify that it refers to e.g. gross weight or curb weight.
109+
* Example: A signal Vehicle.Weight would be ambiguous unless you specify that it refers to gross weight or curb weight.
110110
* Example: Specifying an allowed value `MODE_2` is ambiguous unless you also specify what `MODE_2` means, e.g. by referring to a standard.
111111

112112
### No duplicates
@@ -117,19 +117,19 @@ VSS generally avoids to have duplicates in the signal tree, i.e. signals with sa
117117

118118
Try to reuse the same style as used for existing signals.
119119
Only specify min/max-values if there is a logical reason to limit the range.
120-
Boolean signals should start with `Is*`.
120+
Boolean signals should start with `Is`, as in `IsOpen`.
121121
American English is preferred over British English.
122122
No trailing blanks.
123123
Follow the style guide in the [documentation](https://covesa.github.io/vehicle_signal_specification/rule_set/basics/#style-guide).
124124

125125
### No scaling, SI-unit, natural datatype
126126

127-
VSS is not concerned with how signals are transmitted, and does not consider scaling/offset typically used in transport protocols.
127+
VSS is not concerned with how signals are transmitted and does not consider scaling/offset typically used in transport protocols.
128128
VSS signals typically use the unit used by humans when talking about the value, but prefers SI-units when feasible,
129129
see [documentation](https://covesa.github.io/vehicle_signal_specification/rule_set/data_entry/data_unit_types/) for all supported units.
130130
If it is unlikely that someone is interested in decimals for this value, select a signed or unsigned integer type.
131131
Select a size which with reasonable margins can cover all vehicles.
132-
If it is likely that decimal values are needed select float or if relevant double.
132+
If it is likely that decimal values are needed, select float or, if relevant, double.
133133

134134
### Avoid backward incompatible changes
135135

@@ -138,6 +138,6 @@ Merging can be delayed, as VSS may decide to wait with the change until the next
138138

139139
### Getting Support
140140

141-
To avoid time consuming refactoring it could for bigger contributions be relevant to ask VSS if the wanted changes
141+
To avoid time consuming refactoring it could, for bigger contributions, be relevant to ask VSS if the wanted changes
142142
seems to be reasonable and likely will be accepted by VSS. Create an [issue](https://github.com/COVESA/vehicle_signal_specification/issues)
143143
and describe what you intend to do and ask for feedback. You can also create a draft pull request at an early stage and ask for comments.

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
# VEHICLE SIGNAL SPECIFICATION
22

3-
43
[![License](https://img.shields.io/badge/License-MPL%202.0-blue.svg)](https://opensource.org/licenses/MPL-2.0)
54
[![Build Status](https://github.com/COVESA/vehicle_signal_specification/actions/workflows/buildcheck.yml/badge.svg)](https://github.com/COVESA/vehicle_signal_specification/actions/workflows/buildcheck.yml?query=branch%3Amaster)
65

76
The overall goal of the Vehicle Signal Specification (VSS) is to create a common understanding of vehicle signals in order to reach a “common language” independent of the protocol or serialisation format.
87

9-
Please find the official documentation at: [Vehicle Signal Specification](https://covesa.github.io/vehicle_signal_specification/)
8+
Please find the official documentation at: [Vehicle Signal Specification](https://covesa.github.io/vehicle_signal_specification/).
109

1110
## Getting started
1211

@@ -38,7 +37,7 @@ resulting in artifact names of the form `vss_rel_<version>.<type-suffix>` where
3837
for released versions and `X.Y-dev` for ongoing work in master-branch towards version `X.Y`.
3938

4039
Version is also visible in the [Vehicle.vspec](spec/Vehicle/Vehicle.vspec) file where `VersionVSS.Label` typically is
41-
`dev` for ongoing work in master-branch and an empty string for released versions.
40+
`-dev` for ongoing work in master-branch and an empty string for released versions.
4241

4342
Versions are tagged in the form `vX.Y(.Z)` and the same syntax is used as names for VSS releases.
4443
VSS-tools is tagged but not released.

RELEASE_PROCESS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
**(C) 2016 Jaguar Land Rover**<br>
1+
**Copyright (c) 2016 Contributors to COVESA**<br />
22

33
All files and artifacts in this repository are licensed under the
44
provisions of the license provided by the LICENSE file in this repository.
@@ -19,12 +19,12 @@ contributors.
1919

2020
Pull requests [PR] are **always** initiated from a **fork** and not through
2121
a feature branch in the main repository. PRs are reviewed, discussed and merged
22-
through the public github repository.
22+
through the public GitHub repository.
2323
A PR is merged earliest after one week to give a fair chance of reviewing.
2424

2525
Each release is incrementally numbered, starting with 1.
2626

27-
A release is tagged in git with the tag
27+
A release is tagged in git with the tag:
2828

2929
v[m.n]
3030

0 commit comments

Comments
 (0)