Skip to content
Snippets Groups Projects
Commit 152874bf authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Use derived state blocks

parent 2f5160ab
No related branches found
No related tags found
2 merge requests!42devel->main,!40Resolve "follow core 465 Migrate from StateBlock to StateDerived"
......@@ -21,7 +21,7 @@
//--------LICENSE_END--------
#include "laser/sensor/sensor_laser_2d.h"
#include <core/state_block/state_block.h>
#include <core/state_block/state_block_derived.h>
#include <core/state_block/state_angle.h>
namespace wolf {
......@@ -62,7 +62,7 @@ SensorLaser2d::SensorLaser2d(StateBlockPtr _p_ptr, StateBlockPtr _o_ptr, const P
SensorLaser2d::SensorLaser2d(const Eigen::VectorXd& _extrinsics, const ParamsSensorLaser2dPtr _params) :
SensorBase("SensorLaser2d",
std::make_shared<StateBlock>(_extrinsics.head(2), true),
std::make_shared<StatePoint2d>(_extrinsics.head(2), true),
std::make_shared<StateAngle>(_extrinsics(2), true),
nullptr,
8),
......
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