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

Use pi2pi in StateAngle constructor

parent a1f5272f
No related branches found
No related tags found
1 merge request!313WIP: Resolve "Processor constructors and creators requiring a sensor pointer?"
Pipeline #4186 passed
......@@ -25,7 +25,7 @@ class StateAngle : public StateBlock
inline StateAngle::StateAngle(Scalar _angle, bool _fixed) :
StateBlock(1, _fixed, std::make_shared<LocalParametrizationAngle>())
{
state_(0) = _angle;
state_(0) = pi2pi(_angle);
}
inline StateAngle::~StateAngle()
......
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