Skip to content
Snippets Groups Projects
Commit ec91612d authored by Joaquim Casals Buñuel's avatar Joaquim Casals Buñuel
Browse files

Revert "Add sensor type check"

This reverts commit 0fac2298.
parent d0bd85ae
No related branches found
No related tags found
2 merge requests!39release after RAL,!38After 2nd RAL submission
...@@ -24,14 +24,13 @@ struct ParamsProcessorImu : public ParamsProcessorMotion ...@@ -24,14 +24,13 @@ struct ParamsProcessorImu : public ParamsProcessorMotion
}; };
WOLF_PTR_TYPEDEFS(ProcessorImu); WOLF_PTR_TYPEDEFS(ProcessorImu);
//class //class
class ProcessorImu : public ProcessorMotion{ class ProcessorImu : public ProcessorMotion{
public: public:
ProcessorImu(ParamsProcessorImuPtr _params_motion_Imu); ProcessorImu(ParamsProcessorImuPtr _params_motion_Imu);
virtual ~ProcessorImu(); virtual ~ProcessorImu();
// virtual void configure(SensorBasePtr _sensor) override { }; virtual void configure(SensorBasePtr _sensor) override { };
virtual void configure(SensorBasePtr _sensor) override;
WOLF_PROCESSOR_CREATE(ProcessorImu, ParamsProcessorImu); WOLF_PROCESSOR_CREATE(ProcessorImu, ParamsProcessorImu);
......
...@@ -21,12 +21,6 @@ ProcessorImu::~ProcessorImu() ...@@ -21,12 +21,6 @@ ProcessorImu::~ProcessorImu()
// //
} }
void ProcessorImu::configure(SensorBasePtr _sensor)
{
auto sensor_ = std::dynamic_pointer_cast<SensorImu>(_sensor);
assert(sensor_ != nullptr && "Sensor is not of type SensorImu");
}
bool ProcessorImu::voteForKeyFrame() const bool ProcessorImu::voteForKeyFrame() const
{ {
// time span // time span
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment