We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b6409d commit d2e2fbbCopy full SHA for d2e2fbb
cart-pole/cart_pole.js
@@ -102,7 +102,7 @@ export class CartPole {
102
(4 / 3 - this.massPole * cosTheta * cosTheta / this.totalMass));
103
const xAcc = temp - this.poleMoment * thetaAcc * cosTheta / this.totalMass;
104
105
- // Update the four state variables, using Euler's metohd.
+ // Update the four state variables, using Euler's method.
106
this.x += this.tau * this.xDot;
107
this.xDot += this.tau * xAcc;
108
this.theta += this.tau * this.thetaDot;
0 commit comments