SuperDex Physics C++ API
Loading...
Searching...
No Matches
eval_params_inl.h
Go to the documentation of this file.
1/*
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#pragma once
18
19// PLEASE DO NOT ADD OTHER INCLUDES HERE. This header is included in the mochi_physics public API.
20#include "eval_params.h" // Reverse include for intellisense
21
22namespace superdex {
23
25 return {value, value, value};
26}
27
31
32} // namespace superdex
[Experimental] Controls whether force-saturation terms use a fitted quadratic Hessian independently f...
Definition eval_params.h:40
bool jointFriction
Use fitted Hessian for joint-friction saturation.
Definition eval_params.h:44
constexpr bool AllTrue() const
Returns true iff all three flags are true.
bool contactFriction
Use fitted Hessian for contact-friction saturation.
Definition eval_params.h:42
static constexpr SaturationHessianParams All(bool value)
Construct with all three flags set to value.
bool constraintSaturation
Use fitted Hessian for constraint saturation.
Definition eval_params.h:46