Skip to content

Commit

Permalink
Merge pull request #1889 from MKargus0/feature/fix_landing_target_tim…
Browse files Browse the repository at this point in the history
…e_conversion

Fixed header.stamp conversion in landing target
  • Loading branch information
vooon authored Aug 29, 2023
2 parents 3e1adc7 + 35fb381 commit ed2d6e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mavros_extras/src/plugins/landing_target.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,8 @@ class LandingTargetPlugin : public plugin::Plugin,
Eigen::Affine3d tr;
tf2::fromMsg(req->pose, tr);

send_landing_target(req->header.stamp, tr);
rclcpp::Time sys_time(req->header.stamp, RCL_SYSTEM_TIME);
send_landing_target(sys_time, tr);
}

/**
Expand Down

0 comments on commit ed2d6e0

Please sign in to comment.