test
Dependencies: mbed ros_lib_kinetic nhk19mr2_can_info splitData SerialHalfDuplex_HM
Diff: OneLeg/OneLeg.cpp
- Revision:
- 43:2ed84f3558c1
- Parent:
- 27:79b4b932a6dd
--- a/OneLeg/OneLeg.cpp Tue Mar 05 09:08:40 2019 +0000 +++ b/OneLeg/OneLeg.cpp Wed Mar 06 12:13:46 2019 +0000 @@ -43,7 +43,7 @@ atan2(y_m, temp_x[0]) + acos((temp_L[1] + r2 * r2) / (2.0f * r2 * leglength1_[1]))}; if (isnan(targetTheta[0]) || isnan(targetTheta[1])) //解が出ないときは値を更新しない { - printf("error:(x,y) = (%f,%f) is out of range ", x_m, y_m); + printf("error:(x,y) = (%f,%f) is out of range\r\n", x_m, y_m); is_error = 1; } else //解が出るならrad, x, y を更新する