Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
166 commits
Select commit Hold shift + click to select a range
cffde30
Added homework description and starter code
krishauser Jan 27, 2025
efc06c9
Merged with s2025
Jan 28, 2025
97a3de8
Merge branch 'main' into s2025_teamB
krishauser Jan 29, 2025
be692a1
Fix setup issues and add user to the docker image
harishkumarbalaji Feb 2, 2025
9206116
Dummy commit to trigger sonarqube
harishkumarbalaji Feb 2, 2025
0fcdff4
Fix the requrements.txt to take from the current repo
harishkumarbalaji Feb 2, 2025
cff1e29
Update the docker compose service name
harishkumarbalaji Feb 2, 2025
753e5ba
Update missing depedencies and ultralytics python packagein requirements
harishkumarbalaji Feb 3, 2025
a7a2e8c
Add. Instructions to check if the container toolkit is working as exp…
harishkumarbalaji Feb 3, 2025
1f6fb93
Update. Readme with latest depedencies
harishkumarbalaji Feb 3, 2025
6618e8f
Update. Readme with post install steps
harishkumarbalaji Feb 3, 2025
a871397
Fixed launch file to work with standard perception pipeline
krishauser Feb 3, 2025
7a66dc1
Merge branch 's2025' into s2025_teamB
krishauser Feb 3, 2025
38deb79
Merge pull request #98 from krishauser/infra-b/fix_setup_issues
krishauser Feb 3, 2025
6f18feb
Update volume mounting to access the files
harishkumarbalaji Feb 3, 2025
ca430be
Merge pull request #101 from krishauser/infra-b/update_missing_depede…
krishauser Feb 3, 2025
9e67bac
implement perception part 1
Feb 5, 2025
9a9acff
merge incoming change from teamB
Feb 5, 2025
6bcab9f
change prompt
KenC1014 Feb 5, 2025
995409b
gather data for rosbag
KenC1014 Feb 5, 2025
30be879
Fix setup machine script and add volume mounts for dbus
harishkumarbalaji Feb 6, 2025
dde23bc
Fixed fake_fake simulation calls and rename from YIELD -> YIELDING
krishauser Feb 6, 2025
ab28abf
Merge pull request #103 from krishauser/infra-b/fix_setup_machine_scrpt
krishauser Feb 6, 2025
9c13eca
Added rosbag sub, visualization and comments
nvikramraj Feb 7, 2025
055e13c
ignores models
nvikramraj Feb 7, 2025
48fe475
ignores models
nvikramraj Feb 7, 2025
aca3247
add vis publisher and error handling
KenC1014 Feb 8, 2025
8aed8c7
switch back to GEM e4 topic
KenC1014 Feb 8, 2025
0cd147d
remove person_detector
KenC1014 Feb 8, 2025
e818a1c
Merge branch 'PerceptionB_main' into perception_b_vikram
LucasEby Feb 8, 2025
be27708
Merge pull request #104 from krishauser/perception_b_vikram
LucasEby Feb 8, 2025
6978bb1
Merge branch 's2025_teamB' into PerceptionB_main so we can share perc…
LucasEby Feb 9, 2025
abe73fc
added instructions for mac installation
pravshot Feb 9, 2025
faa0396
test fusion
KenC1014 Feb 12, 2025
3040e56
Update Dockerfile.cuda11.8
RuimingShen Feb 12, 2025
ca9ca3e
fixSDK
RuimingShen Feb 13, 2025
14407a7
remove-c
RuimingShen Feb 13, 2025
093e155
Merge pull request #105 from krishauser/PerceptionB_main
LucasEby Feb 13, 2025
97b6dc6
Lidar to Base frame transformation
nvikramraj Feb 13, 2025
b087f8d
added few comments
nvikramraj Feb 13, 2025
475b8c9
align lidar pc2 to camera frame
KenC1014 Feb 15, 2025
1355d5f
extract clouds in 2d
KenC1014 Feb 15, 2025
8316a20
converted lidar to cam frame
nvikramraj Feb 15, 2025
dc69933
add od3 dialect
KenC1014 Feb 15, 2025
2872618
add o3d import
KenC1014 Feb 15, 2025
bf69981
downsample pc2
KenC1014 Feb 15, 2025
ced4804
rename variables
KenC1014 Feb 15, 2025
4b93f5f
Merge pull request #106 from krishauser/fix-dockerfile
RuimingShen Feb 15, 2025
d319eaa
extract 3D pc2 and visualize
KenC1014 Feb 15, 2025
49f45ee
segregate points by pedestrains
KenC1014 Feb 15, 2025
d3c9e4c
update comments
KenC1014 Feb 15, 2025
c23b36c
rename variables
KenC1014 Feb 15, 2025
5aa571b
remove empty line
KenC1014 Feb 15, 2025
9008a9a
add ground and max dist filter
KenC1014 Feb 15, 2025
c31546d
add comments
KenC1014 Feb 15, 2025
006b555
update comments
KenC1014 Feb 15, 2025
b35252b
Finalize fusion.py with pedestrian centers, vel, dims, AgentStates. M…
lukasdumasius Feb 17, 2025
eeeeb54
Port fusion.py to pedestrian_detection.py
lukasdumasius Feb 17, 2025
19ad11e
Add transform.py instructions
lukasdumasius Feb 17, 2025
0a21424
pedestrian_detection.py type hints
lukasdumasius Feb 17, 2025
c7246ed
pedestrian_detection.py add time for velocity
lukasdumasius Feb 17, 2025
b62c6fc
integrate updated depth filter and 3D bboxes vis
KenC1014 Feb 17, 2025
6cd1d4f
apply lidar to vehicle transform to centers
KenC1014 Feb 18, 2025
6fd3702
Merge branch 's2025' into s2025_teamB
krishauser Feb 18, 2025
7ad05fd
Check len(0) ouster points pedestrian_detection.py
lukasdumasius Feb 18, 2025
68d0a75
fix lidar frame mapping
KenC1014 Feb 18, 2025
c596eda
Merge branch 'PerceptionB_ped_fusion_done' of https://github.com/kris…
KenC1014 Feb 18, 2025
0857f0c
reslove conflicts
KenC1014 Feb 18, 2025
fcca8c0
toggle vehicle frame
KenC1014 Feb 18, 2025
d820c3c
toggle vehicle frame
KenC1014 Feb 18, 2025
248911c
add comments for bug fixes
KenC1014 Feb 18, 2025
5700e09
handle empty list
KenC1014 Feb 18, 2025
bf4f433
Found some frame problems in parent branch
LucasEby Feb 18, 2025
8a7ceb6
Wrote in logic to finish part 3. Still need to implement 1-2 transfor…
LucasEby Feb 18, 2025
2aa0ba6
Fixed find_vels_and_ids logic bugs, AgentState bugs, timing bugs, etc
LucasEby Feb 18, 2025
f080070
I think I updated a comment
LucasEby Feb 18, 2025
db6d689
Cleaned up code a bit. Will add Vikram's suggestions in Slack next
LucasEby Feb 18, 2025
bf80bbe
Accidentally moved a few lines of code. Fixed the error that resulted
LucasEby Feb 18, 2025
6addddb
In the process of converting to start frame. Pushing current WORKING …
LucasEby Feb 19, 2025
7c48e56
initial plot metrics
pravshot Feb 19, 2025
3fcd14a
added safety factor scale
pravshot Feb 19, 2025
a18d187
Took absolutely forever to find the secret sauce. Please excuse the mess
LucasEby Feb 19, 2025
0b5d88b
finally think I figured out start frame transform. In the process of …
LucasEby Feb 19, 2025
1d6f1ad
Merge branch 'perception_b_vikram' into G8_velocity_and_ids
nvikramraj Feb 19, 2025
96b9885
Pushing code so Lukas can try to replicate error message
LucasEby Feb 19, 2025
f7dcffc
Merge branch 'G8_velocity_and_ids' of github.com:krishauser/GEMstack …
LucasEby Feb 19, 2025
a936d3d
Fixed logic for gate which tosses out points
LucasEby Feb 19, 2025
98f445f
Update pedestrian_detection.py
lukasdumasius Feb 19, 2025
dad7cc1
Update pedestrian_detection.py
lukasdumasius Feb 19, 2025
502f3a8
Sending untransformed version to planning team
LucasEby Feb 19, 2025
cd42261
Merge branch 'PerceptionB_ped_fusion_done' into G8_velocity_and_ids
LucasEby Feb 19, 2025
873f531
Merge pull request #122 from krishauser/G8_velocity_and_ids
LucasEby Feb 19, 2025
4fd89ff
Merge pull request #123 from krishauser/PerceptionB_ped_fusion_done
LucasEby Feb 19, 2025
a469876
Merge branch 's2025_teamB' into PerceptionB_main
LucasEby Feb 19, 2025
57811aa
integrated t vehicle to start
nvikramraj Feb 20, 2025
7e0a49f
syntax error fix
nvikramraj Feb 20, 2025
57c54b9
code refactor for start_frame
nvikramraj Feb 22, 2025
f2b1778
Updated velocity and id code to work off of data that's already in st…
LucasEby Feb 22, 2025
04bb209
Merge pull request #126 from krishauser/G8_find_vels_and_ids_sf
nvikramraj Feb 22, 2025
bc16a40
Putting this here for now not sure what the issue is
LucasEby Feb 22, 2025
0de5980
Simplified velocity and id function
LucasEby Feb 22, 2025
410e13e
Simplified and fixed agent state dimensions
LucasEby Feb 23, 2025
ed5db78
Fixed a dict clearing issue
LucasEby Feb 23, 2025
163e0a1
Merge pull request #128 from krishauser/G8_simplified_velocity_and_ids
LucasEby Feb 23, 2025
de29fb1
Merge pull request #124 from krishauser/PerceptionB_main
LucasEby Feb 23, 2025
a2ff9f6
pedestrian_detection.py Convert obj_dims to start frame aligned bbox
lukasdumasius Feb 23, 2025
9601d8e
gnss integration
nvikramraj Feb 24, 2025
ac16563
added viz and edge case fix
nvikramraj Feb 24, 2025
c849544
remove viz
nvikramraj Feb 24, 2025
98b3d99
Merge branch 'perceptionb_working_gnss' into s2025_teamB
nvikramraj Feb 24, 2025
4e7b3c1
Merged update
krishauser Feb 24, 2025
b4ba3bb
Merge branch 's2025' into s2025_teamB
krishauser Feb 24, 2025
e0cd0a8
Merge pull request #131 from krishauser/s2025_teamB
lukasdumasius Feb 24, 2025
d3f6190
Merge branch 'PerceptionB_main' into perceptionb_start_frame
lukasdumasius Feb 24, 2025
32f0025
Merge pull request #132 from krishauser/perceptionb_start_frame
lukasdumasius Feb 24, 2025
2545b85
cleaned up code and fixed obj_centers issue in agent creation
LucasEby Feb 24, 2025
331e40a
added cross track error
pravshot Feb 24, 2025
46f569f
adding state estimation part
muralikarteek7 Feb 24, 2025
23abe25
pedestrian_detection.py fix pedestrian centers, dims in start. Rviz w…
lukasdumasius Feb 24, 2025
630933a
added position graph
pravshot Feb 24, 2025
a1fae81
Create plot.py
Jugthegreat Feb 24, 2025
f4d7e2d
Related start frame agents to vehicle frame agents. Fixed time
LucasEby Feb 24, 2025
6e2dc41
Related start frame agents to vehicle frame agents. Fixed time
LucasEby Feb 24, 2025
dbd87be
Merge branch 'G8_adding_current_frame_to_Pmain' of github.com:krishau…
LucasEby Feb 24, 2025
89d8daf
Removed unnecessary print statement
LucasEby Feb 24, 2025
9919c39
Merge pull request #134 from krishauser/G8_adding_current_frame_to_Pmain
LucasEby Feb 25, 2025
326f585
Merge pull request #135 from krishauser/PerceptionB_main
LucasEby Feb 25, 2025
5c6af6a
edge case fix
nvikramraj Feb 25, 2025
74acb15
Added exception to edge case and fixed return values for similar exce…
LucasEby Feb 25, 2025
3ab83e9
Merge pull request #136 from krishauser/PerceptionB_main
LucasEby Feb 25, 2025
e416888
Fix zed sdk version for cuda11.8
harishkumarbalaji Feb 25, 2025
97799bc
remove other changes
harishkumarbalaji Feb 25, 2025
d1c9ca9
Fix indent
harishkumarbalaji Feb 25, 2025
49d1bc6
updated graphs with comfort/safety scale
pravshot Feb 25, 2025
576e051
Merge remote-tracking branch 'refs/remotes/origin/infraBComfortSafety…
pravshot Feb 25, 2025
176817f
removed plot.py file
pravshot Feb 25, 2025
c14d7af
added pedestrian distance metric and cleaned code
pravshot Feb 25, 2025
ec44350
check for 0 pedestrians in log
pravshot Feb 26, 2025
534436f
added documentation
pravshot Feb 26, 2025
086f7ad
added send_command
danielzhuang11 Apr 6, 2025
454bc7e
small fixes
danielzhuang11 Apr 6, 2025
b5a2f39
IT MOVES
danielzhuang11 Apr 6, 2025
bc6ee35
steering is reversed for some reason
danielzhuang11 Apr 7, 2025
2e71f76
added some TODO messages
danielzhuang11 Apr 7, 2025
2975c91
incorporated vehicle switching from sys args
nvikramraj Apr 8, 2025
c2ad121
Merge branch 's2025_Simulation_vikram' into s2025_Simulation_input
nvikramraj Apr 8, 2025
8db2b6f
Merge pull request #156 from krishauser/s2025_Simulation_input
nvikramraj Apr 8, 2025
5533213
Fixed GNSS
nvikramraj Apr 8, 2025
1459022
GEM e4 integrated
nvikramraj Apr 8, 2025
0b90bc5
Attached read me
nvikramraj Apr 8, 2025
cd4c649
updated readme
nvikramraj Apr 8, 2025
65df967
updated readme
nvikramraj Apr 8, 2025
62c18b8
Calibration integration
nvikramraj Apr 14, 2025
6d6dffb
updated readme
nvikramraj Apr 15, 2025
2e78a1c
add gem_gazebo interface with control commands to gazebo
harishkumarbalaji Apr 15, 2025
cd9257e
fix gem_gazebo and update readme
harishkumarbalaji Apr 15, 2025
074a196
Merge branch 'infra-b/docker_setup' into simulation integration
harishkumarbalaji Apr 15, 2025
f6df3db
Merge remote-tracking branch 'origin/infraBComfortSafetyMetrics' into…
harishkumarbalaji Apr 15, 2025
7863bd5
add mpl viz
harishkumarbalaji Apr 15, 2025
33d5455
now using ros sensor topics defined in yaml file
pravshot Apr 15, 2025
a5cb7e4
removed type check
pravshot Apr 15, 2025
a052e29
documentation (praveen) + longitudinal control (daniel)
danielzhuang11 Apr 21, 2025
2caf27c
Delete GEMstack/knowledge/routes/gazebo.csv
danielzhuang11 Apr 21, 2025
1c6263f
updated metric script to show acceleration and remove dot plots
pravshot Apr 22, 2025
601d37d
test_comfort get latest log
danielzhuang11 Apr 23, 2025
3d7bdb1
tune controller
harishkumarbalaji Apr 23, 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
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -165,3 +165,15 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

