Skip to content
Snippets Groups Projects

Draft: fix: roadmark issue & parametric polynomial's coordinates conversion issue

2 files
+ 2
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -149,7 +149,7 @@ Vec2<units::length::meter_t> ParamPoly3::CalcDirectionAt(const units::length::me
auto local_heading = Vec2<units::length::meter_t>{units::length::meter_t(u_poly.CalcDerivativeAt(distance_query)),
units::length::meter_t(v_poly.CalcDerivativeAt(distance_query))};
return local_heading.Rotate(hdg) / local_heading.Length().value();
return local_heading / local_heading.Length().value();
}
units::angle::radian_t ParamPoly3::GetHeadingAt(const units::length::meter_t& s) const
Loading