From debd856566eb374b8fcf15c19a2b083f6e6141bd Mon Sep 17 00:00:00 2001
From: jcasals <jcasals@iri.upc.edu>
Date: Fri, 3 Apr 2020 16:02:16 +0200
Subject: [PATCH] Rename base types

---
 include/core/common/node_base.h    | 4 ++--
 src/frame/frame_base.cpp           | 6 +++---
 src/hardware/hardware_base.cpp     | 2 +-
 src/trajectory/trajectory_base.cpp | 2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/include/core/common/node_base.h b/include/core/common/node_base.h
index 4488ab30e..2a6120408 100644
--- a/include/core/common/node_base.h
+++ b/include/core/common/node_base.h
@@ -27,8 +27,8 @@ namespace wolf {
  *    - "LANDMARK"
  *
  *  - A unique type, which is a subcategory of the above. The list here cannot be exhaustive, but a few examples follow:
- *    - "SesorCamera"
- *    - "SesorLaser2d"
+ *    - "SensorCamera"
+ *    - "SensorLaser2d"
  *    - "LandmarkPoint3d"
  *    - "ProcessorLaser2d"
  *
diff --git a/src/frame/frame_base.cpp b/src/frame/frame_base.cpp
index c0f4d310e..217bfb8d4 100644
--- a/src/frame/frame_base.cpp
+++ b/src/frame/frame_base.cpp
@@ -12,7 +12,7 @@ namespace wolf {
 unsigned int FrameBase::frame_id_count_ = 0;
 
 FrameBase::FrameBase(const TimeStamp& _ts, StateBlockPtr _p_ptr, StateBlockPtr _o_ptr, StateBlockPtr _v_ptr) :
-            NodeBase("FRAME", "Base"),
+            NodeBase("FRAME", "FrameBase"),
             HasStateBlocks(""),
             trajectory_ptr_(),
             frame_id_(++frame_id_count_),
@@ -34,7 +34,7 @@ FrameBase::FrameBase(const TimeStamp& _ts, StateBlockPtr _p_ptr, StateBlockPtr _
 }
 
 FrameBase::FrameBase(const FrameType & _tp, const TimeStamp& _ts, StateBlockPtr _p_ptr, StateBlockPtr _o_ptr, StateBlockPtr _v_ptr) :
-            NodeBase("FRAME", "Base"),
+            NodeBase("FRAME", "FrameBase"),
             HasStateBlocks(""),
             trajectory_ptr_(),
             frame_id_(++frame_id_count_),
@@ -56,7 +56,7 @@ FrameBase::FrameBase(const FrameType & _tp, const TimeStamp& _ts, StateBlockPtr
 }
 
 FrameBase::FrameBase(const std::string _frame_structure, const SizeEigen _dim, const FrameType & _tp, const TimeStamp& _ts, const Eigen::VectorXd& _x) :
-           NodeBase("FRAME", "Base"),
+           NodeBase("FRAME", "FrameBase"),
            HasStateBlocks(_frame_structure),
            trajectory_ptr_(),
            frame_id_(++frame_id_count_),
diff --git a/src/hardware/hardware_base.cpp b/src/hardware/hardware_base.cpp
index adda79847..8995fc783 100644
--- a/src/hardware/hardware_base.cpp
+++ b/src/hardware/hardware_base.cpp
@@ -4,7 +4,7 @@
 namespace wolf {
 
 HardwareBase::HardwareBase() :
-        NodeBase("HARDWARE", "Base")
+        NodeBase("HARDWARE", "HardwareBase")
 {
 //    std::cout << "constructed H" << std::endl;
 }
diff --git a/src/trajectory/trajectory_base.cpp b/src/trajectory/trajectory_base.cpp
index 428faf954..7620c9fa2 100644
--- a/src/trajectory/trajectory_base.cpp
+++ b/src/trajectory/trajectory_base.cpp
@@ -4,7 +4,7 @@
 namespace wolf {
 
 TrajectoryBase::TrajectoryBase(const std::string& _frame_structure) :
-    NodeBase("TRAJECTORY", "Base"),
+    NodeBase("TRAJECTORY", "TrajectoryBase"),
     frame_structure_(_frame_structure),
     last_key_frame_ptr_(nullptr),
     last_key_or_aux_frame_ptr_(nullptr)
-- 
GitLab