コード例 #1
0
 public ConstantAccelerator(AccelerationUnit acceleration, VelocityUnit maxVelocity)
 {
     this.acceleration = acceleration;
     this.maxVelocity  = maxVelocity;
 }
コード例 #2
0
 public BidirectionalAccelerators(AccelerationUnit acceleration, VelocityUnit maxVelocity)
 {
     positive = new ConstantAccelerator(acceleration, maxVelocity);
     negative = new ConstantAccelerator(-acceleration, -maxVelocity);
 }
コード例 #3
0
 public BidirectionalAccelerators(AccelerationUnit acceleration, VelocityUnit maxVelocity)
 {
     positive = new ConstantAccelerator(acceleration, maxVelocity);
     negative = new ConstantAccelerator(-acceleration, -maxVelocity);
 }
コード例 #4
0
 public ConstantAccelerator(AccelerationUnit acceleration, VelocityUnit maxVelocity)
 {
     this.acceleration = acceleration;
     this.maxVelocity = maxVelocity;
 }
コード例 #5
0
 public FrictionAccelerator(AccelerationUnit friction)
 {
     this.friction = friction;
 }
コード例 #6
0
 public FrictionAccelerator(AccelerationUnit friction)
 {
     this.friction = friction;
 }