Skip to content

Commit

Permalink
implement getter in RViz plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
gkueppers committed Jan 14, 2025
1 parent cfc3f5b commit 3eee1c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etsi_its_rviz_plugins/src/displays/MAPEM/mapem_display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ void MAPEMDisplay::SPATEMCallback(etsi_its_spatem_ts_msgs::msg::SPATEM::ConstSha
mvmt_state.signal_group_id = etsi_its_spatem_ts_msgs::access::getSignalGroupID(spat_mvmt_state);
mvmt_state.header = header;
if(spat_mvmt_state.state_time_speed.array.size()) {
mvmt_state.phase_state = spat_mvmt_state.state_time_speed.array[0].event_state;
mvmt_state.phase_state = etsi_its_spatem_ts_msgs::access::getCurrentMovementPhaseState(spat_mvmt_state);
}
// Check if SignalGroup is already present in IntersectionMovementState of Intersection
auto mvmnt_it = it->second.movement_states.find(mvmt_state.signal_group_id);
Expand Down

0 comments on commit 3eee1c5

Please sign in to comment.