Hormodular 1.0
Locomotion gait discovery by using digital hormones on modular robots
bool hormodular::Orientation::vector_equal ( Eigen::Vector3d  a,
Eigen::Vector3d  b 
) [static, private]

Checks if two Eigen::Vector3d are equal.

{
    static const float threshold = 0.0001;
    return abs(a[0] - b[0]) <= threshold &&
            abs(a[1] - b[1]) <= threshold &&
            abs(a[2] - b[2]) <= threshold;
}
 All Classes Functions Variables Friends