# ZED run files
**/*.run
.vscode/
setup/zed_sdk.run
cuda/
homework/yolov8n.pt
homework/yolo11n.pt
GEMstack/knowledge/detection/yolov8n.pt
GEMstack/knowledge/detection/yolo11n.pt
yolov8n.pt
yolo11n.pt
59 changes: 59 additions & 0 deletions GEMstack/knowledge/calibration/gem_e2_gazebo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
calibration_date: "2023-08-31" # Date of calibration YYYY-MM-DD
reference: rear_axle_center # rear axle center
rear_axle_height: 0.273 # height of rear axle center above flat ground
gnss_location: [1.1,0.0,0.3] # 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
front_radar_location: [1.45,0,0.07] # meters, taken from https://github.com/hangcui1201/POLARIS_GEM_e2_Real/blob/main/platform_launch/launch/white_e2/platform.launch
top_lidar: !include "gem_e2_velodyne.yaml"
front_camera: !include "gem_e2_zed.yaml"
T_frontcamera_vehicle:
- - 0.04979815921110274
- -0.02889308605338095
- 0.998341277156963
- 0.6874899022540225
- - -0.9986898492450907
- 0.010343220052680617
- 0.05011489006575621
- -0.006750728511462573
- - -0.011774038000135968
- -0.9995289850272167
- -0.02834016107658961
- -0.07694233627246522
- - 0.0
- 0.0
- 0.0
- 1.0
T_toplidar_frontcamera:
- - 0.029096143490519977
- -0.9995463314295703
- -0.007781115579835407
- -0.045768971801312515
- - -0.005777780139254174
- 0.007616104089319731
- -0.999954305063568
- -0.3868171492765085
- - 0.9995599190096819
- 0.02913977151915098
- -0.005553559684576381
- -0.6975440651652165
- - 0.0
- 0.0
- 0.0
- 1.0
T_toplidar_vehicle:
- - 0.9995177984237671
- -0.020904183387756348
- 0.022959932684898376
- 0.0
- - 0.020975051447749138
- 0.9997758865356445
- -0.0028501423075795174
- 0.0
- - -0.0228952094912529
- 0.003330353880301118
- 0.9997323155403137
- 0.33000001311302185
- - 0.0
- 0.0
- 0.0
- 1.0
64 changes: 64 additions & 0 deletions GEMstack/knowledge/calibration/gem_e4_gazebo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
date: '2025-02-25 22:31:02.057447'
calibration_type: absolute_vehicle_calibration
gnss_location:
- 1.1
- 0
- 1.62
gnss_yaw: 0.0
rear_axle_height: 0.33
reference: rear_axle_center
vehicle: gem_e4
top_lidar: !include "gem_e4_ouster.yaml"
front_camera: !include "gem_e4_oak.yaml"
gnss_reference_point: [40.114001, -88.228837]
T_frontcamera_vehicle:
- - 0.04979815921110274
- -0.02889308605338095
- 0.998341277156963
- 0.6874899022540225
- - -0.9986898492450907
- 0.010343220052680617
- 0.05011489006575621
- -0.006750728511462573
- - -0.011774038000135968
- -0.9995289850272167
- -0.02834016107658961
- -0.07694233627246522
- - 0.0
- 0.0
- 0.0
- 1.0
T_toplidar_frontcamera:
- - 0.029096143490519977
- -0.9995463314295703
- -0.007781115579835407
- -0.045768971801312515
- - -0.005777780139254174
- 0.007616104089319731
- -0.999954305063568
- -0.3868171492765085
- - 0.9995599190096819
- 0.02913977151915098
- -0.005553559684576381
- -0.6975440651652165
- - 0.0
- 0.0
- 0.0
- 1.0
T_toplidar_vehicle:
- - 0.9995177984237671
- -0.020904183387756348
- 0.022959932684898376
- 0.0
- - 0.020975051447749138
- 0.9997758865356445
- -0.0028501423075795174
- 0.0
- - -0.0228952094912529
- 0.003330353880301118
- 0.9997323155403137
- 0.33000001311302185
- - 0.0
- 0.0
- 0.0
- 1.0
35 changes: 32 additions & 3 deletions GEMstack/knowledge/defaults/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,36 @@
from ...utils.config import load_config_recursive
import os
SETTINGS_FILE = os.path.join(os.path.split(__file__)[0],'current.yaml')
import os,sys


# Identify the vehicle used and load settings else default to vehicle config at current.yaml'
# default currently uses GEM e4
vehicle = "default"

for arg in sys.argv:
if arg.startswith('--'):
k,v = arg.split('=',1)
k = k[2:]
v = v.strip('"')
if k == "vehicle":
vehicle = v
sys.argv.remove(arg)
break

if(vehicle == 'e2'):
vehicle_config = 'e2.yaml'
elif(vehicle == 'e4'):
vehicle_config = 'current.yaml'
elif(vehicle == 'e2_gazebo'):
vehicle_config = 'e2_gazebo.yaml'
elif(vehicle == 'e4_gazebo'):
vehicle_config = 'e4_gazebo.yaml'
else:
print("Unknown vehicle argument passed")
vehicle = "default"
vehicle_config = 'current.yaml'

SETTINGS_FILE = os.path.join(os.path.split(__file__)[0],vehicle_config)
print("**************************************************************")
print("Loading default settings from",SETTINGS_FILE)
print(f"Loading {vehicle} settings from",SETTINGS_FILE)
print("**************************************************************")
SETTINGS = load_config_recursive(SETTINGS_FILE)
7 changes: 3 additions & 4 deletions GEMstack/knowledge/defaults/current.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# ********* Main settings entry point for behavior stack ***********

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

#arguments for algorithm components here
model_predictive_controller:
Expand All @@ -13,8 +12,8 @@ control:
brake_amount : 0.5
brake_speed : 2.0
pure_pursuit:
lookahead: 2.0
lookahead_scale: 3.0
lookahead: 4.0
lookahead_scale: 1.0
crosstrack_gain: 1.0
desired_speed: trajectory
longitudinal_control:
Expand Down
34 changes: 34 additions & 0 deletions GEMstack/knowledge/defaults/e2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# ********* Main settings entry point for behavior stack ***********

# Configure settings for the vehicle / vehicle model
vehicle: !include ../vehicle/gem_e2.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
34 changes: 34 additions & 0 deletions GEMstack/knowledge/defaults/e2_gazebo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# ********* Main settings entry point for behavior stack ***********

# Configure settings for the vehicle / vehicle model
vehicle: !include ../vehicle/gem_e2_gazebo.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: 4.0
lookahead_scale: 3.0
crosstrack_gain: 1.0
desired_speed: trajectory
longitudinal_control:
pid_p: 0.1
pid_i: 0.5
pid_d: 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.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
34 changes: 34 additions & 0 deletions GEMstack/knowledge/defaults/e4_gazebo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# ********* Main settings entry point for behavior stack ***********

# Configure settings for the vehicle / vehicle model
vehicle: !include ../vehicle/gem_e4_gazebo.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.5
lookahead_scale: 3.0
crosstrack_gain: 0.5
desired_speed: trajectory
longitudinal_control:
pid_p: 1.5
pid_i: 0.2
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
2 changes: 1 addition & 1 deletion GEMstack/knowledge/vehicle/gem_e2_gazebo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ geometry: !include gem_e2_geometry.yaml
dynamics: !include gem_e2_dynamics.yaml
limits: !include gem_e2_slow_limits.yaml
control_defaults: !include gem_e2_control_defaults.yaml
calibration: !include ../calibration/gem_e2.yaml
calibration: !include ../calibration/gem_e2_gazebo.yaml
sensors: !include gem_e2_sensor_environment_gazebo.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
ros_topics:
top_lidar: /velodyne_points
front_camera: /front_single_camera/image_raw
front_depth: /zed2/zed_node/depth/depth_registered
gnss: /gps/fix
front_depth: /notopic
gps: /gps/fix
imu: /imu

13 changes: 13 additions & 0 deletions GEMstack/knowledge/vehicle/gem_e4_gazebo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: GEM
version: e4
max_gear : 1
num_wiper_settings : 1
enable_through_joystick : true #turn this to false to have GEMstack enable control
max_command_rate : 10.0 #for hardware, max rate of commands to send to vehicle over Pacmod
#using !include directives helps maintain reuse of common settings
geometry: !include gem_e4_geometry.yaml
dynamics: !include gem_e4_dynamics.yaml
limits: !include gem_e2_slow_limits.yaml
control_defaults: !include gem_e2_control_defaults.yaml
calibration: !include ../calibration/gem_e4_gazebo.yaml
sensors: !include gem_e4_sensor_environment_gazebo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
ros_topics:
top_lidar: /velodyne_points
front_camera: /front_single_camera/image_raw
front_depth: /notopic
gps: /gps/fix
imu: /imu

Loading
Loading