|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjass.engine.Out
jass.generators.Impulse
jass.generators.StickSlipSimple
public class StickSlipSimple
A force model based on stick slip model. Just load a period of sawtooth.
| Field Summary |
|---|
| Fields inherited from class jass.generators.Impulse |
|---|
t_pulse, volume |
| Fields inherited from class jass.engine.Out |
|---|
buf, bufferSize, bufOld, lock |
| Constructor Summary | |
|---|---|
StickSlipSimple(float srate,
int bufferSize)
Construct force. |
|
| Method Summary | |
|---|---|
void |
setContactProperties(float vel,
float force)
Set velocity and force |
void |
setModelParameters(float k_over_mu,
float fmin,
float vcrit)
Set model pars |
| Methods inherited from class jass.generators.Impulse |
|---|
computeBuffer, reset, setPeriod, setVolume |
| Methods inherited from class jass.engine.Out |
|---|
clearBuffer, copyToOld, getBuffer, getBuffer, getBufferSize, getTime, peekAtBuffer, resetTime, setBufferSize, setTime, setTimeAndNotify |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StickSlipSimple(float srate,
int bufferSize)
srate - sampling rate in Hertz.bufferSize - bufferSize of this Out.| Method Detail |
|---|
public void setModelParameters(float k_over_mu,
float fmin,
float vcrit)
k_over_mu - k/mufmin - min. norm. force below which no outputvcrit - max speed above which no output
public void setContactProperties(float vel,
float force)
v - velocity in m/s
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||