|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javaslam.slam.ExampleModel
A SLAM model for a robot that can rotate about its vertical axis and translate along its current heading and which receives differential odometry measurements and range-bearing landmark measurements.
Nested Class Summary | |
class |
ExampleModel.InverseMeasurementModel
The inverse landmark measurement model of the robot. |
class |
ExampleModel.LandmarkMeasurementModel
The landmark measurement model of the robot. |
class |
ExampleModel.MotionModel
The motion model of the robot. |
class |
ExampleModel.OdometryModel
The odometry model of the robot. |
Field Summary | |
protected static int |
LANDMARK_DIM
The dimension of each landmark's state. |
ExampleModel.LandmarkMeasurementModel |
landmarkMeasurementModel
The landmark measurement model. |
protected Gaussian |
landmarkNoiseModel
A distribution over the noise variables of the landmark measurement model. |
protected Gaussian |
motionNoiseModel
A distribution over the noise variables of the motion model. |
protected ExampleModel.OdometryModel |
odometryModel
The odometry model. |
protected Gaussian |
odometryNoiseModel
A distribution over the noise variables of the odometry model. |
protected static int |
ROBOT_DIM
The dimension of the robot state. |
Constructor Summary | |
ExampleModel()
Constructor. |
Method Summary | |
NoisyVectorFunction |
getInverseMeasurementModel(double[] z)
Returns the landmark observation model. |
int |
getLandmarkDim()
Returns the dimension of each landmark's state. |
protected static Gaussian |
getLandmarkNoiseModel()
Creates a landmark measurement noise model using parameters specified by system properties or default values (when the properties are not defined). |
protected static Gaussian |
getLandmarkNoiseModel(double rangeRelNoise,
double rangeAbsNoise,
double bearingNoise)
Creates a landmark measurement noise model. |
NoisyVectorFunction |
getMeasurementModel()
Returns the landmark observation model. |
NoisyVectorFunction |
getMotionModel(double[] c)
Returns the motion model. |
protected static Gaussian |
getMotionNoiseModel()
Creates a motion noise model using parameters specified by system properties or default values (when the properties are not defined). |
protected static Gaussian |
getMotionNoiseModel(double tVelRelNoise,
double tVelAbsNoise,
double rVelRelNoise,
double rVelAbsNoise)
Creates a motion noise model. |
NoisyVectorFunction |
getOdometryModel()
Returns the odometry model. |
protected static Gaussian |
getOdometryNoiseModel()
Creates an odometry noise model using parameters specified by system properties or default values (when the properties are not defined). |
protected static Gaussian |
getOdometryNoiseModel(double tVelRelNoise,
double tVelAbsNoise,
double rVelRelNoise,
double rVelAbsNoise)
Creates an odometry noise model. |
int |
getRobotDim()
Returns the dimension of the robot's state. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final int ROBOT_DIM
protected static final int LANDMARK_DIM
protected Gaussian motionNoiseModel
protected Gaussian odometryNoiseModel
protected ExampleModel.OdometryModel odometryModel
protected Gaussian landmarkNoiseModel
public ExampleModel.LandmarkMeasurementModel landmarkMeasurementModel
Constructor Detail |
public ExampleModel()
Method Detail |
public int getRobotDim()
getRobotDim
in interface Model
public int getLandmarkDim()
getLandmarkDim
in interface Model
protected static Gaussian getMotionNoiseModel(double tVelRelNoise, double tVelAbsNoise, double rVelRelNoise, double rVelAbsNoise)
tVelRelNoise
- the variance of the relative noise in the
translational velocity control signaltVelAbsNoise
- the variance of the absolute noise in the
translational velocity control signal
specified in (meters/second)2rVelRelNoise
- the variance of the relative noise in the
rotational velocity control signalrVelAbsNoise
- the variance of the absolute noise in the
rotational velocity control signal
specified in (radians/second)2
protected static Gaussian getMotionNoiseModel()
public NoisyVectorFunction getMotionModel(double[] c)
getMotionModel
in interface Model
protected static Gaussian getOdometryNoiseModel(double tVelRelNoise, double tVelAbsNoise, double rVelRelNoise, double rVelAbsNoise)
tVelRelNoise
- the variance of the relative noise in the
translational velocity odometry measurementtVelAbsNoise
- the variance of the absolute noise in the
translational velocity odometry measurement
specified in (meters/second)2rVelRelNoise
- the variance of the relative noise in the
rotational velocity odometry measurementrVelAbsNoise
- the variance of the absolute noise in the
rotational velocity odometry measurement
specified in (radians/second)2
protected static Gaussian getOdometryNoiseModel()
public NoisyVectorFunction getOdometryModel()
getOdometryModel
in interface Model
protected static Gaussian getLandmarkNoiseModel(double rangeRelNoise, double rangeAbsNoise, double bearingNoise)
rangeAbsNoise
- the variance of the absolute noise in the
range measurement specified in
(meters/second)2rangeRelNoise
- the variance of the relative noise in the
range measurementsbearingNoise
- the variance of the absolute noise in the
bearing measurements specified in
(radians/second)2
protected static Gaussian getLandmarkNoiseModel()
public NoisyVectorFunction getMeasurementModel()
getMeasurementModel
in interface Model
public NoisyVectorFunction getInverseMeasurementModel(double[] z)
getInverseMeasurementModel
in interface Model
z
- the landmark measurement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |