Skip to content

Commit

Permalink
updt workflow, updated example world file
Browse files Browse the repository at this point in the history
  • Loading branch information
klaxalk committed Oct 31, 2023
1 parent 81a2e15 commit fd5521f
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 43 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ros_build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:
paths-ignore:
- '**/README.md'

pull_request:
branches: [ master ]
pull_request:
branches: [ master ]

workflow_dispatch:

Expand Down
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

0 comments on commit fd5521f

Please sign in to comment.