Detailed Description
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::LoggerTask * | loggerTask |
std::fstream | f |
The documentation for this class was generated from the following file: