Source code for actuator.spring

[docs]class Spring(): def __init__(body1,body2,rest_length,spring,dampening): """ applies a spring link to a pair of bodies body1: The body to connect the spring to (1) body2: The body to connect the spring to (2) rest_length: The resting length of the spring. spring: The spring constant. dampening: The damping constant. """ pass
[docs] def run(): """ensures the actuator will be running for this step.""" pass