-
Notifications
You must be signed in to change notification settings - Fork 60
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
Support TrafficLightGroup in traffic_simulator
/ simple_sensor_simulator
#1357
Conversation
Checklist for reviewers ☑️All references to "You" in the following text refer to the code reviewer.
|
Note This pull-request is waiting for #1406 to be merged |
…ht_group # Conflicts: # simulation/simple_sensor_simulator/include/simple_sensor_simulator/sensor_simulation/sensor_simulation.hpp # simulation/traffic_simulator/include/traffic_simulator/entity/entity_manager.hpp # simulation/traffic_simulator/src/traffic_lights/traffic_light_publisher.cpp
…e_sensor_simulator
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since TrafficLightPublisher<>::publish
now receives rclcpp::Time
, please delete the data member TrafficLightPublisher<>::clock_ptr_
which is no longer necessary.
I fixed in |
Quality Gate passedIssues Measures |
Description
Abstract
This pull-request supports
TrafficLightGroupArray
and addawf/universe/20240605
asarchitecture_type
for it.Details
supporting
TrafficLightGroupArray
Currently,
autoware_auto_perception_msgs/TrafficSignalArray
andautoware_perception_msgs/TrafficSignalArray
are supported for trafffic light inscenario_simulator_v2
.However, I found that this was not enough to keep up with the latest Autoware.
In latest Autoware,
autoware_perception_msgs/TrafficSignalArray
, the traffic light message supported in scenario_simulator_v2, is not used andautoware_perception_msgs/TrafficLightGroupArray
is used instead.So, this pull-request supports
autoware_perception_msgs/TrafficLightGrupArray
.architecture_type
designThe
architecture_type
is designed for switching message type (especially, messages for traffic light) of publishers for various autoware version.Now, there are 2
architecture_type
as below.awf/universe
autoware_auto_perception_msgs/TrafficSignalArray
for traffic lightsawf/universe/20230906
autoware_perception_msgs/TrafficSignalArray
for traffic lightsIn this PR, I added
awf/universe/20240605
as below.awf/universe/20240605
autoware_perception_msgs/TrafficLightGroupArray
for traffic lightsNote
awf/universe
will be deleted in near future after dropping support for messages related toAutoware.Auto
References
regression test: OK
Destructive Changes
None
Known Limitations
None