11 int main(
int argc,
char ** argv){
13 cerr <<
"usage "<<argv[0]<<
" <filename> <outfilename>" << endl;
14 cerr <<
"or "<<argv[0]<<
" <filename> for standard output" << endl;
19 cerr <<
"no file " << argv[1] <<
" found" << endl;
26 os=
new ofstream(argv[2]);
28 cerr <<
"no file " << argv[1] <<
" found" << endl;
46 cerr <<
"log size" << log.size() << endl;
47 for (SensorLog::iterator it=log.begin(); it!=log.end(); it++){
51 *os << rr->size()<<
" ";
52 for (RangeReading::const_iterator it=rr->begin(); it!=rr->end(); it++){
53 *os << (*it)*0.001 <<
" ";
const Sensor * getSensor() const
int main(int argc, char **argv)
virtual SensorMap computeSensorMap() const
virtual std::istream & load(std::istream &is)
const OrientedPoint & getPose() const
std::istream & load(std::istream &is)
std::map< std::string, Sensor * > SensorMap
std::string getName() const