Skip to content

Commit

Permalink
Set clock type if Marker frame_locked is true (#482)
Browse files Browse the repository at this point in the history
Fixes #479

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
  • Loading branch information
jacobperron committed Jul 20, 2020
1 parent fb6ec8d commit 2bf8e06
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ bool MarkerBase::transform(
{
rclcpp::Time stamp = message->header.stamp;
if (message->frame_locked) {
stamp = rclcpp::Time();
stamp = rclcpp::Time(0, 0, context_->getClock()->get_clock_type());
}

if (!context_->getFrameManager()->transform(
Expand Down

0 comments on commit 2bf8e06

Please sign in to comment.