Skip to content
Snippets Groups Projects
Commit dfc98d19 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

Merge branch 'devel' of...

Merge branch 'devel' of ssh://gitlab.iri.upc.edu:2202/mobile_robotics/wolf_projects/wolf_lib/wolf into devel
parents 232d361e 3bc9324c
No related branches found
No related tags found
1 merge request!466devel->main
Pipeline #14072 passed
......@@ -366,7 +366,10 @@ class Problem : public std::enable_shared_from_this<Problem>
// All branches -------------------------------------------
// perturb states
/**
* \brief perturb all states states with random noise
* following an uniform distribution in [ -amplitude, amplitude ]
*/
void perturb(double amplitude = 0.01);
// transform states
void transform(const VectorComposite& _transformation);
......
......@@ -97,7 +97,10 @@ class HasStateBlocks
unsigned int getSize(const StateStructure& _structure="") const;
unsigned int getLocalSize(const StateStructure& _structure="") const;
// Perturb state
/**
* \brief perturb all states states with random noise
* following an uniform distribution in [ -amplitude, amplitude ]
*/
void perturb(double amplitude = 0.01);
protected:
......
......@@ -176,7 +176,9 @@ public:
virtual Eigen::VectorXd identity() const;
Eigen::VectorXd zero() const;
/** \brief perturb state
/**
* \brief perturb all states states with random noise
* following an uniform distribution in [ -amplitude, amplitude ]
*/
void perturb(double amplitude = 0.1);
......
......@@ -314,7 +314,10 @@ class StateBlockComposite
// Plus operator
void plus(const VectorComposite& _dx);
// Perturb state with random noise
/**
* \brief perturb all states states with random noise
* following an uniform distribution in [ -amplitude, amplitude ]
*/
void perturb(double amplitude = 0.01);
// These act on all state blocks. Per-block action must be done through state_block.fix() or through extended API in derived classes of this.
......
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