Releases: tier4/scenario_simulator_v2
1.1.0
Description
Abstract
We started to consider road slope in lanelet2 map.
In this pull-request, we consider about gravity effect at road slope in ego vehicle simulation.
Background
In horizontal road, gravity has no effect to vehicle behavior.
But in the sloped road, the gravity has some horizontal component to the road like the figure below.
This gravity component effects to the vehicle simulation behavior especially like acceleration and deceleration.
Details
The algorithm to consider sloped road
- Do lane-matching and get s value in the lane coordinate
- Calculate road slope angle by centerpoint of the lane at matched s value.
- Calculate the road horizontal component of gravity
- Apply the acceleration calculated in step 3 to the longitudinal acceleration input of the vehicle model.
consider_acceleration_by_road_slope
flag to toggle function
It is togglable to enable and disable the consideration of sloped road in ego vehicle simulation by using consider_acceleration_by_road_slope
flag.
The flag can be set in arguments of ros2 launch
like below.
ros2 launch scenario_test_runner scenario_test_runner.launch.py \
architecture_type:=awf/universe \
record:=false \
scenario:='$(find-pkg-share scenario_test_runner)/scenario/sample.yaml' \
sensor_model:=sample_sensor_kit \
vehicle_model:=sample_vehicle \
consider_acceleration_by_road_slope:=true
To ensure backward-compatibility, this flag is set to false
defaultly.
Subsequent changes
This pull-request does not implement all consideration to sloped road.
I am implementing the remaining changes on #1103.
By the way, the flag name consider_acceleration_by_road_slope
is counterpart to consider_pose_by_road_slope
, which will be introduced in #1103.
References
pull-requests that were the basis for the change
- autowarefoundation/autoware.universe#4941
- autowarefoundation/autoware.universe#5199
- autowarefoundation/autoware.universe#5501
- autowarefoundation/autoware.universe#5616
Destructive Changes
There is no destructive changes because default behavior has not changed.
The regression test are done with default flag ( INTERNAL LINK )
Known Limitations
In this pull-request, we did not considered about lane lateral slope and lateral accelerration effect to vehicle model.
If simple_planning_simulator
in autoware.universe
started to support them, scenario_simulator_v2
will start that too.
Related Issues
1.0.3
Description
- Update
.github/workflows/Release.yaml
to avoid shell command substituion on Markdown content
Abstract
Existing workflow directly expands Markdown content to shell command. If expanded Markdown contains code spans like this
, workflow applys command substitution on them. This PR update workflow to store Markdown content before generating release_description.txt to avoid command substitution.
Background
When PR description is written like this:
PR description is expanded into command in GitHub Actions,
and command substitution is conducted.
Details
Assign ${{ github.event.pull_request.body }} to the environment variable $PULL_REQUEST_BODY
and output it to release_description.txt
.
References
https://github.com/tier4/scenario_simulator_v2/actions/runs/7985003102/job/21802726254
Destructive Changes
N/A
Known Limitations
N/A
Related Issues
1.0.2
Description
Abstract
Adding documentation about pose calculation in the lane coordinate system.
Background
Pose calculation in the lane coordinate system is a very complex process, and only those who were involved in the implementation of the system had a complete grasp of it.
Therefore, it was decided that it was necessary to document and organize the specifications and current behavior.
Details
Adding documentation about pose calculation in the lane coordinate system.
This document is written primarily for the developers of scenario_simulator_v2.
References
Issue #1189 found in the process of writing this document.
This pull request does not fix #1189 , this pull request is just adding document.
Destructive Changes
This pull requests only contains documentation, so it does not change the behavior of this software.
Known Limitations
N/A
Related Issues
1.0.1
Description
Abstract
To realize a trigger that fires when label is added or removed from pull-request, you should use trigger with and types instead of trigger.
Background
N/A
Details
N/A
References
Destructive Changes
N/A
Known Limitations
N/A
Related Issues
1.0.0
Description
Abstract
- Update Pull Request template.
- Added github actions needed for the new release flow.
- Immediately after this Pull Request is merged, the version will be version 1.0.0.
Background
The development team will require stricter version control in the future to ensure backward compatibility of the traffic_simulator API.
Accordingly, releases will be automated from now on, and will be done by labeling and instructing Pull Requests.
Details
After applying the new release flow, you can put one of the labels , , or on the Pull Request, and when the Pull Request is merged with master, the version of scenario_simulator_v2 is bumped according to the label type.
The commit history after applying the new release flow is shown in the figure below.
In the new release flow, the master tracking confirmation of branches using merge queue and the determination of the executability of release actions will be added.
Inside the merge queue, the release action is only judged as executable, and the actual release work is executed on the master branch after merge.
GitHub Actions for release are controlled in parallel to avoid data conflicts.
Destructive Changes
This Pull Request only adds the GitHub Actions, templates, etc. necessary for the release, and there are no disruptive changes with respect to the C++ API, scenario format, etc.
However, the existing release flow will be fundamentally changed and semantic versions will not be compatible.
Related Issues
0.9.0
What's Changed
- Feature/new traffic light by @HansRobo in #1027
- chore(deps): bump gitpython from 3.1.32 to 3.1.34 by @dependabot in #1089
- fix/distance-condition by @lchojnack in #1083
- Feature/drop galactic support by @hakuturu583 in #1087
- chore(deps): bump gitpython from 3.1.34 to 3.1.35 by @dependabot in #1091
- remove lanalet2_matching package source code by @hakuturu583 in #1063
- Feature/traffic simulator/follow trajectory action 3 by @yamacir-kit in #1069
- add comment about PR #1074 by @hakuturu583 in #1080
- Refactor/lanelet ID by @yamacir-kit in #1090
- docs: add HACKING.md by @kosuke55 in #1076
- Feature/freespace distance condition by @lchojnack in #1095
- chore(deps): bump urllib3 from 2.0.4 to 2.0.6 by @dependabot in #1097
- Feature/fallback spline to line segments by @hakuturu583 in #1019
- feat: Update topics and services to be compatible with the latest AD API by @kielczykowski-rai in #1060
- feat(openscenario_interpreter): Detail the message in case of scenario failure by @dmoszynski in #1075
- chore(deps): bump gitpython from 3.1.35 to 3.1.37 by @dependabot in #1105
- feat(behavior_tree): follow polyline action for pedestrian and bicycle by @dmoszynski in #1093
- Change possibly wrong subtraction of distance calculation to assignment by @shouth in #1102
- fix document by @hakuturu583 in #1098
- add updateStandStillDuration(step_time) and updateTraveledDistance(st… by @hakuturu583 in #1101
- feat(concealer, scenario_test_runner): ss2/AWSIM connection: initial pose sending upgrade, sample scenario by @piotr-zyskowski-rai in #1099
- Feature/control rtc auto mode by @HansRobo in #1092
- Feature/allow goal modification by @yamacir-kit in #997
- chore(deps): bump urllib3 from 2.0.6 to 2.0.7 by @dependabot in #1109
- Fix/rtc command action/continuous execution by @HansRobo in #1106
- doc(developer_guide): add FollowTrajectoryAction support and limitations by @dmoszynski in #1110
- Fix/entities right of way by @lchojnack in #1104
- Support for de-spawning entity by @f0reachARR in #1096
- Feature/doxygen by @hakuturu583 in #1113
- Fix/sign of relative distance by @yamacir-kit in #1121
- Fix/document url by @hakuturu583 in #1127
- Add
PseudoTrafficSignalDetectorConfidenceSetAction@v1
by @HansRobo in #1111 - fix(launch): remove name keyword from nodes in launch file by @lchojnack in #1126
- Random test runner fix by @pawellech1 in #1128
- Update ZeroMQ.md by @HansRobo in #1140
- fix(follow_trajectory): fix orientation for zero velocity vector (inactivity) by @dmoszynski in #1137
- Feature/update sim model by @HansRobo in #1144
- Feature/random scenario by @hakuturu583 in #1145
- Feat/condition groups visualization by @kyoichi-sugahara in #1033
- Feature/test geometry by @TauTheLepton in #1147
- feat(traffic_simulator): Traffic lights AWSIM sample scenarios, V2I traffic lights topic change by @piotr-zyskowski-rai in #1149
- Fix/geometry bug fixes by @TauTheLepton in #1139
- feat(follow_trajectory): add follow waypoint controller by @dmoszynski in #1129
- Prepare/release 0.9.0 by @hakuturu583 in #1156
- Release 0.9.0 by @hakuturu583 in #1158
New Contributors
- @pawellech1 made their first contribution in #1128
- @TauTheLepton made their first contribution in #1147
Full Changelog: 0.8.0...0.9.0
0.8.0
What's Changed
- fix/longitudinal_distance_fixed by @lchojnack in #992
- Fix/documentation action by @hakuturu583 in #1055
- re-merge #1023 by @HansRobo in #1054
- Feature/traffic simulator/follow trajectory action by @yamacir-kit in #1022
- update rviz config by @kyoichi-sugahara in #1048
- fix(openscenario_interpreter): run scenario in row (Entity : "ego" does not exist) by @dmoszynski in #1046
- feat(openscenario_interpreter): Remove the ability to verify that scenario success/error is the expected result by @dmoszynski in #1031
- Feat/relative object position by @kosuke55 in #1030
- Fix/longitudinal distance fixed master merged by @lchojnack in #1018
- fix/pr-1018-fix by @lchojnack in #1065
- Feature/traffic simulator/follow trajectory action 2 by @yamacir-kit in #1061
- fix(rviz): rename to goal planner by @kosuke55 in #1067
- Feature/interpreter/sensor detection range by @kyoichi-sugahara in #1056
- Feature/perception ground truth by @HansRobo in #1024
- docs: Add ConfiguringPerceptionTopics.md to mkdocs.yml by @HansRobo in #1079
- Fix/clock by @yamacir-kit in #1074
- ref(zeromq): restore repeated in UpdateEntityStatus by @dmoszynski in #1058
- update release note by @hakuturu583 in #1084
- Release 0.8.0 by @hakuturu583 in #1086
New Contributors
- @lchojnack made their first contribution in #992
Full Changelog: 0.7.0...0.8.0
0.7.0
What's Changed
- Feature/traffic_simulator/follow-trajectory-action-fix-typo-error by @HansRobo in #911
- feat(concealer, traffic_sim): ss2/AWSIM connection: concealer split by @piotr-zyskowski-rai in #969
- Feature/interpreter/fault injection by @yamacir-kit in #1002
- Add CustomCommandAction/V2ITrafficSignalStateAction by @HansRobo in #1004
- update build test by @hakuturu583 in #1005
- fix link by @hakuturu583 in #1006
- doc: fix links in SimpleSensorSimulator.md by @HansRobo in #1008
- Documentation/interpreter/detected object by @yamacir-kit in #1007
- Fix/get s value by @hakuturu583 in #996
- getStopLinesOnPath() changed from private to public by @hrjp in #1009
- Feature/do nothing plugin by @hakuturu583 in #1011
- Add
CustomCommandAction.RequestToCooperateCommandAction
by @HansRobo in #1013 - Add mkdocs-redirects plugin for renaming documentation by @f0reachARR in #1016
- Feature/traffic simulator/follow trajectory action by @yamacir-kit in #906
- feat(traffic_simulator): ss2/AWSIM connection: ego entity split by @piotr-zyskowski-rai in #998
- Update traffic_simulator rviz config by @kosuke55 in #1032
- update documentation about scenario editor by @hakuturu583 in #1036
- Add a support for START_PLANNER module and a filter for final_distance of RequestCooperateStatusArray by @HansRobo in #1025
- Fix link in QuickStart guide by @f0reachARR in #1038
- Fix for JUnit wrong count of testcases by @f0reachARR in #1037
- feat(traffic_simulator, simple_sensor_simulator): ss2/AWSIM connection: ego simulation in sss, zmq interface update by @piotr-zyskowski-rai in #1028
- [DO NOT MERGE] for watching diff by @HansRobo in #1039
- Modify comment from InterfaceUpdateNotification.yaml workflow by @HansRobo in #1045
- fix(concealer): recover backward-compatibility for tier4_rtc_msgs by @HansRobo in #1044
- update release note by @hakuturu583 in #1051
- Add lidar sensor delay by @kosuke55 in #1023
- Release 0.7.0 by @hakuturu583 in #1053
Full Changelog: 0.6.8...0.7.0
0.6.8
What's Changed
- fix version by @hakuturu583 in #919
- fix!(topic_status_checker): revert #912 by @HansRobo in #921
- add on_exit flag to the simulator by @hakuturu583 in #915
- Feature/jerk planning by @hakuturu583 in #909
- fix(concealer): remove unnecessary wait for autoware states by @mitsudome-r in #929
- Feature/interpreter/speed profile action by @yamacir-kit in #928
- fix(concealer): remove unnecessary wait for autoware states by @HansRobo in #930
- Improve occupancy grid generation algorithm by @shouth in #884
- refactor(interpreter): reflect a review from yamacir-kit for ParameterValueDistribution by @HansRobo in #926
- Precompute rotation matrix by @adamkrawczyk in #922
- add --include-eol-distros by @hakuturu583 in #935
- add simple noise generator by @kyoichi-sugahara in #914
- feat(ci): add InterfaceUpdateNotification.yaml by @HansRobo in #941
- delete metric when the entity was despawned by @hakuturu583 in #933
- Feature/interpreter/noise by @yamacir-kit in #937
- chore(concealer): remove unused had_map_route msg by @kosuke55 in #927
- update stopping behavior by @hakuturu583 in #946
- Ci/tool dispatch by @HansRobo in #949
- Import #933 to emergency-state/latest branch by @HansRobo in #947
- Feature/get lateral distance by @hakuturu583 in #945
- update trigger for heavy ci workflows by @HansRobo in #950
- Move traveled distance functionality to
traffic_simulator::API
by @shouth in #858 - Fix/warnings by @hakuturu583 in #951
- fix(traffic_simulator): import bug fix from universe #2437 by @HansRobo in #936
- Feature/interpreter/catalog by @yamacir-kit in #952
- clean up custom_spell.json by @HansRobo in #956
- Revert "clean up custom_spell.json" by @hakuturu583 in #959
- Mock build switching by @HansRobo in #955
- Fix/python installation by @yamacir-kit in #954
- Feature/interpreter/relative distance condition by @yamacir-kit in #962
- Emergency state/latest behavior by @HansRobo in #965
- lost object with probability parameter by @kyoichi-sugahara in #958
- Fix/getting next lanelet by @hakuturu583 in #963
- Fix/AJD-653 map path files by @dmoszynski in #966
- Feature/interpreter/alive monitoring by @yamacir-kit in #932
- Fix/AJD-658 abnormal longitudinal speed by @dmoszynski in #968
- Fix/AJD-655 terminates sigint and normal way by @dmoszynski in #967
- Fix python version for documentation generation by @HansRobo in #970
- Add License and Properties fields to FileHeader by @shouth in #957
- Feature/interpreter/user defined value condition by @yamacir-kit in #874
- Fix/openscenario utility/conversion by @yamacir-kit in #972
- added ability to specify goalposes in requestAcquirePosition by @hrjp in #904
- Feature/interpreter/probability of lost by @yamacir-kit in #973
- Add UserDefinedValueCondition::currentMinimumRiskManeuverState.state/behavior with backwardcompatibility by @HansRobo in #975
- fix!(concealer, interpreter): update
currentEmergencyState
source topic by @HansRobo in #923 - feat: make it possible to read the latest MRM State with backward compatibility by @HansRobo in #944
- Unique lanelets in Ego route fix by @piotr-zyskowski-rai in #931
- Feature/noise delay object by @kyoichi-sugahara in #964
- Feature/interpreter/relative heading condition by @yamacir-kit in #978
- Clean dicts by @HansRobo in #982
- Add
delay
implementation forcondition
by @shouth in #971 - ref(sim_interface): AJD-697 improve zeromq port management - use a single-port by @dmoszynski in #981
- Replace deprecated
set-output
with$GITHUB_OUTPUT
by @f0reachARR in #985 - Add
model3d
field to entity object by @f0reachARR in #977 - Feature/interpreter/publishing delay by @yamacir-kit in #986
- Cleanup code by @shouth in #894
- Add support for EnvironmentAction syntax by @f0reachARR in #980
- return std::nullopt in optional_position function by @hakuturu583 in #988
- ref(traffic_sim): AJD-696 clean up metics, provide out_of_range by @dmoszynski in #979
- Fix/cspell errors by @HansRobo in #990
- add const by @hakuturu583 in #993
- update release note by @hakuturu583 in #999
- Release 0.6.8 by @hakuturu583 in #1001
New Contributors
- @kyoichi-sugahara made their first contribution in #914
- @kosuke55 made their first contribution in #927
- @dmoszynski made their first contribution in #966
- @hrjp made their first contribution in #904
- @f0reachARR made their first contribution in #985
Full Changelog: 0.6.7...0.6.8
0.6.7
What's Changed
- Update ReleaseNotes.md by @hakuturu583 in #873
- Delete
lanelet2_extension_psim
/ Remove -r option fromrosdep install
command to catch rosdep errors on CI workflow by @HansRobo in #863 - Improve performance of occupancy grid generation by @shouth in #866
- change action version by @hakuturu583 in #876
- Feature/start npc logic api by @hakuturu583 in #823
- Feature/concealer/acceleration by @yamacir-kit in #875
- Update Docker.yaml by @hakuturu583 in #879
- Update Documentation.yaml by @hakuturu583 in #880
- Fix/interpreter/on activate by @yamacir-kit in #881
- Add autoware_msgs to dependencies by @HansRobo in #885
- add a new custom command (printParameter) by @kyabe2718 in #877
- Feature/interpreter/follow trajectory action by @yamacir-kit in #891
- Implement parallelization into lidar simulation (embree library) [AJD-520] by @kielczykowski-rai in #886
- Feature/interpreter/follow trajectory action 2 by @yamacir-kit in #892
- Update BuildIsolate.yaml by @hakuturu583 in #882
- Refactor scenario_test_runner for openscenario_preprocessor by @HansRobo in #890
- Feature/interpreter/follow trajectory action 3 by @yamacir-kit in #893
- Refactor/traffic simulator/spawn by @yamacir-kit in #896
- Update vehicle model by @HansRobo in #897
- Concealer service clients encapsulation; velocity limit setting fix by @piotr-zyskowski-rai in #848
- Feature/interpreter/speed profile action by @yamacir-kit in #898
- Configure behavior tree ports automatically by @shouth in #899
- Feature/speed action with time by @hakuturu583 in #901
- Feature/traffic simulator/behavior parameter by @yamacir-kit in #900
- Feature/interpreter/priority by @kyabe2718 in #883
- fix: orientation availability by @satoshi-ota in #905
- Fix/traffic simulator/horizon by @yamacir-kit in #908
- Fix bounding box shifting by @shouth in #888
- chore(ci): use
autowarefoundation/autoware-github-actions/spell-check
by @HansRobo in #910 - feat(preprocessor, interpreter): add empty implementation of ParameterValueDistribution by @HansRobo in #903
- chore(ci): use autoware-github-actions in SpellChackAll.yaml & fix cspell errors by @HansRobo in #913
- feat: add topic_checker by @HansRobo in #912
- update release note by @hakuturu583 in #916
- Release 0.6.7 by @hakuturu583 in #918
New Contributors
- @satoshi-ota made their first contribution in #905
Full Changelog: 0.6.6...0.6.7