-
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.
updt workflow, updated example world file
- Loading branch information
Showing
2 changed files
with
31 additions
and
43 deletions.
There are no files selected for viewing
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
70 changes: 29 additions & 41 deletions
70
ros_packages/mrs_hector_core/tmux/simulation/custom_configs/world_config.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 |
---|---|---|
@@ -1,46 +1,34 @@ | ||
# | ||
## DEFINITION OF THE ARENA | ||
# | ||
world_origin: | ||
|
||
world_origin_units: "LATLON" # {"UTM, "LATLON"} | ||
units: "LATLON" # {"UTM, "LATLON"} | ||
|
||
world_origin_x: 47.397743 | ||
world_origin_y: 8.545594 | ||
origin_x: 47.397743 | ||
origin_y: 8.545594 | ||
|
||
safety_area: | ||
|
||
use_safety_area: true | ||
|
||
frame_name: "local_origin" | ||
|
||
# convex polygon CCW | ||
safety_area: [ | ||
-50, -50, | ||
50, -50, | ||
50, 50, | ||
-50, 50 | ||
] | ||
|
||
max_z: 15.0 | ||
min_z: 0.5 | ||
|
||
polygon_obstacles: | ||
# loaded as a vector of matrices | ||
# each matrix has polygon vertices in columns | ||
# [[M1], [M2]] | ||
enabled: false | ||
data: [8.6, 18.61, 20.35, 6.82, -3.14, 10.7, | ||
-22.5, -22.71, 1.02, 17.68, 11.1, -4.1] | ||
rows: 2 # each matrix has two rows | ||
cols: [6] # nums of cols of each matrix | ||
|
||
point_obstacles: | ||
# loaded as a vector of matrices | ||
# x, y, radius | ||
enabled: false | ||
# [x1, y1, radisu1, height1, | ||
# x2, y2, radius2, height2] | ||
data: [-5.0, -5.0, 2, 2, | ||
-10.0, -10.0, 4, 2] | ||
rows: 1 # each matrix has a single row | ||
cols: [4, 4] # nums of cols of each matrix | ||
enabled: true | ||
|
||
horizontal: | ||
|
||
# the frame of reference in which the points are expressed | ||
frame_name: "local_origin" | ||
|
||
# polygon | ||
# | ||
# x, y [m] for any frame_name except latlon_origin | ||
# x = latitude, y = longitude [deg] for frame_name=="latlon_origin" | ||
points: [ | ||
-50, -50, | ||
50, -50, | ||
50, 50, | ||
-50, 50, | ||
] | ||
|
||
vertical: | ||
|
||
# the frame of reference in which the max&min z is expressed | ||
frame_name: "local_origin" | ||
|
||
max_z: 15.0 | ||
min_z: 0.5 |