Skip to content
Snippets Groups Projects
Commit 029ff75a authored by Nicolas Mansard's avatar Nicolas Mansard
Browse files

Refresh signals.

parent 82317a01
No related branches found
No related tags found
No related merge requests found
......@@ -107,11 +107,17 @@ namespace sot
void DynamicIntegrator::
setPosition( const ml::Vector& p )
{ position = p; }
{
position = p;
positionSOUT.setReady();
}
void DynamicIntegrator::
setVelocity( const ml::Vector& v )
{ velocity = v; }
{
velocity = v;
velocitySOUT.setReady();
}
void DynamicIntegrator::
setState( const ml::Vector& p,const ml::Vector& v )
......@@ -119,6 +125,8 @@ namespace sot
sotDEBUG(5) << "State: " << p << v << std::endl;
position = p;
velocity = v;
velocitySOUT.setReady();
positionSOUT.setReady();
}
/* --- COMMANDS ---------------------------------------------------------- */
......
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