test
Dependencies: mbed ros_lib_kinetic nhk19mr2_can_info splitData SerialHalfDuplex_HM
Diff: Walk/orbit/freeline/freeline.cpp
- Revision:
- 43:2ed84f3558c1
- Parent:
- 42:982064594ba6
--- a/Walk/orbit/freeline/freeline.cpp Tue Mar 05 09:08:40 2019 +0000 +++ b/Walk/orbit/freeline/freeline.cpp Wed Mar 06 12:13:46 2019 +0000 @@ -15,7 +15,7 @@ break; } float x_m, y_m; - if (lineparams_[next_point - 1].is_point_to_point == 1) + if (lineparams_[next_point].is_point_to_point == 1) { x_m = lineparams_[next_point].x_m; y_m = lineparams_[next_point].y_m;