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

Some formatting and help fixes

parent 915b2698
No related branches found
No related tags found
1 merge request!110Remove frame enum
...@@ -156,8 +156,10 @@ class Problem : public std::enable_shared_from_this<Problem> ...@@ -156,8 +156,10 @@ class Problem : public std::enable_shared_from_this<Problem>
* - Add it to Trajectory * - Add it to Trajectory
* - If it is key-frame, update state-block lists in Problem * - If it is key-frame, update state-block lists in Problem
*/ */
FrameBasePtr emplaceFrame(const std::string& _frame_structure, FrameType _frame_key_type, const Eigen::VectorXs& _frame_state, FrameBasePtr emplaceFrame(const std::string& _frame_structure,
const TimeStamp& _time_stamp); FrameType _frame_key_type,
const Eigen::VectorXs& _frame_state,
const TimeStamp& _time_stamp);
/** \brief Emplace frame from string frame_structure without state /** \brief Emplace frame from string frame_structure without state
* \param _frame_structure String indicating the frame structure. * \param _frame_structure String indicating the frame structure.
...@@ -169,11 +171,13 @@ class Problem : public std::enable_shared_from_this<Problem> ...@@ -169,11 +171,13 @@ class Problem : public std::enable_shared_from_this<Problem>
* - Add it to Trajectory * - Add it to Trajectory
* - If it is key-frame, update state-block lists in Problem * - If it is key-frame, update state-block lists in Problem
*/ */
FrameBasePtr emplaceFrame(const std::string& _frame_structure, FrameType _frame_key_type, const TimeStamp& _time_stamp); FrameBasePtr emplaceFrame(const std::string& _frame_structure,
FrameType _frame_key_type,
const TimeStamp& _time_stamp);
/** \brief Emplace frame from string frame_structure without structure /** \brief Emplace frame from string frame_structure without structure
* \param _frame_structure String indicating the frame structure.
* \param _frame_key_type Either KEY_FRAME or NON_KEY_FRAME * \param _frame_key_type Either KEY_FRAME or NON_KEY_FRAME
* \param _frame_state State vector; must match the size and format of the chosen frame structure
* \param _time_stamp Time stamp of the frame * \param _time_stamp Time stamp of the frame
* *
* This acts as a Frame factory, but also takes care to update related lists in WolfProblem: * This acts as a Frame factory, but also takes care to update related lists in WolfProblem:
...@@ -181,10 +185,11 @@ class Problem : public std::enable_shared_from_this<Problem> ...@@ -181,10 +185,11 @@ class Problem : public std::enable_shared_from_this<Problem>
* - Add it to Trajectory * - Add it to Trajectory
* - If it is key-frame, update state-block lists in Problem * - If it is key-frame, update state-block lists in Problem
*/ */
FrameBasePtr emplaceFrame(FrameType _frame_key_type, const Eigen::VectorXs& _frame_state, const TimeStamp& _time_stamp); FrameBasePtr emplaceFrame(FrameType _frame_key_type,
const Eigen::VectorXs& _frame_state,
const TimeStamp& _time_stamp);
/** \brief Emplace frame from string frame_structure without structure nor state /** \brief Emplace frame from string frame_structure without structure nor state
* \param _frame_structure String indicating the frame structure.
* \param _frame_key_type Either KEY_FRAME or NON_KEY_FRAME * \param _frame_key_type Either KEY_FRAME or NON_KEY_FRAME
* \param _time_stamp Time stamp of the frame * \param _time_stamp Time stamp of the frame
* *
...@@ -193,7 +198,8 @@ class Problem : public std::enable_shared_from_this<Problem> ...@@ -193,7 +198,8 @@ class Problem : public std::enable_shared_from_this<Problem>
* - Add it to Trajectory * - Add it to Trajectory
* - If it is key-frame, update state-block lists in Problem * - If it is key-frame, update state-block lists in Problem
*/ */
FrameBasePtr emplaceFrame(FrameType _frame_key_type, const TimeStamp& _time_stamp); FrameBasePtr emplaceFrame(FrameType _frame_key_type,
const TimeStamp& _time_stamp);
// State getters // State getters
Eigen::VectorXs getCurrentState(); Eigen::VectorXs getCurrentState();
......
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