Skip to content

Commit

Permalink
Merge d9a994d into f2aac47
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximeBouton committed Nov 13, 2019
2 parents f2aac47 + d9a994d commit c718e51
Show file tree
Hide file tree
Showing 13 changed files with 67 additions and 422 deletions.
2 changes: 1 addition & 1 deletion Project.toml
@@ -1,7 +1,7 @@
name = "AutoUrban"
uuid = "1385418a-9289-5a49-ab93-843b508de4cb"
repo = "https://github.com/sisl/AutoUrban.jl"
version = "0.2.2"
version = "0.2.3"

[deps]
AutoViz = "82aa6e0c-a491-5edf-8d4b-c16b98e4ea17"
Expand Down
9 changes: 9 additions & 0 deletions README.md
Expand Up @@ -6,6 +6,15 @@ A Julia package expanding the [AutomotiveDrivingModels.jl](https://github.com/si

## Installation

Preferred way, by adding the SISL registry:

```
] registry add https://github.com/sisl/Registry
] add AutoUrban
```

Other way, by manually adding all the dependencies:

```julia
using Pkg
Pkg.add(PackageSpec(url="https://github.com/sisl/Vec.jl"))
Expand Down
53 changes: 49 additions & 4 deletions src/AutoUrban.jl
Expand Up @@ -9,9 +9,54 @@ using Printf
using LinearAlgebra
using Distributions

include("simulation/main.jl")
include("drivermodels/main.jl")
include("render/main.jl")
include("roadway/main.jl")
export
LatLonAccelDirection,
AccelSteeringDirection,
NextState

include("actions.jl")

export
initialize_XML,
get_lane_length,
handle_junctions,
convert_roadway!,
Connection,
Junction,
connect_two_lane_general!,
connect_two_seg!,
connect_two_seg_general!,
add_connection!,
add_junction!,
gen_connected_lanes,
gen_intersection,
gen_loop_roadway,
add_line!,
in_lanes,
get_max_curvature

include("roadway/roadway_generation.jl")
include("roadway/roadway_perception.jl")
include("roadway/roadway_intersection.jl")
include("roadway/convert2xodr.jl")

export
AccSteerDriver,
IDMDriver,
UrbanDriver,
MultiPtsDriver,
MultiPtsTurningDriver,
MOBILDriver,
excute_action!

include("drivermodels/acc_steer_drivers.jl")
include("drivermodels/IDMDriver.jl")
include("drivermodels/MOBILDriver.jl")
include("drivermodels/urban_drivers.jl")
include("drivermodels/multiPts_driver.jl")
include("drivermodels/multiPts_functions_GD.jl")
include("drivermodels/waypoints_setting_functions.jl")
include("drivermodels/multiPtsTurning_driver.jl")
include("drivermodels/render_drivers.jl")

end
File renamed without changes.
2 changes: 1 addition & 1 deletion src/drivermodels/MOBILDriver.jl
@@ -1,6 +1,6 @@
import AutomotiveDrivingModels.observe!

mutable struct MOBILDriver <: LaneChangeModel
mutable struct MOBILDriver <: LaneChangeModel{LaneChangeChoice}

dir::Int
#rec::SceneRecord
Expand Down
121 changes: 0 additions & 121 deletions src/drivermodels/env_drivers_backup.jl

This file was deleted.

18 changes: 0 additions & 18 deletions src/drivermodels/main.jl

This file was deleted.

File renamed without changes.
1 change: 0 additions & 1 deletion src/render/main.jl

This file was deleted.

0 comments on commit c718e51

Please sign in to comment.