-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arch: WIP: Added selection list for edit mode
Adds selection list for edit mode and model loader as well for the aliases. The VehicleImporter should be now obsolete, the main vehicle should be loaded from the scenario file.
- Loading branch information
1 parent
99aa075
commit 44e9e79
Showing
11 changed files
with
127 additions
and
19 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#Pixel to centimeter ratio is 0.75 | ||
width: 93.75 | ||
length: 421.5 | ||
|
||
mass: 100.0 | ||
friction: 200.0 | ||
|
||
steeringAngle: 40.0 | ||
wheelDiameter: 20.0 | ||
|
||
image: 'models/white-truck.png' | ||
axleWidth: 5.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#!/bin/bash | ||
source /opt/ros/jazzy/setup.bash | ||
source env/bin/activate | ||
./src/Main.py --graphics --ros | ||
#./src/Main.py --graphics --ros | ||
./src/Main.py --graphics --ros --scenario scenarios/campain-1.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
aliases: | ||
- name: Wall | ||
model: null | ||
render: RectangleRender | ||
type: Wall | ||
- name: Vehicle | ||
model: null | ||
render: SimpleVehicleRender | ||
type: Vehicle | ||
- name: WhiteTruck | ||
model: "models/white-truck.yaml" | ||
render: SimpleVehicleRender | ||
type: Vehicle | ||
objects: | ||
dynamic: [] | ||
static: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
aliases: | ||
- name: Wall | ||
render: RectangleRender | ||
type: Wall | ||
- name: Vehicle | ||
render: SimpleVehicleRender | ||
type: Vehicle | ||
- name: WhiteTruck | ||
render: SimpleVehicleRender | ||
type: Vehicle | ||
objects: | ||
dynamic: [] | ||
static: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters