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

Rename base types

parent 46f78b8a
No related branches found
No related tags found
1 merge request!352WIP: Resolve "Some node_type_ renamings"
Pipeline #5098 passed
...@@ -27,8 +27,8 @@ namespace wolf { ...@@ -27,8 +27,8 @@ namespace wolf {
* - "LANDMARK" * - "LANDMARK"
* *
* - A unique type, which is a subcategory of the above. The list here cannot be exhaustive, but a few examples follow: * - A unique type, which is a subcategory of the above. The list here cannot be exhaustive, but a few examples follow:
* - "SesorCamera" * - "SensorCamera"
* - "SesorLaser2d" * - "SensorLaser2d"
* - "LandmarkPoint3d" * - "LandmarkPoint3d"
* - "ProcessorLaser2d" * - "ProcessorLaser2d"
* *
......
...@@ -12,7 +12,7 @@ namespace wolf { ...@@ -12,7 +12,7 @@ namespace wolf {
unsigned int FrameBase::frame_id_count_ = 0; unsigned int FrameBase::frame_id_count_ = 0;
FrameBase::FrameBase(const TimeStamp& _ts, StateBlockPtr _p_ptr, StateBlockPtr _o_ptr, StateBlockPtr _v_ptr) : FrameBase::FrameBase(const TimeStamp& _ts, StateBlockPtr _p_ptr, StateBlockPtr _o_ptr, StateBlockPtr _v_ptr) :
NodeBase("FRAME", "Base"), NodeBase("FRAME", "FrameBase"),
HasStateBlocks(""), HasStateBlocks(""),
trajectory_ptr_(), trajectory_ptr_(),
frame_id_(++frame_id_count_), frame_id_(++frame_id_count_),
...@@ -34,7 +34,7 @@ FrameBase::FrameBase(const TimeStamp& _ts, StateBlockPtr _p_ptr, StateBlockPtr _ ...@@ -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) : FrameBase::FrameBase(const FrameType & _tp, const TimeStamp& _ts, StateBlockPtr _p_ptr, StateBlockPtr _o_ptr, StateBlockPtr _v_ptr) :
NodeBase("FRAME", "Base"), NodeBase("FRAME", "FrameBase"),
HasStateBlocks(""), HasStateBlocks(""),
trajectory_ptr_(), trajectory_ptr_(),
frame_id_(++frame_id_count_), frame_id_(++frame_id_count_),
...@@ -56,7 +56,7 @@ FrameBase::FrameBase(const FrameType & _tp, const TimeStamp& _ts, StateBlockPtr ...@@ -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) : 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), HasStateBlocks(_frame_structure),
trajectory_ptr_(), trajectory_ptr_(),
frame_id_(++frame_id_count_), frame_id_(++frame_id_count_),
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
namespace wolf { namespace wolf {
HardwareBase::HardwareBase() : HardwareBase::HardwareBase() :
NodeBase("HARDWARE", "Base") NodeBase("HARDWARE", "HardwareBase")
{ {
// std::cout << "constructed H" << std::endl; // std::cout << "constructed H" << std::endl;
} }
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
namespace wolf { namespace wolf {
TrajectoryBase::TrajectoryBase(const std::string& _frame_structure) : TrajectoryBase::TrajectoryBase(const std::string& _frame_structure) :
NodeBase("TRAJECTORY", "Base"), NodeBase("TRAJECTORY", "TrajectoryBase"),
frame_structure_(_frame_structure), frame_structure_(_frame_structure),
last_key_frame_ptr_(nullptr), last_key_frame_ptr_(nullptr),
last_key_or_aux_frame_ptr_(nullptr) last_key_or_aux_frame_ptr_(nullptr)
......
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