Skip to content

Commit

Permalink
change input topic of the traffic signals
Browse files Browse the repository at this point in the history
Signed-off-by: Tomohito Ando <[email protected]>
  • Loading branch information
TomohitoAndo committed Jul 28, 2023
1 parent 0769685 commit 1f5cf31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ void TrafficLightPublishPanel::onInitialize()
raw_node_ = this->getDisplayContext()->getRosNodeAbstraction().lock()->get_raw_node();

pub_traffic_signals_ = raw_node_->create_publisher<TrafficSignalArray>(
"/perception/traffic_light_arbiter/traffic_signals", rclcpp::QoS(1));
"/perception/traffic_light_recognition/traffic_signals", rclcpp::QoS(1));

sub_vector_map_ = raw_node_->create_subscription<HADMapBin>(
"/map/vector_map", rclcpp::QoS{1}.transient_local(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def launch_setup(context, *args, **kwargs):
),
(
"~/input/traffic_signals",
"/perception/traffic_light_arbiter/traffic_signals",
"/perception/traffic_light_recognition/traffic_signals",
),

Check notice on line 176 in launch/tier4_planning_launch/launch/scenario_planning/lane_driving/behavior_planning/behavior_planning.launch.py

View check run for this annotation

CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main)

✅ Getting better: Large Method

launch_setup decreases from 214 to 210 lines of code, threshold = 70. Large functions with many lines of code are generally harder to understand and lower the code health. Avoid adding more lines to this function.
(
"~/input/external_velocity_limit_mps",
Expand Down

0 comments on commit 1f5cf31

Please sign in to comment.