Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OUTDATED Verse-library
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AutonomyCourse_ECEIllinois
OUTDATED Verse-library
Commits
61c7319d
Commit
61c7319d
authored
2 years ago
by
li213
Browse files
Options
Downloads
Patches
Plain Diff
fixing broken imports
parent
c1a67e72
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
example_controller2.py
+1
-1
1 addition, 1 deletion
example_controller2.py
example_controller3.py
+7
-0
7 additions, 0 deletions
example_controller3.py
example_two_car_sign_lane_switch.py
+6
-6
6 additions, 6 deletions
example_two_car_sign_lane_switch.py
with
14 additions
and
7 deletions
example_controller2.py
+
1
−
1
View file @
61c7319d
from
enum
import
Enum
,
auto
import
copy
from
dryvr
py
.scene_verifier.map.lane_map
import
LaneMap
from
dryvr
_plus_plus
.scene_verifier.map.lane_map
import
LaneMap
class
VehicleMode
(
Enum
):
Normal
=
auto
()
...
...
This diff is collapsed.
Click to expand it.
example_controller3.py
+
7
−
0
View file @
61c7319d
...
...
@@ -13,6 +13,13 @@ class LaneMode(Enum):
Lane1
=
auto
()
Lane2
=
auto
()
class
LaneObjectMode
(
Enum
):
Vehicle
=
auto
()
Ped
=
auto
()
# Pedestrians
Sign
=
auto
()
# Signs, stop signs, merge, yield etc.
Signal
=
auto
()
# Traffic lights
Obstacle
=
auto
()
# Static (to road/lane) obstacles
class
State
:
x
=
0.0
y
=
0.0
...
...
This diff is collapsed.
Click to expand it.
example_two_car_sign_lane_switch.py
+
6
−
6
View file @
61c7319d
...
...
@@ -68,12 +68,12 @@ def controller(ego: State, other: State, sign: State, lane_map):
return
output
from
dryvr
py
.example.example_agent.car_agent
import
CarAgent
from
dryvr
py
.example.example_agent.sign_agent
import
SignAgent
from
dryvr
py
.scene_verifier.scenario.scenario
import
Scenario
from
dryvr
py
.example.example_map.simple_map2
import
SimpleMap3
from
dryvr
py
.plotter.plotter2D
import
plot_reachtube_tree
,
plot_simulation_tree
from
dryvr
py
.example.example_sensor.fake_sensor
import
FakeSensor2
from
dryvr
_plus_plus
.example.example_agent.car_agent
import
CarAgent
from
dryvr
_plus_plus
.example.example_agent.sign_agent
import
SignAgent
from
dryvr
_plus_plus
.scene_verifier.scenario.scenario
import
Scenario
from
dryvr
_plus_plus
.example.example_map.simple_map2
import
SimpleMap3
from
dryvr
_plus_plus
.plotter.plotter2D
import
plot_reachtube_tree
,
plot_simulation_tree
from
dryvr
_plus_plus
.example.example_sensor.fake_sensor
import
FakeSensor2
import
matplotlib.pyplot
as
plt
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment