• R/O
  • SSH
  • HTTPS

team-ncxx-sl: Commit


Commit MetaInfo

Revision393 (tree)
Time2018-07-22 17:12:44
Authorwada-yukino

Log Message

(empty log message)

Change Summary

Incremental Difference

--- trunk/src/hrp2_beta7/sdk/workspace/sample_cpp2/course/LookupGate.cpp (revision 392)
+++ trunk/src/hrp2_beta7/sdk/workspace/sample_cpp2/course/LookupGate.cpp (revision 393)
@@ -398,7 +398,7 @@
398398 forwardMotorAngL = motor_ang_l;
399399 }
400400 } else {
401- if (160 < motor_ang_l - forwardMotorAngL) {
401+ if (170 < motor_ang_l - forwardMotorAngL) {
402402 log("LookupGateStateThroughGateStop\r\n");
403403 lookupGateState = LookupGateStateThroughGateStop;
404404 }
@@ -614,7 +614,7 @@
614614 bool LookupGate::SpinLeft() {
615615 int32_t motorAngle = ev3_motor_get_counts(left_motor);
616616 if (targetSpinCount == 0) {
617- targetSpinCount = motorAngle - 390;
617+ targetSpinCount = motorAngle - 360;
618618 //targetSpinCount = motorAngle + 390;
619619 ev3_motor_stop(right_motor, true);
620620 }
Show on old repository browser