Skip to content

Commit 8a0c4f7

Browse files
committed
Fix test cases
Also removing links to the obsolete vehicle-model-python repository Fixes things that seems to be obviously wrong, resulting in that "velocitas init" fail or that Removing dead config
1 parent bb166e5 commit 8a0c4f7

File tree

13 files changed

+12
-50
lines changed

13 files changed

+12
-50
lines changed

examples/array-datatype/src/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import logging
1919
import signal
2020

21-
from sdv_model import Vehicle, vehicle # type: ignore
21+
from vehicle import Vehicle, vehicle # type: ignore
2222

2323
from velocitas_sdk.vdb.subscriptions import DataPointReply
2424
from velocitas_sdk.vehicle_app import VehicleApp

examples/atomic-set/AppManifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"vehicleapp/setValue/request"
2828
],
2929
"writes": [
30-
"vehicleapp/setValue/response",
30+
"vehicleapp/setValue/response"
3131
]
3232
}
3333
}

examples/atomic-set/src/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import logging
1818
import signal
1919

20-
from sdv_model import Vehicle, vehicle # type: ignore
20+
from vehicle import Vehicle, vehicle # type: ignore
2121

2222
from velocitas_sdk.vdb.subscriptions import DataPointReply
2323
from velocitas_sdk.vehicle_app import VehicleApp, subscribe_topic

examples/datapoint-set/AppManifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"vehicleapp/setSensor/request"
2929
],
3030
"writes": [
31-
"vehicleapp/setValue/response",
31+
"vehicleapp/setValue/response"
3232
]
3333
}
3434
}

examples/datapoint-set/src/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import logging
1818
import signal
1919

20-
from sdv_model import Vehicle, vehicle # type: ignore
20+
from vehicle import Vehicle, vehicle # type: ignore
2121

2222
from velocitas_sdk.vdb.subscriptions import DataPointReply
2323
from velocitas_sdk.vehicle_app import VehicleApp, subscribe_topic

examples/dog-mode/AppManifest.json

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -2,44 +2,6 @@
22
"manifestVersion": "v3",
33
"name": "dogmode",
44
"interfaces": [
5-
{
6-
"type": "vehicle-signal-interface",
7-
"config": {
8-
"src": "https://github.com/COVESA/vehicle_signal_specification/releases/download/v3.0/vss_rel_3.0.json",
9-
"datapoints": {
10-
"required": [
11-
{
12-
"path": "Vehicle.Cabin.AmbientAirTemperature",
13-
"access": "read"
14-
},
15-
{
16-
"path": "Vehicle.Cabin.DogMode",
17-
"access": "read"
18-
},
19-
{
20-
"path": "Vehicle.Cabin.DogModeTemperature",
21-
"access": "read"
22-
},
23-
{
24-
"path": "Vehicle.Powertrain.Battery.StateOfCharge.Current",
25-
"access": "read"
26-
}
27-
]
28-
}
29-
}
30-
},
31-
{
32-
"type": "grpc-interface",
33-
"config": {
34-
"src": "https://github.com/eclipse/kuksa.val.services/blob/v0.2.0/hvac_service/proto/sdv/edge/comfort/hvac/v1/hvac.proto",
35-
"required": {
36-
"methods": [
37-
"SetAcStatus",
38-
"SetTemperature"
39-
]
40-
}
41-
}
42-
},
435
{
446
"type": "pubsub",
457
"config": {

examples/dynamic-rule/src/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import logging
2121
import signal
2222

23-
from sdv_model import Vehicle, vehicle # type: ignore
23+
from vehicle import Vehicle, vehicle # type: ignore
2424

2525
from velocitas_sdk import config
2626
from velocitas_sdk.config import Config, MiddlewareType

examples/performance-subscribe/src/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import signal
1919
from datetime import datetime
2020

21-
from sdv_model import Vehicle, vehicle # type: ignore
21+
from vehicle import Vehicle, vehicle # type: ignore
2222

2323
from velocitas_sdk.model import DataPoint
2424
from velocitas_sdk.util.log import ( # type: ignore

examples/static-rule/AppManifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
]
1616
}
1717
}
18-
},
18+
}
1919
]
2020
}

examples/static-rule/src/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import logging
1919
import signal
2020

21-
from sdv_model import Vehicle, vehicle # type: ignore
21+
from vehicle import Vehicle, vehicle # type: ignore
2222

2323
from velocitas_sdk.vdb.subscriptions import DataPointReply
2424
from velocitas_sdk.vehicle_app import VehicleApp, subscribe_data_points

0 commit comments

Comments
 (0)