Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
jafar::rtslam::hardware::HardwareSensorExternalLoc Class Reference

Detailed Description

Definition at line 57 of file hardwareSensorExternalLoc.hpp.

Inheritance diagram for jafar::rtslam::hardware::HardwareSensorExternalLoc:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 HardwareSensorExternalLoc (kernel::VariableCondition< int > *condition, unsigned bufferSize, ExtLocType data_type, int source, Mode mode=mOnline, std::string dump_path=".", kernel::LoggerTask *loggerTask=NULL)
virtual void start ()
 start the acquisition thread, once the object is configured
virtual void stop ()
 stop the acquisition thread
virtual bool join (int timed_ms=-1)
 wait that the acquisition thread has finished
virtual double getLastTimestamp ()
jblas::ind_array instantValues ()
 This function must return the indices of values returned by acquireReadings that represent the instant value of a physical quantity (speed, acceleration, ...) (except first column which is time) These values will typically be integrated.
jblas::ind_array incrementValues ()
 This function must return the indices of values returned by acquireReadings that represent the increment of a physical quantity since last reading (odometry, ...)
void loadACTION (std::string config_file, std::string state_file, std::string detect_file, std::string uncert_filename)
 Special way of loading information for project ACTION Instead of reading data continuously from somewhere, manually load it from some files from time to time Hence the robot must be static from the moment these data started to be gathered to the moment they are received and integrated.

Private Member Functions

void preloadTask (void)
void dropline (std::fstream &file) const
bool readline (std::fstream &file, jblas::vec &v) const
void fillReading (jblas::vec const &datavec)

Private Attributes

boost::thread * preloadTask_thread
ExtLocType data_type
int source
std::string dump_path
double last_timestamp
kernel::LoggerTaskloggerTask
std::fstream f

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:47 for Jafar by doxygen 1.7.6.1
LAAS-CNRS