Advertisement

Latest torque Activity

Since brake torque should always be something like -k_brake*angularVelocity * brakeInput, with k_brake a constant > 0, 0< brakeInput < 1, brake torque will always be the opposite sign ov angular velocity, you don’t need those abs() and sign(), getting rid of them will make your code easier…

1,500 views
Advertisement
Advertisement
Advertisement