initial commit before ownership transfer
This commit is contained in:
25
code/lukas/StepReader.h
Executable file
25
code/lukas/StepReader.h
Executable file
@@ -0,0 +1,25 @@
|
||||
#ifndef STEPREADER_H
|
||||
#define STEPREADER_H
|
||||
|
||||
#endif // STEPREADER_H
|
||||
|
||||
#include "../SensorReaderStep.h"
|
||||
|
||||
class StepReader {
|
||||
public:
|
||||
static StepObservation* readStep(const SensorEntryStep& se) {
|
||||
|
||||
std::string tmp = se.data;
|
||||
StepObservation* obs = new TurnObservation();
|
||||
|
||||
while(!tmp.empty()) {
|
||||
std::string angle = tmp;
|
||||
|
||||
StepObservation t(std::stof(angle));
|
||||
}
|
||||
|
||||
return obs;
|
||||
}
|
||||
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user