|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javaslam.slam.ExampleModel.MotionModel
The motion model of the robot. The control specifies a desired translational and rotational velocity.
Field Summary | |
protected static int |
HEADING
|
protected static int |
INPUT_DIM
The input dimension of the motion model. |
protected static int |
OUTPUT_DIM
The output dimension of the motion model. |
protected static int |
RVEL
|
protected static int |
RVEL_ABS_NOISE
|
protected static int |
RVEL_REL_NOISE
|
protected double |
rVelCtrl
The current rotational velocity control (in radians per second). |
protected static int |
TVEL
|
protected static int |
TVEL_ABS_NOISE
|
protected static int |
TVEL_REL_NOISE
|
protected double |
tVelCtrl
The current translational velocity control (in meters per second). |
protected static int |
XPOS
|
protected static int |
YPOS
|
Constructor Summary | |
ExampleModel.MotionModel(double[] c)
Constructor. |
Method Summary | |
double[] |
evaluate(double[] input)
Evaluates this function at the supplied input. |
int |
getInputDim()
Returns the input dimension of this function. |
Gaussian |
getNoiseModel()
Returns the distribution over the noise variables for this motion model. |
int |
getOutputDim()
Returns the output dimension of this function. |
double[][] |
jacobian(double[] input)
Evaluates the Jacobian of this function at the supplied input. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected double tVelCtrl
protected double rVelCtrl
protected static final int INPUT_DIM
protected static final int OUTPUT_DIM
protected static final int XPOS
protected static final int YPOS
protected static final int HEADING
protected static final int TVEL
protected static final int RVEL
protected static final int TVEL_REL_NOISE
protected static final int TVEL_ABS_NOISE
protected static final int RVEL_REL_NOISE
protected static final int RVEL_ABS_NOISE
Constructor Detail |
public ExampleModel.MotionModel(double[] c)
c
- the control signal; c[0]
is the
translational velocity (in meters/second) and
c[1]
is the rotational velocity (in
radians/second)Method Detail |
public int getInputDim()
getInputDim
in interface VectorFunction
public int getOutputDim()
getOutputDim
in interface VectorFunction
public double[] evaluate(double[] input)
evaluate
in interface VectorFunction
input
- a vector with getInputDim()
elements
getOutputDim()
elementspublic double[][] jacobian(double[] input)
jacobian
in interface ExtendedVectorFunction
input
- a vector with getInputDim()
elements
getOutputDim()
rows and
getInputDim()
columns; if y = f(x)
then element (i, j) is the partial derivative
of yi with respect to
xj at input
public Gaussian getNoiseModel()
getNoiseModel
in interface NoisyVectorFunction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |