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

Little formatting

parent 90d5d2ee
No related branches found
No related tags found
1 merge request!243Constraint prior sensor params
Pipeline #2495 passed
This commit is part of merge request !243. Comments created here will be created in the context of that merge request.
...@@ -35,8 +35,15 @@ class ConstraintBlockAbsolute : public ConstraintAnalytic ...@@ -35,8 +35,15 @@ class ConstraintBlockAbsolute : public ConstraintAnalytic
* \param _start_idx (default=-1) the size of the state segment that is constrained, -1 = all the * \param _start_idx (default=-1) the size of the state segment that is constrained, -1 = all the
* *
*/ */
ConstraintBlockAbsolute(StateBlockPtr _sb_ptr, unsigned int _start_idx = 0, int _size = -1, bool _apply_loss_function = false, ConstraintStatus _status = CTR_ACTIVE) : ConstraintBlockAbsolute(StateBlockPtr _sb_ptr,
ConstraintAnalytic("BLOCK ABS", _apply_loss_function, _status, _sb_ptr), unsigned int _start_idx = 0,
int _size = -1,
bool _apply_loss_function = false,
ConstraintStatus _status = CTR_ACTIVE) :
ConstraintAnalytic("BLOCK ABS",
_apply_loss_function,
_status,
_sb_ptr),
sb_size_(_sb_ptr->getSize()), sb_size_(_sb_ptr->getSize()),
sb_constrained_start_(_start_idx), sb_constrained_start_(_start_idx),
sb_constrained_size_(_size == -1 ? sb_size_ : _size) sb_constrained_size_(_size == -1 ? sb_size_ : _size)
......
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