You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/object_alert_app/README.md
+5-25
Original file line number
Diff line number
Diff line change
@@ -1,40 +1,26 @@
1
-
# Example Application
1
+
# Object Alert app
2
2
3
-
The Example App show how data from the vehicle can be received by an application running in the vehicle.
3
+
The App show how data from the vehicle's camera is used to identify the region of interest and if objects identified within that region of interest then a warning is issued.
4
4
5
5
## Build
6
6
7
-
When running `restart-shift2sdv`, or explicitly the `build-apps` script, the Example App will be build and containerized automatically as `ghcr.io/eclipse-sdv-hackathon-chapter-two/shift2sdv/example_app:latest`.
7
+
When running `restart-shift2sdv`, or explicitly the `build-apps` script, the Example App will be build and containerized automatically as `ghcr.io/eclipse-sdv-hackathon-chapter-two/shift2sdv/object_alert_app:latest`.
8
8
9
9
Of course, you are free to build manually if needed by calling the following command from the example_app folder:
10
10
11
11
```shell
12
12
podman build -t example_app:latest .
13
13
```
14
14
15
-
**Note:** Inside the test-vehicle the Example App will run on ARM-Platform. Test the build by running the command above and ask the hack coaches to build your image for ARM to run it inside the test vehicle.
16
-
17
-
## Running
18
-
19
-
The Example App is automatically started by Ankaios as there is an entry for it in the [shift2sdv_manifest.yaml](shift2sdv_manifest.yaml).
20
-
21
-
In the test vehicle the Example App container image will be started and managed by Eclipse Ankaios.
22
-
23
-
Talk to the hack coaches to build a multi-platform or ARM image before trying to run the app in the vehicle.
24
-
25
-
## Development
26
-
27
15
### Run
28
16
29
17
Start the app inside the devcontainer for local development:
30
18
31
19
```shell
32
-
python3 example_app.py
20
+
python3 object_alert_app.py
33
21
```
34
22
35
-
### Testing with mock data
36
-
37
-
Ask the hack coaches for an eCAL recording to play back a recorded driving scenario with eCAL and to receive the vehicle dynamics data in the Example App for development.
23
+
### Testing with Sample data
38
24
39
25
Place the downloaded eCAL recording in a `measurements/` folder next to the current file.
40
26
@@ -44,12 +30,6 @@ Start the eCAL recording within the devcontainer, replace `<recording_folder>` w
44
30
ecal_play -m measurements/<recording_folder>
45
31
```
46
32
47
-
Start the Example App inside the devcontainer as shown above.
48
-
49
-
You should see logs of the JSON data received, and in the web browser the tachometer should show some speed values.
50
-
51
-
For debugging reasons you can start the eCAL Monitor terminal UI in a separate terminal window by running:
0 commit comments