Momentum
A library for solving nonlinear optimization problems related to human body kinematics
Loading...
Searching...
No Matches
acceleration_sequence_error_function.cpp
Go to the documentation of this file.
1/*
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 */
7
9
11
12namespace momentum {
13
14template <typename T>
19
20template <typename T>
22 const Character& character)
24 character.skeleton,
25 character.parameterTransform,
26 {T(1), T(-2), T(1)}) {}
27
28template class AccelerationSequenceErrorFunctionT<float>;
29template class AccelerationSequenceErrorFunctionT<double>;
30
31} // namespace momentum
AccelerationSequenceErrorFunctionT(const Skeleton &skel, const ParameterTransform &pt)
FiniteDifferenceSequenceErrorFunctionT(const Skeleton &skel, const ParameterTransform &pt, const std::vector< T > &stencilCoefficients)
SkeletonT< float > Skeleton
Definition fwd.h:263
ParameterTransformT< float > ParameterTransform
Definition fwd.h:244
A character model with skeletal structure, mesh, and optional components.
Definition character.h:32