Skip to content
Snippets Groups Projects

Remove frame enum

Merged Joan Vallvé Navarro requested to merge remove_frame_enum into master
1 file
+ 13
7
Compare changes
  • Side-by-side
  • Inline
+ 13
7
@@ -156,8 +156,10 @@ class Problem : public std::enable_shared_from_this<Problem>
* - Add it to Trajectory
* - 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,
const TimeStamp& _time_stamp);
FrameBasePtr emplaceFrame(const std::string& _frame_structure,
FrameType _frame_key_type,
const Eigen::VectorXs& _frame_state,
const TimeStamp& _time_stamp);
/** \brief Emplace frame from string frame_structure without state
* \param _frame_structure String indicating the frame structure.
@@ -169,11 +171,13 @@ class Problem : public std::enable_shared_from_this<Problem>
* - Add it to Trajectory
* - 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
* \param _frame_structure String indicating the frame structure.
* \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
*
* 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>
* - Add it to Trajectory
* - 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
* \param _frame_structure String indicating the frame structure.
* \param _frame_key_type Either KEY_FRAME or NON_KEY_FRAME
* \param _time_stamp Time stamp of the frame
*
@@ -193,7 +198,8 @@ class Problem : public std::enable_shared_from_this<Problem>
* - Add it to Trajectory
* - 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
Eigen::VectorXs getCurrentState();
Loading