Package frc.robot.sim
Class FuelSim.PhysicsConfig
java.lang.Object
frc.robot.sim.FuelSim.PhysicsConfig
- Enclosing class:
- FuelSim
Physics feature toggles. Flip these on/off to debug or simplify the sim.
-
Field Summary
FieldsModifier and TypeFieldDescriptiondoubledoublebooleandoublebooleanbooleanlongbooleanbooleanbooleanintbooleandoubleintbooleandoublebooleanintboolean -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
dragEnabled
public boolean dragEnabled -
magnusEnabled
public boolean magnusEnabled -
frictionEnabled
public boolean frictionEnabled -
spinTransferEnabled
public boolean spinTransferEnabled -
sleepingEnabled
public boolean sleepingEnabled -
ccdEnabled
public boolean ccdEnabled -
velocityDependentCOR
public boolean velocityDependentCOR -
spinDecayEnabled
public boolean spinDecayEnabled -
solverIterations
public int solverIterations -
subticks
public int subticks -
spinDecayTau
public double spinDecayTau -
sleepVelocityThreshold
public double sleepVelocityThreshold -
sleepFrameThreshold
public int sleepFrameThreshold -
ccdSpeedThreshold
public double ccdSpeedThreshold -
baumgarteBeta
public double baumgarteBeta -
baumgarteSlop
public double baumgarteSlop -
deterministic
public boolean deterministic -
deterministicSeed
public long deterministicSeed -
conservationMonitor
public boolean conservationMonitor
-
-
Constructor Details
-
PhysicsConfig
public PhysicsConfig()Default: everything on.
-
-
Method Details
-
copy
Deep copy.
-