Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(lanelet2_extension): fix getAngleDifference #264

Prev Previous commit
Next Next commit
Revert "chore(query): add deprecated attribute to getAngleDifference"
This reverts commit 3b56ce7.

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>
  • Loading branch information
taikitanaka3 committed Jan 20, 2022
commit b60d7827c806fc88468c0574f621b633a411c4d5
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ namespace lanelet
{
namespace utils
{
inline double [[deprecated]] getAngleDifference(const double angle1, const double angle2)
inline double getAngleDifference(const double angle1, const double angle2)
{
return std::abs(tier4_autoware_utils::normalizeRadian(angle1 - angle2));
const double diff_angle = std::abs(tier4_autoware_utils::normalizeRadian(angle1 - angle2));
return diff_angle;
}
namespace query
{
Expand Down