Skip to content

Commit f3517e9

Browse files
committed
Merge branch 's2025_EstCal_Calibration_PR' of https://github.com/krishauser/GEMstack into s2025_EstCal_Calibration_PR
2 parents 7aaa606 + c07d042 commit f3517e9

173 files changed

Lines changed: 22157 additions & 183 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/python-app.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Lint with flake8
3131
run: |
3232
# stop the build if there are Python syntax errors or undefined names
33-
flake8 ./GEMstack --count --select=E9,F63,F7,F82 --show-source --statistics --exclude=__init__.py || exit 1
33+
flake8 ./GEMstack --count --select=E9,F63,F7,F82 --ignore=F824 --show-source --statistics --exclude=__init__.py || exit 1
3434
# to enable more advanced checks on the repo, uncomment the lines below (There are around 3000 violations)
3535
# flake8 ./GEMstack --ignore=D,C901,E402,E231 --count --max-complexity=10 --max-line-length=127 --statistics --exclude=__init__.py || exit 1
3636
# if we want to enable documentation checks, uncomment the line below

.gitignore

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ downloads/
2222
eggs/
2323
.eggs/
2424
lib/
25+
!frontend/*
2526
lib64/
2627
parts/
2728
sdist/
@@ -32,6 +33,7 @@ share/python-wheels/
3233
.installed.cfg
3334
*.egg
3435
MANIFEST
36+
.idea/
3537

3638
# PyInstaller
3739
# Usually these files are written by a python script from a template
@@ -134,6 +136,7 @@ venv/
134136
ENV/
135137
env.bak/
136138
venv.bak/
139+
*.DS_Store
137140

138141
# Spyder project settings
139142
.spyderproject
@@ -164,4 +167,22 @@ cython_debug/
164167
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
165168
# and can be added to the global gitignore or merged into this file. For a more nuclear
166169
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
167-
#.idea/
170+
171+
.idea/
172+
173+
# ZED run files
174+
**/*.run
175+
.vscode/
176+
setup/zed_sdk.run
177+
178+
#Ignore ROS bags
179+
*.bag
180+
181+
cuda/
182+
homework/yolov8n.pt
183+
homework/yolo11n.pt
184+
yolov8n.pt
185+
yolo11n.pt
186+
187+
# Computation Graph of Launch File Outputs
188+
launch_visualization/graph
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
cameras:
2+
front:
3+
K:
4+
- [684.83331299, 0.0, 573.37109375]
5+
- [0.0, 684.60968018, 363.70092773]
6+
- [0.0, 0.0, 1.0]
7+
D: [0.0, 0.0, 0.0, 0.0, 0.0]
8+
T_l2c:
9+
- [ 0.0289748006, -0.999580136, 0.0000368439, -0.0307300513]
10+
- [-0.0094993062, -0.0003122155, -0.999954834, -0.386689354 ]
11+
- [ 0.999534999, 0.0289731321, -0.0095043721, -0.671425124 ]
12+
- [ 0.0, 0.0, 0.0, 1.0 ]
13+
T_l2v:
14+
- [ 0.99939639, 0.02547917, 0.023615, 1.1 ]
15+
- [ -0.02530848, 0.99965156, -0.00749882, 0.03773583 ]
16+
- [ -0.02379784, 0.00689664, 0.999693, 1.95320223 ]
17+
- [ 0.0, 0.0, 0.0, 1.0 ]
18+
19+
front_right:
20+
K:
21+
- [1176.25545, 0.0, 966.432645]
22+
- [0.0, 1175.14569, 608.580326]
23+
- [0.0, 0.0, 1.0 ]
24+
D: [-0.270136325, 0.164393255, -0.00160720782, -0.0000741246708, -0.0619939758]
25+
T_l2c:
26+
- [-0.71836368, -0.69527204, -0.02346088, 0.05718003]
27+
- [-0.09720448, 0.13371206, -0.98624154, -0.15983010]
28+
- [ 0.68884317, -0.70619960, -0.16363744, -1.04767285]
29+
- [ 0.0, 0.0, 0.0, 1.0 ]
30+
T_l2v:
31+
- [0.99939639, 0.02547917, 0.023615, 1.1]
32+
- [-0.02530848, 0.99965156, -0.00749882, 0.03773583]
33+
- [-0.02379784, 0.00689664, 0.999693, 1.95320223]
34+
- [0.0, 0.0, 0.0, 1.0 ]
35+
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
reference: rear_axle_center # rear axle center
2-
position: [1.10,0,2.03] # meters, calibrated by Hang's watchful eye
3-
rotation: [[1,0,0],[0,1,0],[0,0,1]] #rotation matrix mapping lidar frame to vehicle frame
2+
position: [1.10, 0.03773583, 1.95320223] # meters, calibrated by Hang's watchful eye
3+
rotation: [[0.99939639, 0.02547917, 0.023615],
4+
[-0.02530848, 0.99965156, -0.00749882],
5+
[-0.02379784, 0.00689664, 0.999693]] #rotation matrix mapping lidar frame to vehicle frame
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# vehicle info
2+
vehicle:
3+
vehicle_dim: [1.7, 3.2] # in meter
4+
vehicle_turning_radius: 3.657
5+
# algorithm parameters
6+
reeds_shepp_parking:
7+
shift_from_center_to_rear_axis: 1.25 # in meter
8+
search_step_size: 0.1 # in meter
9+
closest: False # If True, the closest parking spot will be selected, otherwise the farthest one will be selected
10+
parking_lot_axis_shift_margin: 2.44 # in meter
11+
search_bound_threshold: 0.5
12+
clearance_step: 0.5
13+
clearance: 0
14+
add_static_vertical_curb_as_obstacle: True
15+
add_static_horizontal_curb_as_obstacle: True
16+
static_horizontal_curb_size: [2.44, 0.5]
17+
static_vertical_curb_size: [2.44, 24.9]
18+
compact_parking_spot_size: [2.44, 4.88] # US Compact Space for parking (2.44, 4.88)
19+

GEMstack/knowledge/defaults/computation_graph.yaml

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ components:
2121
- lane_detection:
2222
inputs: [vehicle, roadgraph]
2323
outputs: vehicle_lane
24+
- parking_detection:
25+
inputs: obstacles
26+
outputs: [goal, obstacles]
2427
- sign_detection:
2528
inputs: [vehicle, roadgraph]
2629
outputs: roadgraph.signs
@@ -40,15 +43,33 @@ components:
4043
inputs: all
4144
- mission_execution:
4245
outputs: mission
46+
- mission_planning:
47+
inputs: all
48+
outputs: mission
4349
- route_planning:
44-
inputs: [vehicle, roadgraph, mission]
50+
inputs: all
4551
outputs: route
46-
- driving_logic:
52+
- route_planning_component:
53+
inputs: all
54+
outputs: [ route, mission ]
55+
- save_lidar_data:
4756
inputs: all
57+
outputs:
58+
- driving_logic:
59+
inputs:
4860
outputs: intent
61+
- _mission_planner: # one way
62+
inputs: all
63+
outputs: mission_plan
64+
- _route_planner: # one way
65+
inputs: all
66+
outputs: route
4967
- motion_planning:
5068
inputs: all
5169
outputs: trajectory
5270
- trajectory_tracking:
5371
inputs: [vehicle, trajectory]
5472
outputs:
73+
- signaling:
74+
inputs: [intent]
75+
outputs:
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# ********* Main settings entry point for behavior stack ***********
2+
3+
# Configure settings for the vehicle / vehicle model
4+
vehicle: !include ../vehicle/gem_e2.yaml
5+
6+
#arguments for algorithm components here
7+
model_predictive_controller:
8+
dt: 0.1
9+
lookahead: 20
10+
control:
11+
recovery:
12+
brake_amount : 0.5
13+
brake_speed : 2.0
14+
pure_pursuit:
15+
lookahead: 2.0
16+
lookahead_scale: 3.0
17+
crosstrack_gain: 1.0
18+
desired_speed: trajectory
19+
longitudinal_control:
20+
pid_p: 1.0
21+
pid_i: 0.1
22+
pid_d: 0.0
23+
24+
#configure the simulator, if using
25+
simulator:
26+
dt: 0.01
27+
real_time_multiplier: 1.0 # make the simulator run faster than real time by making this > 1
28+
gnss_emulator:
29+
dt: 0.1 #10Hz
30+
#position_noise: 0.1 #10cm noise
31+
#orientation_noise: 0.04 #2.3 degrees noise
32+
#velocity_noise:
33+
# constant: 0.04 #4cm/s noise
34+
# linear: 0.02 #2% noise
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# arguments for BiRRT* algorithm
2+
# map parameters
3+
map:
4+
lower_x: -15
5+
upper_x: 40
6+
lower_y: -10
7+
upper_y: 30
8+
grid_resolution: 10 # grids per meter for occupency grid
9+
lane_boundary_radius: 0.2 # radius in meter for determining the size of the lane boundary in occupency grid
10+
obstacle_radius: 0.2 # radius in meter for determining the size of the obstacle in occupency grid
11+
# vehicle info
12+
vehicle:
13+
heading_limit: 0.5235987756 # vehicle heading difference limit per rrt step_size (pi/6 in radians)
14+
half_width: 0.8 # vehicle half width in meter
15+
# algorithm parameters
16+
rrt:
17+
time_limit: 10 # in sec
18+
step_size: 0.5 # length in meter for local planner to explore
19+
search_r: 1.4 # radius in meter for rewiring
21.5 MB
Binary file not shown.

GEMstack/knowledge/routes/summoning_roadgraph_highbay.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)