16 const size_t constrIndex,
20 std::array<Eigen::Matrix<T, 1, 3>, 2>& dfdv)
const {
28 f[0] = v[1].dot(dist);
29 dfdv[0] = v[1].transpose();
30 dfdv[1] = dist.transpose();
std::vector< NormalDataT< T > > constraints_
The NormalErrorFunction computes a "point-to-plane" (signed) distance from a target point to the plan...
void evalFunction(size_t constrIndex, const JointStateT< T > &state, Vector< T, 1 > &f, std::array< Vector3< T >, 2 > &v, std::array< Eigen::Matrix< T, 1, 3 >, 2 > &dfdv) const final
Eigen::Matrix< T, Dim, 1, Options > Vector
Column vector alias (an Nx1 Eigen matrix).
Profiling macros that dispatch to one of three backends, selected at compile time:
#define MT_PROFILE_FUNCTION()
Represents the state of a joint with local and global transformations.
TransformT< T > transform
Global transformation in world space.
const Quaternion< T > & rotation() const
Access the joint's global rotation quaternion.
Normal constraint data: data needed to compute the point-to-plane distance for "data-to-template" in ...
Vector3< T > localNormal
The template normal defined in the local space.
Vector3< T > localPoint
The template point defined in the local space.
Vector3< T > globalPoint
The data point in world space.