We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be16b07 commit 85e2660Copy full SHA for 85e2660
planning/autoware_freespace_planning_algorithms/src/reeds_shepp.cpp
@@ -676,7 +676,7 @@ ReedsSheppStateSpace::StateXYT ReedsSheppStateSpace::interpolate(
676
}
677
678
StateXYT s_out;
679
- double phi, v;
+ double v;
680
681
s_out.x = s_out.y = 0.0;
682
s_out.yaw = s0.yaw;
@@ -689,7 +689,7 @@ ReedsSheppStateSpace::StateXYT ReedsSheppStateSpace::interpolate(
689
v = std::min(seg, path.length_[i]);
690
seg -= v;
691
692
- phi = s_out.yaw;
+ double phi = s_out.yaw;
693
switch (path.type_[i]) {
694
case RS_LEFT:
695
s_out.x += (sin(phi + v) - std::sin(phi));
0 commit comments