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

Extend motorbike profile and include profiles in builds #16

Closed
wants to merge 1 commit into from

Conversation

erikbosch
Copy link
Collaborator

This PR contains some signals relevant to motorbikes.
Some of them might be of general interest and may be moved to
"standard vss" later.

Signed-off-by: Erik Jaegervall erik.jaegervall@se.bosch.com

@erikbosch erikbosch marked this pull request as draft August 26, 2022 14:15
@@ -25,9 +25,13 @@ jobs:
python -V
python -m pip --quiet --no-input install --upgrade pip
python -m pip --quiet --no-input install --upgrade pipenv wheel
pipenv --version
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file actually does not belong to this PR, shown here as github could not detect the rebase

@@ -37,6 +37,11 @@ csv:
ddsidl:
${TOOLSDIR}/vspec2ddsidl.py -I ./spec ./spec/VehicleSignalSpecification.vspec vss_rel_$$(cat VERSION).idl

# Verifies that supported overlay combinations are syntactically correct.
overlays:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only indirectly related to the contribution - make sure that the overlay is syntactically correct

description: Indicates if IMU is working. True = OK. False = Failure.

# Next branch and signal can be removed when https://github.com/COVESA/vehicle_signal_specification/pull/478 is merged
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added this comment, will update this PR when the other is merged

datatype: boolean
description: Indicates if the Clutch switch is operated, so engine and transmission are decoupled. False = Clutch switch not operated. True = Clutch switch operated.
comment: True corresponds to that Vehicle.Powertrain.Transmission.ClutchEngagement is 0.0 or very close to 0.0.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor change here - I changed the signal name to comply with VSS "Is*" naming recommendation. But then It got a bit unsure on what we mean with this signal vs. Vehicle.Powertrain.Transmission.ClutchEngagement. Shall this be true as soon as you barely move the clutch switch, i.e. corresponding to ClutchEngagement is just below 100%, or shall it be true first when ClutchEngagement is almost 0?

Makefile Outdated
@@ -37,6 +37,11 @@ csv:
ddsidl:
${TOOLSDIR}/vspec2ddsidl.py -I ./spec ./spec/VehicleSignalSpecification.vspec vss_rel_$$(cat VERSION).idl

# Verifies that supported overlay combinations are syntactically correct.
overlays:
${TOOLSDIR}/vspec2csv.py -I ./spec -o overlays/profiles/motorbike.vspec ./spec/VehicleSignalSpecification.vspec vss_rel_$$(cat VERSION)_motorbike.idl
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't matter for the intended goal of checking "parsability" of the overlay, but test uses vspec2csv however saves result to .idl
ceterum censeo vspec2json ist the only tool that counts 😛

This PR contains some signals relevant to motorbikes.
Some of them might be of general interest and may be moved to
"standard vss" later.

Signed-off-by: Erik Jaegervall <erik.jaegervall@se.bosch.com>
Copy link
Collaborator

@SebastianSchildt SebastianSchildt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my opinion this can be proposed upstream.

It is anyway still small, and will grow. Let's start growing it :)

@erikbosch
Copy link
Collaborator Author

Replaced by COVESA#487

@erikbosch erikbosch closed this Aug 30, 2022
@erikbosch erikbosch deleted the erikbosch/erik_motorbike branch February 22, 2023 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants