Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
368 commits
Select commit Hold shift + click to select a range
f3804db
blink_component file test
laneccolin Feb 17, 2025
7568b2c
Merge branch 's2025' into s2025_teamA
krishauser Feb 18, 2025
0067d5c
detect_collision_via_optimization added
Henry-YiW Feb 18, 2025
97e5e63
Update longitudinal_planning.py
udymd Feb 19, 2025
3a8a282
Merge branch 'A4_planning' into s2025_teamA_control-planning
udymd Feb 19, 2025
466d887
Adjust Change dynamic_dt_k for simulation
udymd Feb 19, 2025
ef3a29a
Merge branch 's2025_teamA' into s2025_teamA_control-planning
udymd Feb 19, 2025
ab6fe4a
Added homework description and starter code
krishauser Jan 27, 2025
2be0d8e
Fixed Klampt drawing problem onboard... still mysterious
krishauser Jan 28, 2025
23eb3fb
added two subscribers for part1-1
ShellyRiver Jan 31, 2025
79616f3
added publisher to blink.py
Feb 1, 2025
ec12f16
debug subscriber to pacmod accel
ShellyRiver Feb 3, 2025
000a052
blink_component code/have not been tested
Feb 4, 2025
1e15536
blink.py publisher minor bug fix
mikayel2 Feb 3, 2025
fa57607
Changed matplotlib to 3D visualization
krishauser Feb 3, 2025
9496bde
Adding github action for linting and documentation
animeshsingh98 Feb 2, 2025
95c5071
Adding github action trigger on all commits
animeshsingh98 Feb 2, 2025
e2bf7c7
Upgrading version of upload artifact
animeshsingh98 Feb 2, 2025
b144c94
Optimizing the workflow yaml
animeshsingh98 Feb 2, 2025
9b3d5f8
Optimizing the workflow yaml
animeshsingh98 Feb 2, 2025
e7ed1a5
Correcting in the key names
animeshsingh98 Feb 2, 2025
c8b3c5a
Removing requirements.txt installation in documentation
animeshsingh98 Feb 2, 2025
8dcb9c9
Correcting name of build artifact for documentation folder
animeshsingh98 Feb 2, 2025
2e6abdf
Removing action trigger on PR
animeshsingh98 Feb 2, 2025
791720c
Fixed diff that was somehow committed
krishauser Feb 3, 2025
cf0485d
Fixed launch file to work with standard perception pipeline
krishauser Feb 3, 2025
f31aed0
HW1 Part 1.2 code (provided by Yifei Mao) works correctly in simulation.
mikayel2 Feb 3, 2025
6acbc59
try upload
dazhenc2 Feb 5, 2025
73b5c95
HW1 Part 2: Parameter Tuning (crosstrack gain and decay speed)
mikayel2 Feb 9, 2025
f063786
hw1.3
dazhenc2 Feb 7, 2025
44af541
finalize hw1.3
dazhenc2 Feb 12, 2025
701c378
Fine tuning tracking and comfort level, comfort index added as a metric
mikayel2 Feb 14, 2025
ba9f62a
Merge branch 'A1_control' of https://github.com/krishauser/GEMstack i…
alo-20 Feb 19, 2025
c4a9abe
Change brake active range to start at 0.25
alo-20 Feb 19, 2025
9a98cba
Change e4 dynamics to have 0.25 start of brake_active_range
alo-20 Feb 19, 2025
973da06
Update gem_e4_dynamics.yaml
laneccolin Feb 19, 2025
fdbed01
Update gem_e4_dynamics.yaml
laneccolin Feb 19, 2025
ad2bd16
Update gem_e4_dynamics.yaml
laneccolin Feb 19, 2025
404e393
Merge branch 'A1_control' into s2025_teamA_control-planning
udymd Feb 19, 2025
95194dc
Merge pull request #120 from krishauser/s2025_teamA_control-planning
laneccolin Feb 19, 2025
d777ab6
Merge pull request #121 from krishauser/A1_control
laneccolin Feb 19, 2025
844f035
change the logic in part 2
Patrick8894 Feb 19, 2025
0ec9d23
Fixed to move GEM (GNSS, brake, steering are working)
Feb 19, 2025
94d17e1
Adjust the parameters of vehicle xy temporalily (need to be fixed in …
Feb 19, 2025
51a8150
correct tx,ty
rjsun06 Feb 19, 2025
3891eed
updating tx in lidar to camera
AadarshHegde123 Feb 20, 2025
63432ef
lidar->vehecle matrix. and update manual pointpicking
rjsun06 Feb 20, 2025
fd501fa
Merge branch 'EstCal_A' of https://github.com/krishauser/GEMstack int…
rjsun06 Feb 20, 2025
1b44351
camera to vehicle by point selecting.
rjsun06 Feb 20, 2025
9c91ffc
dumb typo
rjsun06 Feb 20, 2025
11907a3
dumb typo
rjsun06 Feb 20, 2025
fa73970
adding testing script and lidar to cam script
AadarshHegde123 Feb 21, 2025
04239a4
Merge branch 'A4_planning_part2' into A4_planning
udymd Feb 22, 2025
60e3d20
Fixed for test function
udymd Feb 23, 2025
591b385
Merge branch 's2025_teamA_control-planning' into A4_planning
udymd Feb 23, 2025
89b16df
Added args for sim/real and milestine/dt/dx in launch
udymd Feb 23, 2025
91632e2
Modified coordinates among real/sim and perception
udymd Feb 23, 2025
e6ec341
Merge pull request #127 from krishauser/A4_planning
udymd Feb 23, 2025
047f84f
get_minimum_deceleration_for_collision_avoidance completed
Henry-YiW Feb 23, 2025
c05d406
get_minimum_deceleration_for_collision_avoidance completed
Henry-YiW Feb 23, 2025
df80729
get_minimum_deceleration_for_collision_avoidance tested
Henry-YiW Feb 23, 2025
54e1af4
Modifying for multiple pedestrians
udymd Feb 23, 2025
1be8acf
Updated gem_e4_dynamics.yaml
laneccolin Feb 23, 2025
66884ba
Merge branch 's2025_teamA' into infra_a_main
Averyyy Feb 23, 2025
323cba2
Merge pull request #117 from krishauser/infra_a_main
Averyyy Feb 23, 2025
cab0bd0
Update the newest pedestrian detection code
rty727433198 Feb 23, 2025
1762b6e
Update gem_e4_dynamics.yaml
laneccolin Feb 23, 2025
96e55b4
Modify for real car
udymd Feb 23, 2025
bc56dc7
Merge branch 's2025_teamA' of https://github.com/krishauser/GEMstack …
udymd Feb 23, 2025
81311b2
Fix indent
udymd Feb 24, 2025
b7682f4
Modified for multiple pedestrians
udymd Feb 24, 2025
ec9d1a6
Merged update
krishauser Feb 24, 2025
d87f5a5
Merge branch 's2025' into s2025_teamA
krishauser Feb 24, 2025
5e04c43
Add camera transform to yaml file
michalj1 Feb 24, 2025
41b39cf
longitudinal plan and brake handled
Henry-YiW Feb 24, 2025
5b5dbd3
Fix cz GNSS coordinate issue solved
udymd Feb 24, 2025
c166eb4
Merge branch 'A4_planning_H1P2_henry' into A4_planning
udymd Feb 24, 2025
82d68b6
get_minimum_deceleration_for_collision_avoidance tested
Henry-YiW Feb 24, 2025
d3ee30e
Modified yaml file to set params of planner
udymd Feb 24, 2025
e9d56d9
Merge branch 's2025_teamA' into A4_planning
udymd Feb 24, 2025
95419dc
Merge pull request #133 from krishauser/A4_planning
udymd Feb 24, 2025
1356375
Reorganizing code. Pending items - pure pursuit controller has oscill…
animeshsingh98 Feb 24, 2025
f10fbbe
Delete .DS_Store
animeshsingh98 Feb 24, 2025
adc4dd5
Added README.md
whizkid42 Feb 24, 2025
9d47105
Updated README.md
whizkid42 Feb 25, 2025
ec606e3
Removing conflict flags
animeshsingh98 Feb 25, 2025
a5d05f9
Modify for perception coordinates
udymd Feb 25, 2025
a75f355
Transfered logic into pedestrian_yield_logic.py
udymd Feb 25, 2025
34dedde
Make generating plots and metrics automatic upon exit of a run by aut…
Jason717717 Feb 25, 2025
90acf7c
add speed error as a factor of comfort index
Jason717717 Feb 25, 2025
92e4ba8
fix a typo for log folder
Jason717717 Feb 25, 2025
bb666ba
add safety index
Jason717717 Feb 25, 2025
24347d5
format metrics to 2 decimal places
Jason717717 Feb 25, 2025
66bc2bd
improved camera->vehicle
rjsun06 Feb 25, 2025
e14d743
add auto_plot attribute in log as comment
Jason717717 Feb 25, 2025
90c25fd
add result for fake_sim with pedestrian_detection.yaml
Jason717717 Feb 25, 2025
af020c0
Removing conflict flags
animeshsingh98 Feb 25, 2025
93cb91a
Update pedestrian_detection.py
rty727433198 Feb 25, 2025
41e46df
Merge branch 's2025_teamA' of https://github.com/krishauser/GEMstack …
udymd Feb 25, 2025
998f75e
Modified to load param in a planner
udymd Feb 25, 2025
29a9d4e
Correcting logic for collision detection
animeshsingh98 Feb 25, 2025
07046eb
Make more points for milestone implementation
SimonKato Feb 25, 2025
e2c7a02
debug cruising speed
Patrick8894 Feb 25, 2025
8045f7c
Adding new modules in requirement.txt
animeshsingh98 Feb 25, 2025
36ff1d3
fixed a bug
SimonKato Feb 25, 2025
5115a4f
Update pedestrian_detection.py
rty727433198 Feb 25, 2025
2999a4f
remove result for fake_sim with pedestrian detection launch yaml file
Jason717717 Feb 25, 2025
66d2069
Merge pull request #139 from krishauser/infra_a_auto_plot
Averyyy Feb 25, 2025
d72f891
Bug where we weren't including the last milestone
SimonKato Feb 26, 2025
24a72c0
Merge branch 'A4_planning_part1_milestone_more_points' into s2025_teamA
SimonKato Feb 26, 2025
a0ed900
Update pedestrian_detection.py
rty727433198 Feb 26, 2025
f09bde8
removing unnecessary file
AadarshHegde123 Feb 26, 2025
af7b5ec
Rename make_gem_e4_ouster_v2.py to lidar_to_vehicle.py
AadarshHegde123 Feb 26, 2025
b2ce15b
Add additional model to dynamics.py that allows for various function …
alo-20 Feb 26, 2025
acfd73b
fix: use latest folders locally and on s3
nmashchenko Feb 26, 2025
c247a43
Update README.md
AadarshHegde123 Feb 26, 2025
28d728f
Update README.md
AadarshHegde123 Feb 26, 2025
4d99bb7
Tune Values in current.yaml so the car does not oscillate
jyl2017 Feb 26, 2025
12663fe
desired speeds and real speeds mismatch issues debugging
joe-hung Feb 26, 2025
83bc82c
Merge pull request #141 from krishauser/s2025_teamA_avery_model
alo-20 Feb 26, 2025
81c5fb5
demo scripts
rjsun06 Feb 26, 2025
70a8173
Merge branch 'EstCal_A' of https://github.com/krishauser/GEMstack int…
rjsun06 Feb 26, 2025
5e70824
Updated date
whizkid42 Feb 26, 2025
3b041a8
Merge remote-tracking branch 'origin/EstCal_A' into EstCal_A
whizkid42 Feb 26, 2025
fb2bf76
fixing yaml matrix
AadarshHegde123 Feb 26, 2025
c3f0449
TODO comment added
SimonKato Feb 26, 2025
2e5bea5
code restructure + clean up
AadarshHegde123 Feb 26, 2025
799c566
removing conflict
AadarshHegde123 Feb 26, 2025
97f76c5
clean-up tested + working
AadarshHegde123 Feb 26, 2025
16cd934
readme update
AadarshHegde123 Feb 26, 2025
430bee1
Merge pull request #143 from krishauser/EstCal_A
AadarshHegde123 Feb 26, 2025
096c28c
Updated camera->vehicle gem_e4_oak.yaml
AadarshHegde123 Feb 26, 2025
201714b
improved accuracy matrices
AadarshHegde123 Feb 26, 2025
3565815
Revert pedestrian detection logic to ray casting
rty727433198 Feb 26, 2025
e94b12a
Merge branch 'A4_planning_transferLogic' into s2025_teamA_planning
udymd Feb 27, 2025
5cd621e
Update gem_e4_ouster.yaml
AadarshHegde123 Feb 27, 2025
977fff8
Update gem_e4_oak.yaml with dates
AadarshHegde123 Feb 27, 2025
e07c668
Updating calibration date in gem_e4.yaml to match most up to date mat…
AadarshHegde123 Feb 27, 2025
e405589
making camera->vehicle script easier to run
AadarshHegde123 Feb 27, 2025
af950f0
camera->vehicle command line arg version works
AadarshHegde123 Feb 27, 2025
060736f
Update documentation
rty727433198 Feb 27, 2025
4b38d44
Merge branch 's2025_teamA' of https://github.com/krishauser/GEMstack …
rty727433198 Feb 27, 2025
31d58ce
Update pedestrian_detection.py
rty727433198 Feb 27, 2025
d68028a
command line args added to lidar->vehicle
AadarshHegde123 Feb 27, 2025
4944d09
Delete yolov8n.pt
rty727433198 Feb 27, 2025
013916e
updating read me and yaml measurement
AadarshHegde123 Feb 27, 2025
47006ee
Transfered yield algorithms
udymd Feb 27, 2025
f878cc5
Merge branch 's2025_teamA' into s2025_teamA_planning
udymd Feb 27, 2025
e35d421
adding optional command line arguments to data capture script
AadarshHegde123 Feb 27, 2025
d5ecbb2
all quality of life changes now complete
AadarshHegde123 Feb 27, 2025
ee8d1ad
Update README.md
AadarshHegde123 Feb 27, 2025
006348c
Update README.md
AadarshHegde123 Feb 27, 2025
e842aea
Update README.md
AadarshHegde123 Feb 27, 2025
a4a43c3
Cleaned up comments
SimonKato Feb 27, 2025
b1090f1
Merge pull request #147 from krishauser/EstCal_A_testing
AadarshHegde123 Feb 27, 2025
c9ac223
removing duplicate file from hw directory
AadarshHegde123 Feb 27, 2025
fd76adb
some code cleanup
Patrick8894 Feb 27, 2025
d922b49
Fix typo
udymd Feb 27, 2025
086e9a5
Merge branch 's2025_teamA_planning' of https://github.com/krishauser/…
udymd Feb 27, 2025
9ec7778
more details in readme
AadarshHegde123 Feb 27, 2025
4ce3419
clarification comments in gem_e4_oak.yaml
AadarshHegde123 Feb 27, 2025
135f0d8
clarifying comments in gem_e4_ouster.yaml
AadarshHegde123 Feb 27, 2025
f2029d5
codes cleaned
Henry-YiW Feb 27, 2025
97f7521
Clean dt code
udymd Feb 27, 2025
22b5994
Updated to use command line arugments
whizkid42 Feb 27, 2025
0364c78
Merge pull request #149 from krishauser/EstCal_A_testing_2
AadarshHegde123 Feb 27, 2025
9c8dc54
Update README.md
AadarshHegde123 Feb 27, 2025
bce7cfd
add comparison plot
ShellyRiver Feb 24, 2025
c8d8378
add pedestrian_detection tracking comparison plots
ShellyRiver Feb 25, 2025
bc12bdd
update pedestrian detection comparison graphs
ShellyRiver Feb 25, 2025
7e69ce7
Update README.md
AadarshHegde123 Feb 27, 2025
7f35cb0
Merge branch 's2025_teamA' of github.com:krishauser/GEMstack into s20…
ShellyRiver Feb 27, 2025
cd2b01c
Merge branch 'A4_planning_H1P2_henry' into s2025_teamA_planning
udymd Feb 27, 2025
15d1b74
Update README.md
AadarshHegde123 Feb 27, 2025
9c9e25c
Update README.md
AadarshHegde123 Feb 27, 2025
2d22ee9
fixed formatting
AadarshHegde123 Feb 27, 2025
ed986b8
fix typo
AadarshHegde123 Feb 27, 2025
40743a6
Update pedestrian_yield_logic.py
udymd Feb 27, 2025
5fdfde8
Adding results in readme
AadarshHegde123 Feb 27, 2025
682ad45
Merge pull request #150 from krishauser/s2025_teamA_planning
udymd Feb 27, 2025
b3d4290
formatting
AadarshHegde123 Feb 27, 2025
c97a30b
Modified test funciton
udymd Feb 27, 2025
868325e
Merge branch 's2025_teamA' of https://github.com/krishauser/GEMstack …
udymd Feb 27, 2025
4c56c3e
adding yaml for lidar->camera transform
AadarshHegde123 Feb 27, 2025
a5af802
adding description to yaml
AadarshHegde123 Feb 27, 2025
aa02bb0
Merge branch 's2025_teamA' of https://github.com/krishauser/GEMstack …
AadarshHegde123 Feb 27, 2025
01a4486
Update README.md to include dependencies for code
AadarshHegde123 Feb 27, 2025
a08d541
Update README.md
AadarshHegde123 Feb 27, 2025
54b1bd7
fixing typo in readme
AadarshHegde123 Feb 27, 2025
118c1c7
Update pedestrian_detection.py
rty727433198 Feb 27, 2025
88cf406
Merge branch 's2025_teamA' of https://github.com/krishauser/GEMstack …
rty727433198 Feb 27, 2025
6cd43aa
Merge pull request #142 from krishauser/hotfix/s3-pull-strategy
Averyyy Feb 28, 2025
924f690
Merge pull request #151 from krishauser/infra_a_main
Averyyy Feb 28, 2025
eeefce4
gg diagram for dynamic limits
diegoasfmravpp Mar 28, 2025
24a1da2
speed and accel plots
diegoasfmravpp Mar 29, 2025
8825d4e
50m route and launch file
diegoasfmravpp Mar 31, 2025
f306a67
braking at route end for pp
diegoasfmravpp Mar 31, 2025
232a436
launch control added
Demon16th Mar 31, 2025
601f33b
plotting changes
diegoasfmravpp Mar 31, 2025
72e1322
Add 65m and right turn routes
alo-20 Apr 1, 2025
7171623
Merge branch 'racing' of https://github.com/krishauser/GEMstack into …
diegoasfmravpp Apr 2, 2025
7913ae8
add better right turn paths
Demon16th Apr 3, 2025
475a8ec
phone accel data
diegoasfmravpp Apr 5, 2025
83fa300
add methods in trajectory.py to calculate upcoming turn radius
alo-20 Apr 7, 2025
126a385
add logic in pure_pursuit to set speed based on curve radius. Change …
Demon16th Apr 7, 2025
44c9cd3
gg data switched to json
diegoasfmravpp Apr 7, 2025
62b0ad9
"json switch gg"
diegoasfmravpp Apr 7, 2025
27039c0
add figure8 path generator and figure8 path
Demon16th Apr 7, 2025
20264fd
Merge branch 'racing' of https://github.com/krishauser/GEMstack into …
Demon16th Apr 7, 2025
70fd571
modify fit_curve_radius in trajectory.py to use the min (tighest) tur…
Demon16th Apr 7, 2025
2e36aeb
update generate figure8 and figure8 path
Demon16th Apr 7, 2025
417f0a6
gg logs and launch control tests
Apr 7, 2025
589fcf5
pp speeds
Demon16th Apr 7, 2025
244198f
fixed gg plot
diegoasfmravpp Apr 8, 2025
92f7a68
velocity profile based on existing route
diegoasfmravpp Apr 14, 2025
7db1732
Add files via upload
laneccolin Apr 15, 2025
ec3a4ea
Update current.yaml - stanely in branch now
laneccolin Apr 15, 2025
894a462
Update fixed_route.yaml
laneccolin Apr 15, 2025
4976071
Update fixed_route.yaml
laneccolin Apr 15, 2025
e4e4914
Update current.yaml
laneccolin Apr 15, 2025
a408a71
changed launch ctrl to gem
Adi9103 Apr 15, 2025
d896949
initial trajectory generation and feasibility check functions
ShellyRiver Apr 16, 2025
efeb812
Update waypoint generation and combine with trajectory planning
htliang517 Apr 16, 2025
ddcadcb
integrating velocity profile into stanley
diegoasfmravpp Apr 16, 2025
40f1c3e
trajectory generation can take x in state and speed is not fixed (so …
ShellyRiver Apr 17, 2025
ccb2d7a
add comments for trajectory generation
ShellyRiver Apr 17, 2025
6f3b322
updated stanley + racing velocities, working sim
Demon16th Apr 17, 2025
2eb819c
lower speed for high cte in racing
Demon16th Apr 17, 2025
290c45b
try to run in sim
ShellyRiver Apr 18, 2025
6d2c010
moved logic
Adi9103 Apr 18, 2025
30bad0b
try to run in simulation
ShellyRiver Apr 18, 2025
ffcc626
updated launch_ctrl, added pure_pursuit
Adi9103 Apr 19, 2025
3092b70
Update & fix simulation problem for planner
htliang517 Apr 23, 2025
f071026
Fix U-turn scenario
htliang517 Apr 23, 2025
d163c60
Update current.yaml
Jugthegreat Apr 23, 2025
87163d6
move launch control logic out of gem.py and gem_hardware.py and into …
Demon16th Apr 23, 2025
68029bb
fix typo in current.yaml
Demon16th Apr 23, 2025
79acc4f
add 90turn case and test code
ShellyRiver Apr 24, 2025
1ea479c
refine 4-cone course planned trajectory
ShellyRiver Apr 24, 2025
e4064fd
visualization changes for stanley logs
diegoasfmravpp Apr 25, 2025
e360773
Fixed code to work with simulator
htliang517 Apr 25, 2025
c814402
CONE DETECTOR DUMP
dh-agarwal Apr 29, 2025
41cd399
Merge branch 'racing' into racing_planner
ShellyRiver Apr 30, 2025
99b138f
to test velocity profile to get total time for unit test
ShellyRiver Apr 30, 2025
b2ccba3
add velocity profiling to racing planner
ShellyRiver May 1, 2025
e2cd753
generate trajectory for whole slalom scenario
ShellyRiver May 2, 2025
a58eecf
Update planner to run both onboard and simulation
htliang517 May 2, 2025
63f0555
splines for path smoothing and updated stanley
diegoasfmravpp May 5, 2025
ea749b1
Update planner logic with real-time detection
htliang517 May 7, 2025
a120e78
Update cone_detection.py
dh-agarwal May 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ share/python-wheels/
.installed.cfg
*.egg
MANIFEST
.idea/

# PyInstaller
# Usually these files are written by a python script from a template
Expand Down Expand Up @@ -134,6 +135,7 @@ venv/
ENV/
env.bak/
venv.bak/
*.DS_Store

# Spyder project settings
.spyderproject
Expand Down Expand Up @@ -168,4 +170,8 @@ cython_debug/

.vscode/
setup/zed_sdk.run
cuda/

cuda/
#Ignore ROS bags
*.bag

Binary file added GEMstack/.DS_Store
Binary file not shown.
6 changes: 3 additions & 3 deletions GEMstack/knowledge/calibration/gem_e4.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
calibration_date: "2024-03-05" # Date of calibration YYYY-MM-DD
calibration_date: "2025-02-25" # Date of calibration YYYY-MM-DD
reference: rear_axle_center # rear axle center
rear_axle_height: 0.33 # height of rear axle center above flat ground
gnss_location: [1.10,0.1.62] # meters, taken from https://github.com/hangcui1201/POLARIS_GEM_e2_Real/blob/main/vehicle_drivers/gem_gnss_control/scripts/gem_gnss_tracker_stanley_rtk.py. Note conflict with pure pursuit location?
rear_axle_height: 0.2794 # height of rear axle center above flat ground
gnss_location: [1.10,0,1.62] # meters, taken from https://github.com/hangcui1201/POLARIS_GEM_e2_Real/blob/main/vehicle_drivers/gem_gnss_control/scripts/gem_gnss_tracker_stanley_rtk.py. Note conflict with pure pursuit location?
gnss_yaw: 0.0 # radians
top_lidar: !include "gem_e4_ouster.yaml"
front_camera: !include "gem_e4_oak.yaml"
9 changes: 9 additions & 0 deletions GEMstack/knowledge/calibration/gem_e4_lidar_cam.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Calibration for top lidar->front rgb camera on GEM e4
# Calibration Date: 02/25/2025 05:09

lidar_to_camera: [
[ 2.89748006e-02, -9.99580136e-01, 3.68439439e-05, -3.07300513e-02],
[-9.49930618e-03, -3.12215512e-04, -9.99954834e-01, -3.86689354e-01],
[ 9.99534999e-01, 2.89731321e-02, -9.50437214e-03, -6.71425124e-01],
[ 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 1.00000000e+00]
]
9 changes: 7 additions & 2 deletions GEMstack/knowledge/calibration/gem_e4_oak.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Calibration for front rgb camera->vehicle on GEM e4
# Calibration Date: 02/25/2025 05:09

reference: rear_axle_center # rear axle center
rotation: [[0,0,1],[-1,0,0],[0,-1,0]] # rotation matrix mapping z to forward, x to left, y to down, guesstimated
center_position: [1.78,0,1.58] # meters, center camera, guesstimated
rotation: [[ 0.00349517, -0.03239524, 0.99946903], # rotation component of camera -> vehicle matrix
[-0.99996547, 0.00742285, 0.0037375],
[-0.00753999, -0.99944757, -0.03236817]] # rotation matrix mapping z to forward, x to left, y to down, guesstimated
center_position: [ 1.75864913, 0.01238124, 1.54408419] # translation component of camera -> vehicle matrix (in meters)
9 changes: 7 additions & 2 deletions GEMstack/knowledge/calibration/gem_e4_ouster.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Calibration for top lidar->vehicle on GEM e4
# Calibration Date: 02/25/2025 05:09

reference: rear_axle_center # rear axle center
position: [1.10,0,2.03] # meters, calibrated by Hang's watchful eye
rotation: [[1,0,0],[0,1,0],[0,0,1]] #rotation matrix mapping lidar frame to vehicle frame
position: [1.1, 0.03773044170906172, 1.9525244316515322] # top lidar to vehicle matrix translation component
rotation: [[ 0.99941328, 0.02547416, 0.02289458], # top lidar to vehicle matrix rotation component
[-0.02530855, 0.99965159, -0.00749488],
[-0.02307753, 0.00691106, 0.99970979]]
5 changes: 4 additions & 1 deletion GEMstack/knowledge/defaults/computation_graph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ components:
inputs: [vehicle, roadgraph, agents]
outputs: agent_intents
- relations_estimation:
inputs: [vehicle, roadgraph, agents, obstacles]
inputs: all
outputs: relations
- predicate_evaluation:
inputs: [vehicle, roadgraph, agents, obstacles]
Expand All @@ -52,3 +52,6 @@ components:
- trajectory_tracking:
inputs: [vehicle, trajectory]
outputs:
- signaling:
inputs: [intent]
outputs:
86 changes: 53 additions & 33 deletions GEMstack/knowledge/defaults/current.yaml
Original file line number Diff line number Diff line change
@@ -1,34 +1,54 @@
# ********* Main settings entry point for behavior stack ***********

# Configure settings for the vehicle / vehicle model
vehicle: !include ../vehicle/gem_e4.yaml

#arguments for algorithm components here
model_predictive_controller:
dt: 0.1
lookahead: 20
control:
recovery:
brake_amount : 0.5
brake_speed : 2.0
pure_pursuit:
lookahead: 2.0
lookahead_scale: 3.0
crosstrack_gain: 1.0
desired_speed: trajectory
longitudinal_control:
pid_p: 1.0
pid_i: 0.1
pid_d: 0.0

#configure the simulator, if using
simulator:
dt: 0.01
real_time_multiplier: 1.0 # make the simulator run faster than real time by making this > 1
gnss_emulator:
dt: 0.1 #10Hz
#position_noise: 0.1 #10cm noise
#orientation_noise: 0.04 #2.3 degrees noise
#velocity_noise:
# constant: 0.04 #4cm/s noise
# linear: 0.02 #2% noise

# Configure settings for the vehicle / vehicle model
vehicle: !include ../vehicle/gem_e4.yaml

#arguments for algorithm components here
model_predictive_controller:
dt: 0.1
lookahead: 20
control:
recovery:
brake_amount : 0.5
brake_speed : 2.0
pure_pursuit:
lookahead: 2.0
lookahead_scale: 2.0
crosstrack_gain: 0.3
desired_speed: trajectory #racing
launch_control:
enable: 1
stage_duration: 0.5
# Stanley controller parameters (fine tune this)
stanley:
control_gain: 0.1
softening_gain: 0.2
desired_speed: racing # Speed reference source: can be "trajectory", "path", "racing" or a constant value

longitudinal_control:
pid_p: 0.8
pid_i: 0.03
pid_d: 0.0
planning:
longitudinal_plan:
mode: 'real' # 'real' or 'sim'
yielder: 'expert' # 'expert', 'analytic', or 'simulation'
planner: 'dt' # 'milestone', 'dt', or 'dx'
desired_speed: 1.0
acceleration: 0.5
max_deceleration: 6.0
deceleration: 2.0
min_deceleration: 0.5
yield_deceleration: 0.5

#configure the simulator, if using
simulator:
dt: 0.01
real_time_multiplier: 1.0 # make the simulator run faster than real time by making this > 1
gnss_emulator:
dt: 0.05 #10Hz
#position_noise: 0.1 #10cm noise
#orientation_noise: 0.04 #2.3 degrees noise
#velocity_noise:
# constant: 0.04 #4cm/s noise
# linear: 0.02 #2% noise
100 changes: 100 additions & 0 deletions GEMstack/knowledge/routes/circle_10m_rad.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
10.0,0.0
9.980267284282716,0.6279051952931337
9.921147013144777,1.2533323356430426
9.822872507286887,1.8738131458572465
9.685831611286313,2.4868988716485485
9.510565162951536,3.0901699437494745
9.297764858882513,3.68124552684678
9.048270524660193,4.257792915650727
8.763066800438635,4.817536741017153
8.443279255020151,5.3582679497899655
8.090169943749476,5.87785252292473
7.705132427757894,6.3742398974868975
7.289686274214117,6.845471059286887
6.845471059286887,7.289686274214117
6.374239897486897,7.705132427757894
5.87785252292473,8.090169943749476
5.3582679497899655,8.443279255020151
4.817536741017151,8.763066800438637
4.257792915650727,9.048270524660195
3.681245526846779,9.297764858882514
3.090169943749475,9.510565162951536
2.486898871648548,9.685831611286313
1.8738131458572451,9.822872507286887
1.2533323356430426,9.921147013144777
0.6279051952931329,9.980267284282716
-1.6081226496766366e-15,9.999999999999998
-0.627905195293134,9.980267284282716
-1.2533323356430437,9.921147013144777
-1.8738131458572485,9.822872507286887
-2.486898871648549,9.685831611286313
-3.0901699437494763,9.510565162951536
-3.68124552684678,9.297764858882514
-4.257792915650728,9.048270524660195
-4.817536741017154,8.763066800438635
-5.358267949789967,8.44327925502015
-5.877852522924729,8.090169943749476
-6.374239897486897,7.705132427757894
-6.845471059286887,7.289686274214116
-7.289686274214117,6.845471059286886
-7.705132427757895,6.374239897486894
-8.090169943749475,5.877852522924732
-8.443279255020151,5.3582679497899655
-8.763066800438637,4.817536741017151
-9.048270524660195,4.257792915650725
-9.297764858882514,3.6812455268467774
-9.510565162951538,3.090169943749471
-9.685831611286313,2.4868988716485485
-9.822872507286887,1.8738131458572458
-9.921147013144777,1.2533323356430408
-9.980267284282716,0.6279051952931314
-10.0,-3.216245299353273e-15
-9.980267284282716,-0.6279051952931334
-9.921147013144777,-1.253332335643043
-9.822872507286887,-1.873813145857248
-9.685831611286313,-2.4868988716485503
-9.510565162951535,-3.090169943749478
-9.297764858882513,-3.6812455268467836
-9.048270524660193,-4.257792915650727
-8.763066800438635,-4.817536741017154
-8.44327925502015,-5.358267949789967
-8.090169943749473,-5.877852522924733
-7.705132427757891,-6.3742398974869
-7.289686274214117,-6.845471059286887
-6.845471059286886,-7.289686274214117
-6.374239897486895,-7.705132427757895
-5.877852522924733,-8.090169943749475
-5.358267949789962,-8.443279255020153
-4.817536741017153,-8.763066800438635
-4.257792915650722,-9.048270524660197
-3.6812455268467783,-9.297764858882514
-3.0901699437494763,-9.510565162951535
-2.4868988716485445,-9.685831611286313
-1.8738131458572465,-9.822872507286887
-1.2533323356430373,-9.921147013144777
-0.6279051952931319,-9.980267284282716
-1.8369701987210296e-15,-10.0
0.6279051952931372,-9.980267284282716
1.2533323356430424,-9.921147013144777
1.8738131458572516,-9.822872507286887
2.48689887164855,-9.685831611286313
3.0901699437494727,-9.510565162951538
3.681245526846783,-9.297764858882513
4.257792915650727,-9.048270524660195
4.817536741017157,-8.763066800438633
5.358267949789966,-8.44327925502015
5.877852522924735,-8.090169943749471
6.374239897486898,-7.705132427757891
6.845471059286886,-7.289686274214117
7.289686274214119,-6.845471059286883
7.705132427757894,-6.374239897486895
8.09016994374948,-5.877852522924725
8.443279255020153,-5.358267949789962
8.763066800438635,-4.817536741017153
9.048270524660197,-4.257792915650722
9.297764858882513,-3.6812455268467787
9.510565162951538,-3.0901699437494683
9.685831611286313,-2.4868988716485454
9.822872507286887,-1.8738131458572471
9.921147013144777,-1.253332335643038
9.980267284282716,-0.6279051952931326
100 changes: 100 additions & 0 deletions GEMstack/knowledge/routes/circle_20m_rad.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
20.0,0.0
19.960534568565432,1.2558103905862674
19.842294026289558,2.506664671286085
19.645745014573773,3.7476262917144925
19.37166322257262,4.973797743297096
19.02113032590307,6.180339887498948
18.595529717765025,7.362491053693559
18.09654104932039,8.515585831301454
17.526133600877273,9.635073482034306
16.886558510040302,10.716535899579933
16.18033988749895,11.755705045849464
15.410264855515782,12.748479794973795
14.579372548428232,13.690942118573775
13.690942118573773,14.579372548428232
12.748479794973793,15.410264855515784
11.75570504584946,16.18033988749895
10.716535899579931,16.886558510040302
9.635073482034302,17.526133600877273
8.515585831301454,18.096541049320393
7.3624910536935575,18.59552971776503
6.180339887498949,19.02113032590307
4.973797743297094,19.37166322257262
3.7476262917144902,19.645745014573773
2.506664671286085,19.842294026289558
1.255810390586266,19.960534568565432
-3.2162452993532727e-15,20.0
-1.255810390586268,19.960534568565432
-2.5066646712860874,19.842294026289554
-3.7476262917144965,19.645745014573773
-4.973797743297097,19.37166322257262
-6.180339887498951,19.02113032590307
-7.362491053693559,18.595529717765025
-8.515585831301454,18.09654104932039
-9.635073482034308,17.52613360087727
-10.716535899579938,16.8865585100403
-11.75570504584946,16.18033988749895
-12.748479794973795,15.410264855515784
-13.690942118573775,14.579372548428228
-14.579372548428234,13.69094211857377
-15.410264855515788,12.74847979497379
-16.180339887498945,11.755705045849465
-16.886558510040302,10.716535899579933
-17.526133600877273,9.635073482034304
-18.096541049320393,8.51558583130145
-18.59552971776503,7.362491053693555
-19.021130325903073,6.180339887498942
-19.37166322257262,4.973797743297096
-19.645745014573773,3.7476262917144916
-19.842294026289558,2.5066646712860816
-19.960534568565432,1.2558103905862628
-20.0,-6.432490598706546e-15
-19.960534568565432,-1.255810390586267
-19.842294026289558,-2.5066646712860856
-19.645745014573773,-3.7476262917144956
-19.37166322257262,-4.973797743297101
-19.02113032590307,-6.180339887498954
-18.595529717765025,-7.362491053693566
-18.09654104932039,-8.515585831301454
-17.52613360087727,-9.635073482034308
-16.8865585100403,-10.716535899579934
-16.180339887498945,-11.755705045849467
-15.41026485551578,-12.7484797949738
-14.579372548428232,-13.690942118573775
-13.690942118573773,-14.579372548428232
-12.74847979497379,-15.410264855515788
-11.755705045849465,-16.180339887498945
-10.716535899579927,-16.886558510040306
-9.635073482034306,-17.526133600877273
-8.515585831301443,-18.096541049320397
-7.362491053693557,-18.59552971776503
-6.180339887498951,-19.02113032590307
-4.973797743297089,-19.371663222572625
-3.7476262917144925,-19.645745014573773
-2.5066646712860745,-19.842294026289558
-1.255810390586264,-19.960534568565432
-3.673940397442059e-15,-20.0
1.2558103905862743,-19.960534568565432
2.5066646712860847,-19.842294026289558
3.7476262917145027,-19.645745014573773
4.973797743297099,-19.37166322257262
6.180339887498945,-19.021130325903073
7.3624910536935655,-18.595529717765025
8.515585831301452,-18.096541049320393
9.635073482034315,-17.526133600877266
10.716535899579934,-16.8865585100403
11.755705045849474,-16.18033988749894
12.7484797949738,-15.41026485551578
13.690942118573773,-14.579372548428232
14.579372548428237,-13.690942118573766
15.410264855515788,-12.748479794973793
16.180339887498956,-11.755705045849451
16.886558510040306,-10.716535899579927
17.526133600877273,-9.635073482034306
18.096541049320393,-8.515585831301443
18.59552971776503,-7.3624910536935575
19.021130325903076,-6.180339887498936
19.371663222572625,-4.97379774329709
19.645745014573773,-3.747626291714494
19.842294026289558,-2.506664671286076
19.960534568565432,-1.2558103905862652
Loading
Loading