Skip to content

Commit

Permalink
Merge branch 'main' into dob
Browse files Browse the repository at this point in the history
  • Loading branch information
Rather1337 committed Dec 18, 2024
2 parents 9e62d6f + 9237ee2 commit d0561ff
Show file tree
Hide file tree
Showing 12 changed files with 349 additions and 292 deletions.
9 changes: 9 additions & 0 deletions config/level0.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@
[controller]
file = "trajectory_controller.py" # Put your controller file name here. Specifying a controller as argument to scripts will override this setting. Controllers are located in `lsy_drone_racing/control/`

[deploy]
### Settings only relevant for deployment
# Whether to check if gate and obstacle positions observed by vicon are within the limits defined down below.
check_race_track = true
# Whether to check if the drone start position is within the limits specified down below.
check_drone_start_pos = true
# Lets you practice your controller without putting up gates & obstacles, assumes nominal positions given below.
practice_without_track_objects = false

[sim]
# Physics options:
# "pyb": PyBullet
Expand Down
9 changes: 9 additions & 0 deletions config/level1.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@
[controller]
file = "trajectory_controller.py" # Put your controller file name here. Specifying a controller as argument to scripts will override this setting. Controllers are located in `lsy_drone_racing/control/`

[deploy]
### Settings only relevant for deployment
# Whether to check if gate and obstacle positions observed by vicon are within the limits defined down below.
check_race_track = true
# Whether to check if the drone start position is within the limits specified down below.
check_drone_start_pos = true
# Lets you practice your controller without putting up gates & obstacles, assumes nominal positions given below.
practice_without_track_objects = false

[sim]
# Physics options:
# "pyb": PyBullet
Expand Down
9 changes: 9 additions & 0 deletions config/level2.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@
[controller]
file = "trajectory_controller.py" # Put your controller file name here. Specifying a controller as argument to scripts will override this setting. Controllers are located in `lsy_drone_racing/control/`

[deploy]
### Settings only relevant for deployment
# Whether to check if gate and obstacle positions observed by vicon are within the limits defined down below.
check_race_track = true
# Whether to check if the drone start position is within the limits specified down below.
check_drone_start_pos = true
# Lets you practice your controller without putting up gates & obstacles, assumes nominal positions given below.
practice_without_track_objects = false

[sim]
# Physics options:
# "pyb": PyBullet
Expand Down
23 changes: 16 additions & 7 deletions config/level3.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,16 @@
# | :-----------------: | :-----------------------: | :-------------------------: | :--------------------: | :---------------: |
# | `level3.toml` | **Yes** | **Yes** | **Yes** | Robustness |
[controller]
file = "thrust_controller.py" # Put your controller file name here. Specifying a controller as argument to scripts will override this setting. Controllers are located in `lsy_drone_racing/control/` trajectory_controller or thrust_controller.py
file = "trajectory_controller.py" # Put your controller file name here. Specifying a controller as argument to scripts will override this setting. Controllers are located in `lsy_drone_racing/control/`

[deploy]
### Settings only relevant for deployment
# Whether to check if gate and obstacle positions observed by vicon are within the limits defined down below.
check_race_track = true
# Whether to check if the drone start position is within the limits specified down below.
check_drone_start_pos = true
# Lets you practice your controller without putting up gates & obstacles, assumes nominal positions given below.
practice_without_track_objects = false

[sim]
# Physics options:
Expand Down Expand Up @@ -38,12 +47,12 @@ std = 0.01
# high = [0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001]

[env]
id = "DroneRacingThrust-v0" # Either "DroneRacing-v0" or "DroneRacingThrust-v0". If using "DroneRacingThrust-v0", the drone will use the thrust controller instead of the position controller.
reseed = false # Whether to re-seed the random number generator between episodes
seed = 1337 # Random seed
freq = 60 # Frequency of the environment's step function, in Hz
symbolic = false # Whether to include symbolic expressions in the info dict. Note: This can interfere with multiprocessing! If you want to parallelize your training, set this to false.
sensor_range = 0.45 # Range at which the exact location of gates and obstacles become visible to the drone. Objects that are not in the drone's sensor range report their nominal position.
id = "DroneRacing-v0" # Either "DroneRacing-v0" or "DroneRacingThrust-v0". If using "DroneRacingThrust-v0", the drone will use the thrust controller instead of the position controller.
reseed = false # Whether to re-seed the random number generator between episodes
seed = 1337 # Random seed
freq = 60 # Frequency of the environment's step function, in Hz
symbolic = false # Whether to include symbolic expressions in the info dict. Note: This can interfere with multiprocessing! If you want to parallelize your training, set this to false.
sensor_range = 0.45 # Range at which the exact location of gates and obstacles become visible to the drone. Objects that are not in the drone's sensor range report their nominal position.

[env.track]
# Tall gates: 1.0m height. Short gates: 0.525m height. Height is measured from the ground to the
Expand Down
Loading

0 comments on commit d0561ff

Please sign in to comment.