Skip to content

Commit

Permalink
fix(traffic_simulator): set flag valid lanelet pose
Browse files Browse the repository at this point in the history
Signed-off-by: satoshi-ota <[email protected]>
  • Loading branch information
satoshi-ota committed Sep 18, 2024
1 parent 8d189b1 commit 1c76eb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions simulation/traffic_simulator/src/api/api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ auto API::setEntityStatus(
EntityStatus status = static_cast<EntityStatus>(entity->getCanonicalizedStatus());
status.pose = map_pose;
status.action_status = action_status;
status.lanelet_pose_valid = false;
setEntityStatus(name, status);
} else {
THROW_SIMULATION_ERROR("Cannot set entity \"", name, "\" status - such entity does not exist.");
Expand Down

0 comments on commit 1c76eb4

Please sign in to comment.