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

Typedef derived shared_ptr

parent 4414f325
No related branches found
No related tags found
1 merge request!104Ctest configuration
...@@ -11,6 +11,8 @@ namespace wolf { ...@@ -11,6 +11,8 @@ namespace wolf {
class ConstraintFix: public ConstraintSparse<3,2,1> class ConstraintFix: public ConstraintSparse<3,2,1>
{ {
public:
typedef std::shared_ptr<ConstraintFix> Ptr;
public: public:
// static const unsigned int N_BLOCKS = 2; // static const unsigned int N_BLOCKS = 2;
......
...@@ -15,6 +15,8 @@ struct IntrinsicsOdom2D : public IntrinsicsBase ...@@ -15,6 +15,8 @@ struct IntrinsicsOdom2D : public IntrinsicsBase
class SensorOdom2D : public SensorBase class SensorOdom2D : public SensorBase
{ {
public:
typedef std::shared_ptr<SensorOdom2D> Ptr;
protected: protected:
Scalar k_disp_to_disp_; ///< ratio of displacement variance to displacement, for odometry noise calculation Scalar k_disp_to_disp_; ///< ratio of displacement variance to displacement, for odometry noise calculation
......
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