[Rock-dev] [rock] #183: Incorrect invalidation of RigidBodyState
rock
noreply at opendfki.de
Tue Jun 26 11:36:46 CEST 2012
#183: Incorrect invalidation of RigidBodyState
--------------------+-----------------------------------
Reporter: mago02 | Owner: rock-dev-mailing-list
Type: defect | Status: new
Priority: major | Milestone:
Component: base | Keywords:
--------------------+-----------------------------------
I just found that the invalidate() function of the RigidBodyState not do
what the should do:
void invalidate() {
invalidateOrientation();
invalidatePosition();
invalidateVelocity();
invalidateAngularVelocity();
position.setZero();
velocity.setZero();
orientation = Eigen::Quaterniond::Identity();
angular_velocity.setZero();
}
First it correctly invalidates the members with NAN, after that it set's
the values to zero. I'm not shure if this is a misstake or workaround. I
will push an fixed version tomorrow (without the setZero's).
Matthias
--
Ticket URL: <http://rock.opendfki.de/ticket/183>
rock <http://rock.opendfki.de>
rock: the robot construction kit
More information about the Rock-dev
mailing list