#include <slam_technique.h>
Definition at line 17 of file slam_technique.h.
SLAMTechnique::SLAMTechnique |
( |
Type |
type | ) |
|
virtual void tuw::SLAMTechnique::cycle |
( |
std::vector< Pose2D > & |
yt, |
|
|
cv::Mat_< double > & |
C_Yt, |
|
|
const Command & |
ut, |
|
|
const MeasurementConstPtr & |
zt |
|
) |
| |
|
pure virtual |
starts the SLAM cycle and predicts the vehicles and landmark poses at the timestamp encoded into the measurement
- Parameters
-
yt | implicit return of the combined state yt = (xt, mt_1, ..., mt_n) with xt = (x, y, alpha), mt_i = (x_i, y_i, alpha_i) |
C_Yt | implicit return of the combined covariance matrix of combined state |
ut | current control command |
zt | measurments at time t |
Implemented in tuw::EKFSLAM.
const std::string SLAMTechnique::getTypeName |
( |
| ) |
const |
virtual void tuw::SLAMTechnique::init |
( |
| ) |
|
|
protectedpure virtual |
map of type enum to human readable names
Inits the system
Implemented in tuw::EKFSLAM.
void SLAMTechnique::reset |
( |
| ) |
|
virtual void tuw::SLAMTechnique::setConfig |
( |
const void * |
config | ) |
|
|
pure virtual |
virtual function to set the config parameters
- Parameters
-
config | point to a autogenerated ros reconfiguration config |
Implemented in tuw::EKFSLAM.
const boost::posix_time::ptime & SLAMTechnique::time_last_update |
( |
| ) |
const |
bool SLAMTechnique::updateTimestamp |
( |
const boost::posix_time::ptime & |
t | ) |
|
|
protected |
updates the timestamp_last_update_ and the duration_last_update_ on the first call it will set the timestamp_last_update_ to t and the duration_last_update_ to zero the duration_last_update_ will be used for the prediction step
- Returns
- true on succsessful update, false on first use and if t is in the past
Definition at line 31 of file slam_technique.cpp.
boost::posix_time::time_duration tuw::SLAMTechnique::duration_last_update_ |
|
protected |
bool tuw::SLAMTechnique::reset_ |
|
protected |
boost::posix_time::ptime tuw::SLAMTechnique::timestamp_last_update_ |
|
protected |
on true the system should be reseted on the next loop
Definition at line 98 of file slam_technique.h.
Type tuw::SLAMTechnique::type_ |
|
private |
The documentation for this class was generated from the following files: