Skip to content

Commit 20e3448

Browse files
[github] Add github workflows for DReyeVR install
1 parent 10fe5bf commit 20e3448

File tree

3 files changed

+56
-1
lines changed

3 files changed

+56
-1
lines changed

.github/workflows/ci.yml

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-20.04
13+
14+
steps:
15+
- uses: actions/checkout@v3
16+
- name: install
17+
run: |
18+
sudo apt-get update
19+
sudo apt-get install -y g++-7 clang-8 ninja-build python3-pip libboost-python-dev libtiff5-dev libjpeg-dev libgeos-dev
20+
- name: clone vanilla Carla
21+
run: |
22+
git clone https://github.com/carla-simulator/carla --depth 1 -b 0.9.13
23+
- name: DReyeVR install
24+
run: |
25+
make install CARLA=carla
26+
- name: DReyeVR check
27+
run: |
28+
make check CARLA=carla
29+
- name: get Python requirements
30+
working-directory: ./carla
31+
run: |
32+
pip3 install -q --user setuptools
33+
pip3 install -q --user -r PythonAPI/test/requirements.txt
34+
pip3 install -q --user -r PythonAPI/carla/requirements.txt
35+
- name: Initial Carla setup
36+
working-directory: ./carla
37+
run: make setup
38+
- name: Build LibCarla
39+
working-directory: ./carla
40+
run: make LibCarla
41+
- name: Build Carla PythonAPI
42+
working-directory: ./carla
43+
run: make PythonAPI
44+
- name: Build Carla examples
45+
working-directory: ./carla
46+
run: make examples
47+
- name: Run Carla Unit tests
48+
working-directory: ./carla
49+
run: make check ARGS="--all --gtest_args=--gtest_filter=-*_mt"

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## DReyeVR 0.1.1 (for Carla 0.9.13)
2+
- Update documentation, add developer-centric in-depth documentation
3+
- Adding missing includes for TrafficSign RoadInfoSignal in SignComponent
4+
- Replacing `DReyeVRData.inl` with `DReyeVRData.cpp` and corresponding virtual classes
5+
- Add GitHub workflow for installing DReyeVR atop Carla and building LibCarla/PythonAPI (not CarlaUE4 which requires UnrealEngine)
6+
17
## DReyeVR 0.1.0 (for Carla 0.9.13)
28
- Replace existing `LevelScript` (`ADReyeVRLevel`) with `GameMode` (`ADReyeVRGameMode`). This allows us to not need to carry the (large) map blueprint files (ue4 binary) and we can use the vanilla Carla maps without modification. By default we spawn the EgoVehicle in the first of the recommended Carla locations, but this default behavior can be changed in the PythonAPI. For instance, you can delay spawning the EgoVehicle until via PythonAPI where you can specify the spawn transform. Existing functionality is preserved using `find_ego_vehicle` and `find_ego_sensor` which spawn the DReyeVR EgoVehicle if it does not exist in the world.
39
- Added `ADReyeVRFactory` as the Carla-esque spawning and registry functionality so the `EgoVehicle` and `EgoSensor` are spawned with the same "Factory" mechanisms as existing Carla vehicles/sensors/props/etc.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[Submission Video Demonstration (YouTube)](https://www.youtube.com/watch?v=yGIPSDOMGpY)
77
<!-- Welcome to the DReyeVR wiki! -->
88

9-
[![Build Status](https://github.com/HARPLab/DReyeVR-Dev/actions/workflows/ci.yml/badge.svg)](https://github.com/HARPLab/DReyeVR-Dev/actions/workflows/ci.yml)
9+
[![Build Status](https://github.com/HARPLab/DReyeVR/actions/workflows/ci.yml/badge.svg)](https://github.com/HARPLab/DReyeVR/actions/workflows/ci.yml)
1010

1111
This project extends the [`Carla`](https://github.com/carla-simulator/carla/tree/0.9.13) simulator to add virtual reality integration, a first-person maneuverable ego-vehicle, eye tracking support, and several immersion enhancements.
1212

0 commit comments

Comments
 (0)