Institut de Robòtica i Informàtica Industrial

get

PURPOSE ^

Get function for EKF filters.

SYNOPSIS ^

function out=get(EKF,field)

DESCRIPTION ^

 Get function for EKF filters.

 Retrives information from a Extended Kalman Filter
 The possible fields to retrive are:
      - Sigma: The covariance matrix.
      - Lambda: The inverse of Sigma. Expensive to compute!
      - mu: The mean.

 Besides this, all the fields of the generic filter.

 See also Filter/get.

CROSS-REFERENCE INFORMATION ^

This function calls:
  • get Get function for robots.
  • get Get function for trajectories.
  • size Number of poses in a trajectory.
  • get Get function for EKF filters.
  • get Generic get function for filters.
  • size Size of the state estimated in the filter
  • get Get function for TRO filters.
  • get Get function for BTrees.
  • get Get function for PoseData objects.
  • get Get function for Gaussians.
  • size Size (rows/columns) of an interval matrix.
  • get Get function for poses.
  • size Number of parameters of the pose.
  • get Generic get for relative positioning sensors
  • get Generic get for sensors
  • size Number of readings stored in the Sensor.
This function is called by:

SOURCE CODE ^

0001 function out=get(EKF,field)
0002 % Get function for EKF filters.
0003 %
0004 % Retrives information from a Extended Kalman Filter
0005 % The possible fields to retrive are:
0006 %      - Sigma: The covariance matrix.
0007 %      - Lambda: The inverse of Sigma. Expensive to compute!
0008 %      - mu: The mean.
0009 %
0010 % Besides this, all the fields of the generic filter.
0011 %
0012 % See also Filter/get.
0013 
0014   switch field
0015     case  'Sigma'
0016       out=EKF.Sigma;
0017     case  'Lambda'
0018       ne=size(EKF);
0019       out=EKF.Sigma\eye(ne);
0020     case 'mu'
0021       out=EKF.mu;
0022     otherwise
0023       out=get(EKF.P_Filter,field);
0024   end
0025


Institut de Robòtica i Informàtica Industrial

Generated on Fri 24-Jul-2009 12:32:50 by m2html © 2003