Package | Description |
---|---|
magma.agent.behavior.motor | |
magma.agent.behavior.supportPoint | |
magma.util.function |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,IFunction> |
FunctionBehaviorParameter.getJoints() |
Modifier and Type | Method and Description |
---|---|
static void |
FunctionBehaviorParameter.writeBehaviorFile(java.io.File file,
int version,
java.lang.String behaviorName,
float duration,
java.util.Map<java.lang.String,IFunction> jointFunctions)
Write a function-behavior-file with the given information.
|
Constructor and Description |
---|
FunctionBehaviorParameter(Parameter[] params,
java.lang.String name,
int version,
float duration,
java.util.Map<java.lang.String,IFunction> jointFunctions) |
Modifier and Type | Method and Description |
---|---|
IFunction |
MotorManager.getMotorFunction() |
Modifier and Type | Method and Description |
---|---|
void |
MotorManager.setMotorFunction(IFunction motorFunction) |
Constructor and Description |
---|
MotorManager(IAgentModel agentModel,
java.lang.String jointName,
IFunction motorFunction)
Constructor
|
Modifier and Type | Class and Description |
---|---|
class |
PiecewiseBezierFunction
Represents a piecewise 4-point-Bezier function with any number of pieces
|
class |
PiecewiseLinearFunction
Represents a piecewise linear function with any number of pieces
|
class |
PiecewiseSinusSquare |
class |
SinFunction
Represents a sin function with amplitude, period, phaseShift and offset by
using three SupportPoints:
1: (phaseShift, offset) 2: (phaseShift + phase/4, offset+amplitude) 3: (phaseShift + phase/2, offset) |
class |
SplineFunction
Represents a spline function.
|
class |
SupportPointFunction
Represents a function defined by a list of SupportPoints.
|
Modifier and Type | Method and Description |
---|---|
IFunction |
SplineFunction.copy() |
IFunction |
PiecewiseSinusSquare.copy() |
IFunction |
PiecewiseBezierFunction.copy() |
IFunction |
IFunction.copy() |
IFunction |
SinFunction.copy() |
IFunction |
PiecewiseLinearFunction.copy() |
IFunction |
FunctionLoader.createFunction(java.lang.String name,
java.util.ArrayList<SupportPoint> supportPoints,
float stiffness) |
IFunction |
FunctionLoader.fromCSVString(java.lang.String csvLine,
int version) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
FunctionLoader.toCSVString(IFunction function,
int version) |