- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {}
/** Set the maximum motor torque, usually in N-m. */ public void setMaxMotorTorque (float torque) { joint.setMaxMotorTorque(torque); }
class RemindTask extends TimerTask { RevoluteJoint rj1;; RemindTask(RevoluteJoint rj){ rj1 = rj; } @Override public void run() { Log.d("x","x" +"Reversing motor"); reverseMotor(); } public void reverseMotor(){ rj1.setMotorSpeed(-(rj1.getMotorSpeed())); rj1.setMaxMotorTorque(100); } }