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

Feature/11237 datapoint setter #29

Merged
merged 3 commits into from
Oct 27, 2022
Merged

Conversation

emsameen
Copy link
Member

@emsameen emsameen commented Oct 23, 2022

Describe your changes

Implement SetDatapoint API to enable value set of the vss actuators.

Issue ticket number and link

#11237

Checklist - Manual tasks

  • Examples are executing successfully
  • Created/updated unit tests. Code Coverage percentage on new code shall be >= 80%.
  • Created/updated integration tests.
  • Devcontainer can be opened successfully
  • Devcontainer can be opened successfully behind a corporate proxy
  • Devcontainer can be re-built successfully
  • Extended the documentation (e.g. README.md, CONTRIBUTING.md, Velocitas)

@emsameen emsameen force-pushed the feature/11237-datapoint-setter branch 2 times, most recently from 82f71ad to 2841e9c Compare October 24, 2022 22:12
@emsameen emsameen force-pushed the feature/11237-datapoint-setter branch from 2841e9c to 18f4d6c Compare October 24, 2022 23:01
@emsameen emsameen requested a review from mml5bg October 25, 2022 00:30
@@ -21,7 +21,7 @@
{
"name": "databroker",
"image": "ghcr.io/eclipse/kuksa.val/databroker",
"version": "v0.17.0"
"version": "master"
Copy link
Member Author

Choose a reason for hiding this comment

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

This needs to be updated according to the new VAL version.

  • Soon you shall receive a new version

{
"name": "databroker",
"image": "ghcr.io/eclipse/kuksa.val/databroker",
"version": "master"
Copy link
Member Author

Choose a reason for hiding this comment

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

This needs to be updated according to the new VAL version.

  • Soon you shall receive a new version

@@ -229,6 +239,28 @@ async def get(self):
)
raise

async def set(self, value):
Copy link
Member Author

Choose a reason for hiding this comment

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

As discussed in the further improvement for this to make the set method only visible for the actuator data points, this requires additional adaptation on the Vehicle mode and needs also alignment with the C++

@dennismeister93 dennismeister93 merged commit 29c21eb into main Oct 27, 2022
@dennismeister93 dennismeister93 deleted the feature/11237-datapoint-setter branch October 27, 2022 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants