• R/O
  • SSH
  • HTTPS

team-ncxx-sl: Commit


Commit MetaInfo

Revision394 (tree)
Time2018-07-22 17:17:10
Authorwada-yukino

Log Message

(empty log message)

Change Summary

Incremental Difference

--- trunk/src/hrp2_beta7/sdk/workspace/sample_cpp2/course/Garage.cpp (revision 393)
+++ trunk/src/hrp2_beta7/sdk/workspace/sample_cpp2/course/Garage.cpp (revision 394)
@@ -139,10 +139,10 @@
139139 int powerR = 0;
140140 int powerL = 0;
141141
142- if (p_courseType == COURSETYPE_RIGHT) {
142+ if (p_courseType == COURSETYPE_LEFT) {
143143 powerR = defaultPower + ((0 < colorDiff) ? additionalPower : 0);
144144 powerL = defaultPower + ((colorDiff < 0) ? additionalPower : 0);
145- }
145+ } else
146146 {
147147 powerR = defaultPower + ((colorDiff < 0) ? additionalPower : 0);
148148 powerL = defaultPower + ((0 < colorDiff) ? additionalPower : 0);
Show on old repository browser