class Simulator
- Simulator
- Reference
- Object
Defined in:
simulator.crConstructors
Instance Method Summary
- #angular_momentum
- #angular_vel
- #count : Int32
- #frequency : Float64
- #frequency=(frequency : Float64)
- #grav : Float64
- #grav=(grav : Float64)
- #log : StaticArray(State, 2)
- #mass : Float64
- #rest_length : Float64
- #rest_length=(rest_length : Float64)
- #spring_constant : Float64
- #start_state(angle = 0_f64)
- #state
- #step
- #time : Float64
- #timestep : Float64
Constructor Detail
def self.new(count, mass, natural_length, spring_constant, timestep : Float64 = 0.001)
#