Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: sync upstream #33

Closed
wants to merge 83 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
26fe6c7
test: temporarily supports source build
isamu-takagi Aug 19, 2024
2c6e319
add map loader param file
isamu-takagi Aug 19, 2024
5fb7208
Merge branch 'main' into test/source-build
isamu-takagi Aug 20, 2024
85ea5cd
Merge branch 'main' into test/source-build
isamu-takagi Aug 20, 2024
cf112aa
feat: add launch arg for sim real (#37)
taikitanaka3 Aug 20, 2024
2b32d68
chore: change stream interval
taikitanaka3 Aug 21, 2024
d18429b
fix: correct imu orientation
taikitanaka3 Aug 22, 2024
fb563af
feat: add aichallenge submit launch arg (#39)
taikitanaka3 Aug 24, 2024
531cf90
feat: add planning and control (#42)
masahiro-kubota Aug 25, 2024
d2b33b9
Merge commit '2a06672f99c9086a324f44119ec2640154f6f4dc' into test/sou…
taikitanaka3 Aug 26, 2024
7caa17c
test: source build update (#46)
taikitanaka3 Aug 27, 2024
0d67aeb
fix: add makeflags (#49)
masahiro-kubota Aug 27, 2024
dde08f1
fix: modify sensor configuration (#50)
masahiro-kubota Aug 28, 2024
b0bcaf0
feat: add rviz plugin (#51)
masahiro-kubota Aug 28, 2024
c2bc1fa
fix: modify accel map (#52)
masahiro-kubota Aug 28, 2024
49ad739
fix: invalid map (#53)
taikitanaka3 Aug 28, 2024
842478b
feat(rviz): add debug sensing
taikitanaka3 Sep 1, 2024
2714286
fix: modify sensor kit calibration (#58)
masahiro-kubota Sep 2, 2024
8602743
decrease pose_smoothing_step 5->1 (#59)
KYabuuchi Sep 3, 2024
9e3a6e7
estimate orientation from dual antenna (#56)
KYabuuchi Sep 3, 2024
6b578f8
fix: modify build command (#61)
masahiro-kubota Sep 3, 2024
5118ae5
feat: add sensorkit swtching (#57)
taikitanaka3 Sep 4, 2024
43e2f05
Revert "estimate orientation from dual antenna (#56)" (#66)
taikitanaka3 Sep 5, 2024
1ea6814
chore: source build single rtk discard orientation (#65)
taikitanaka3 Sep 5, 2024
484e1fb
feat: add steer tire angle gain (#67)
masahiro-kubota Sep 5, 2024
2ce4903
feat: draft accel brake map (#70)
taikitanaka3 Sep 5, 2024
feb475c
fix: modify angular velocity offset (#69)
masahiro-kubota Sep 5, 2024
16bd593
feat: add raw publisher (#71)
taikitanaka3 Sep 5, 2024
9be57bb
chore: add better build script (#72)
taikitanaka3 Sep 5, 2024
494bccc
fix: source build build fix control point size (#73)
taikitanaka3 Sep 6, 2024
538ab88
feat: add pure pursuit debug (#74)
taikitanaka3 Sep 6, 2024
5e78954
fix: ll2 interval (#75)
taikitanaka3 Sep 7, 2024
b2f81fe
feat(rviz): modify layout (#76)
masahiro-kubota Sep 8, 2024
e5eccb2
feat(rviz): add posmode panel (#77)
masahiro-kubota Sep 8, 2024
ec8e985
feat: add the script recording rosbag and ros parameter (#81)
masahiro-kubota Sep 8, 2024
35ee08d
feat: add odometry marker (#78)
masahiro-kubota Sep 8, 2024
ce8596b
fix: add pose additional delay param (#79)
masahiro-kubota Sep 8, 2024
588c488
fix: modify accel map (#80)
masahiro-kubota Sep 8, 2024
38c6ce9
feat: add target/actual steer/speed to rviz (#83)
isamu-takagi Sep 9, 2024
eb068cb
chore: add util launch script (#85)
taikitanaka3 Sep 9, 2024
6867c2a
chore: disable localhost only (#86)
knorrrr Sep 10, 2024
8e96c8e
feat: set same launch as source build (#82)
taikitanaka3 Sep 10, 2024
2300804
chore: tune ppc param (#84)
taikitanaka3 Sep 11, 2024
1cde198
fix: removed simulation arg (#87)
taikitanaka3 Sep 11, 2024
142918a
chore: tune ppc param
taikitanaka3 Sep 11, 2024
5d5b91d
feat: add topic tools (#91)
masahiro-kubota Sep 11, 2024
e10b40e
fix: removed simulation arg (#90)
taikitanaka3 Sep 11, 2024
5ed740b
chore: separate sim param (#94)
knorrrr Sep 11, 2024
fb02212
fix: fix aichallenge launch param according to the 9/11 experiment (#93)
masahiro-kubota Sep 11, 2024
a94e390
fix: modify record log (#95)
masahiro-kubota Sep 11, 2024
a57d620
feat: add map (#97)
masahiro-kubota Sep 13, 2024
c774316
chore: source build merge main (#88)
taikitanaka3 Sep 13, 2024
7caaab4
fix: fix use_sim_time default value (#92)
isamu-takagi Sep 14, 2024
b2ef74c
fix(source build): fix initial pose (#98)
taikitanaka3 Sep 16, 2024
70340f2
fix: remove rm command (#99)
masahiro-kubota Sep 16, 2024
873843d
feat: add rviz script (#100)
masahiro-kubota Sep 16, 2024
635d9b7
chore!: remove aichallenge launch
taikitanaka3 Sep 16, 2024
7e4eae0
style: pre-commit
taikitanaka3 Sep 16, 2024
4b3f383
chore: launch by aichallenge system launch
taikitanaka3 Sep 16, 2024
014f1ee
feat: add rviz arg (#101)
taikitanaka3 Sep 17, 2024
bcb42d5
fix: change to the param used on 0916 (#104)
masahiro-kubota Sep 17, 2024
040abec
fix: change rviz config (#102)
masahiro-kubota Sep 17, 2024
83cc07c
fix: add emergency, control mode and joy delay to multi data monitor …
masahiro-kubota Sep 17, 2024
71c1a5d
fix: modify the argument (#105)
masahiro-kubota Sep 17, 2024
74fe770
fix: add node to record_log.sh (#107)
masahiro-kubota Sep 18, 2024
95965ba
fix: update map (#108)
masahiro-kubota Sep 18, 2024
6d8a61e
chore!: use same source as main (#106)
taikitanaka3 Sep 24, 2024
05dab47
fix: awsim orientaion (#111)
taikitanaka3 Sep 25, 2024
bc80ed3
feat: remove high rate topic from rviz (#109)
isamu-takagi Sep 25, 2024
7038f58
Merge branch 'main' into feat/merge-main-into-source-build
isamu-takagi Sep 25, 2024
f361712
Merge pull request #113 from AutomotiveAIChallenge/feat/merge-main-in…
isamu-takagi Sep 25, 2024
ab94520
remove depends
isamu-takagi Sep 25, 2024
288fcdf
feat: remove copy of imu_corrector param (#115)
isamu-takagi Sep 25, 2024
833512d
Merge branch 'test/source-build' into feat/merge-source-build-into-main
isamu-takagi Sep 25, 2024
5181eb4
remove test map
isamu-takagi Sep 25, 2024
313c637
remove utils
isamu-takagi Sep 25, 2024
1d10963
remove debug
isamu-takagi Sep 25, 2024
c275b24
Merge pull request #114 from AutomotiveAIChallenge/feat/merge-source-…
isamu-takagi Sep 25, 2024
057efb1
feat: add cyclonedds setting (#110)
masahiro-kubota Sep 25, 2024
9028264
fix(racing_kart_sensor_kit_description): update awsim calibration fil…
yuasabe Sep 26, 2024
de95e49
feat: apply simulator update (#64)
isamu-takagi Sep 26, 2024
572bdf3
fix: imu gnss poser build warning (#116)
isamu-takagi Sep 26, 2024
71fcb7b
feat: add sensor noise (#118)
knorrrr Sep 26, 2024
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
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@ RUN apt-get -y install ros-humble-rqt-graph
# PATH="$PATH:/root/.local/bin"
# PATH="/usr/local/cuda/bin:$PATH"
ENV XDG_RUNTIME_DIR=/tmp/xdg
ENV ROS_LOCALHOST_ONLY=1
ENV ROS_LOCALHOST_ONLY=0
ENV RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
ENV ROS_DOMAIN_ID=71
ENV CYCLONEDDS_URI=file:///opt/autoware/cyclonedds.xml

COPY cyclonedds.xml /opt/autoware/cyclonedds.xml

FROM common AS dev

Expand Down
4 changes: 3 additions & 1 deletion aichallenge/pkill_all.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash

pkill -9 component_conta
pkill -9 ekf_localizer
pkill -9 empty_objects_p
Expand All @@ -16,4 +18,4 @@ pkill -9 routing_adaptor
pkill -9 rviz2
pkill -9 simple_pure_pur
pkill -9 twist2accel
pkill -9 vehicle_velocit
pkill -9 vehicle_velocit
2 changes: 1 addition & 1 deletion aichallenge/run_evaluation.bash
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ sleep 1

# Start driving and wait for the simulation to finish
echo "Waiting for the simulation"
ros2 topic pub --once /control/control_mode_request_topic std_msgs/msg/Bool '{data: true}' >/dev/null
ros2 service call /control/control_mode_request autoware_auto_vehicle_msgs/srv/ControlModeCommand '{mode: 1}' >/dev/null
wait $PID_AWSIM

# Stop recording rviz2
Expand Down
5 changes: 5 additions & 0 deletions aichallenge/workspace/run_aichallenge_launch_replay_rosbag.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/bash

source install/setup.bash

ros2 launch aichallenge_system_launch aichallenge_system.launch.xml simulation:=false use_sim_time:=true run_rviz:=true
5 changes: 5 additions & 0 deletions aichallenge/workspace/run_aichallenge_launch_run_vehicle.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/bash

source install/setup.bash

ros2 launch aichallenge_system_launch aichallenge_system.launch.xml simulation:=false use_sim_time:=false run_rviz:=false
5 changes: 5 additions & 0 deletions aichallenge/workspace/run_aichallenge_launch_simulation.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/bash

source install/setup.bash

ros2 launch aichallenge_system_launch aichallenge_system.launch.xml simulation:=true use_sim_time:=true run_rviz:=true

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/**:
ros__parameters:
map_frame: map
arrival_check_angle_deg: 45.0
arrival_check_distance: 1.0
arrival_check_duration: 1.0
goal_angle_threshold_deg: 45.0
enable_correct_goal_pose: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/**:
ros__parameters:
# ego
ego_nearest_dist_threshold: 3.0 # [m]
ego_nearest_yaw_threshold: 1.046 # [rad] = 60 [deg]
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
# see AvoidanceParameters description in avoidance_module_data.hpp for description.
/**:
ros__parameters:
avoidance:
resample_interval_for_planning: 0.3 # [m]
resample_interval_for_output: 4.0 # [m]
detection_area_right_expand_dist: 0.0 # [m]
detection_area_left_expand_dist: 1.0 # [m]
drivable_area_right_bound_offset: 0.0 # [m]
drivable_area_left_bound_offset: 0.0 # [m]
object_envelope_buffer: 0.3 # [m]

# avoidance module common setting
enable_bound_clipping: false
enable_avoidance_over_same_direction: true
enable_avoidance_over_opposite_direction: true
enable_update_path_when_object_is_gone: false
enable_force_avoidance_for_stopped_vehicle: false
enable_safety_check: false
enable_yield_maneuver: false
disable_path_update: false

# for debug
publish_debug_marker: false
print_debug_info: false

# avoidance is performed for the object type with true
target_object:
car: true
truck: true
bus: true
trailer: true
unknown: false
bicycle: false
motorcycle: false
pedestrian: false

# For target object filtering
target_filtering:
# filtering moving objects
threshold_speed_object_is_stopped: 1.0 # [m/s]
threshold_time_object_is_moving: 1.0 # [s]
threshold_time_force_avoidance_for_stopped_vehicle: 10.0 # [s]
# detection range
object_check_force_avoidance_clearance: 30.0 # [m]
object_check_forward_distance: 150.0 # [m]
object_check_backward_distance: 2.0 # [m]
object_check_goal_distance: 20.0 # [m]
# filtering parking objects
threshold_distance_object_is_on_center: 1.0 # [m]
object_check_shiftable_ratio: 0.6 # [-]
object_check_min_road_shoulder_width: 0.5 # [m]
# lost object compensation
object_last_seen_threshold: 2.0

# For safety check
safety_check:
safety_check_backward_distance: 100.0 # [m]
safety_check_time_horizon: 10.0 # [s]
safety_check_idling_time: 1.5 # [s]
safety_check_accel_for_rss: 2.5 # [m/ss]
safety_check_hysteresis_factor: 2.0 # [-]

# For avoidance maneuver
avoidance:
# avoidance lateral parameters
lateral:
lateral_collision_margin: 1.0 # [m]
lateral_collision_safety_buffer: 0.7 # [m]
lateral_passable_safety_buffer: 0.0 # [m]
road_shoulder_safety_margin: 0.3 # [m]
avoidance_execution_lateral_threshold: 0.499
max_right_shift_length: 5.0
max_left_shift_length: 5.0
# avoidance distance parameters
longitudinal:
prepare_time: 2.0 # [s]
longitudinal_collision_safety_buffer: 0.0 # [m]
min_prepare_distance: 1.0 # [m]
min_avoidance_distance: 10.0 # [m]
min_nominal_avoidance_speed: 7.0 # [m/s]
min_sharp_avoidance_speed: 1.0 # [m/s]

# For yield maneuver
yield:
yield_velocity: 2.78 # [m/s]

# For stop maneuver
stop:
min_distance: 10.0 # [m]
max_distance: 20.0 # [m]

constraints:
# vehicle slows down under longitudinal constraints
use_constraints_for_decel: false # [-]

# lateral constraints
lateral:
nominal_lateral_jerk: 0.2 # [m/s3]
max_lateral_jerk: 1.0 # [m/s3]

# longitudinal constraints
longitudinal:
nominal_deceleration: -1.0 # [m/ss]
nominal_jerk: 0.5 # [m/sss]
max_deceleration: -2.0 # [m/ss]
max_jerk: 1.0
# For prevention of large acceleration while avoidance
min_avoidance_speed_for_acc_prevention: 3.0 # [m/s]
max_avoidance_acceleration: 0.5 # [m/ss]

target_velocity_matrix:
col_size: 2
matrix:
[2.78, 13.9, # velocity [m/s]
0.50, 1.00] # margin [m]
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
/**:
ros__parameters:
# Static expansion
avoidance:
drivable_area_right_bound_offset: 0.0
drivable_area_left_bound_offset: 0.0
drivable_area_types_to_skip: [road_border]
lane_change:
drivable_area_right_bound_offset: 0.0
drivable_area_left_bound_offset: 0.0
drivable_area_types_to_skip: [road_border]
lane_following:
drivable_area_right_bound_offset: 0.0
drivable_area_left_bound_offset: 0.0
drivable_area_types_to_skip: [road_border]
pull_out:
drivable_area_right_bound_offset: 0.0
drivable_area_left_bound_offset: 0.0
drivable_area_types_to_skip: [road_border]
pull_over:
drivable_area_right_bound_offset: 0.0
drivable_area_left_bound_offset: 0.0
drivable_area_types_to_skip: [road_border]
side_shift:
drivable_area_right_bound_offset: 0.0
drivable_area_left_bound_offset: 0.0
drivable_area_types_to_skip: [road_border]

# Dynamic expansion by projecting the ego footprint along the path
dynamic_expansion:
enabled: false
ego:
extra_footprint_offset:
front: 0.5 # [m] extra length to add to the front of the ego footprint
rear: 0.5 # [m] extra length to add to the rear of the ego footprint
left: 0.5 # [m] extra length to add to the left of the ego footprint
right: 0.5 # [m] extra length to add to the rear of the ego footprint
dynamic_objects:
avoid: true # if true, the drivable area is not expanded in the predicted path of dynamic objects
extra_footprint_offset:
front: 0.5 # [m] extra length to add to the front of the dynamic object footprint
rear: 0.5 # [m] extra length to add to the rear of the dynamic object footprint
left: 0.5 # [m] extra length to add to the left of the dynamic object footprint
right: 0.5 # [m] extra length to add to the rear of the dynamic object footprint
expansion:
method: polygon # method used to expand the drivable area. Either 'lanelet' or 'polygon'.
# 'lanelet': add lanelets overlapped by the ego footprints
# 'polygon': add polygons built around sections of the ego footprint that go out of the drivable area
max_distance: 0.0 # [m] maximum distance by which the drivable area can be expended (0.0 means no limit)
max_path_arc_length: 50.0 # [m] maximum arc length along the path where the ego footprint is projected (0.0 means no limit)
extra_arc_length: 0.5 # [m] extra expansion arc length around an ego footprint
avoid_linestring:
types: # linestring types in the lanelet maps that will not be crossed when expanding the drivable area
- road_border
distance: 0.0 # [m] distance to keep between the drivable area and the linestrings to avoid
compensate:
enable: true # if true, when the drivable area cannot be expanded in one direction to completely include the ego footprint, it is expanded in the opposite direction
extra_distance: 3.0 # [m] extra distance to add to the compensation
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/**:
ros__parameters:
lane_change:
lane_change_prepare_duration: 4.0 # [s]
lane_changing_safety_check_duration: 8.0 # [s]

minimum_lane_change_prepare_distance: 2.0 # [m]
minimum_lane_change_length: 16.5 # [m]
backward_length_buffer_for_end_of_lane: 3.0 # [m]
lane_change_finish_judge_buffer: 2.0 # [m]

lane_changing_lateral_jerk: 0.5 # [m/s3]
lane_changing_lateral_acc: 0.5 # [m/s2]

minimum_lane_change_velocity: 2.78 # [m/s]
prediction_time_resolution: 0.5 # [s]
maximum_deceleration: 1.0 # [m/s2]
lane_change_sampling_num: 3

# collision check
enable_collision_check_at_prepare_phase: false
prepare_phase_ignore_target_speed_thresh: 0.1 # [m/s]
use_predicted_path_outside_lanelet: false
use_all_predicted_path: false

# abort
enable_cancel_lane_change: true
enable_abort_lane_change: false

abort_delta_time: 3.0 # [s]
abort_max_lateral_jerk: 1000.0 # [m/s3]

# debug
publish_debug_marker: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**:
ros__parameters:
lane_following:
lane_change_prepare_duration: 2.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/**:
ros__parameters:
pull_out:
th_arrived_distance: 1.0
th_stopped_velocity: 0.01
th_stopped_time: 1.0
collision_check_margin: 1.0
collision_check_distance_from_end: 1.0
# shift pull out
enable_shift_pull_out: true
shift_pull_out_velocity: 2.0
pull_out_sampling_num: 4
minimum_shift_pull_out_distance: 20.0
maximum_lateral_jerk: 2.0
minimum_lateral_jerk: 0.5
deceleration_interval: 15.0
# geometric pull out
enable_geometric_pull_out: true
divide_pull_out_path: false
geometric_pull_out_velocity: 1.0
arc_path_interval: 1.0
lane_departure_margin: 0.2
backward_velocity: -1.0
pull_out_max_steer_angle: 0.26 # 15deg
# search start pose backward
enable_back: true
search_priority: "efficient_path" # "efficient_path" or "short_back_distance"
max_back_distance: 30.0
backward_search_resolution: 2.0
backward_path_update_duration: 3.0
ignore_distance_from_lane_end: 15.0
Loading