Momentum
A library for solving nonlinear optimization problems related to human body kinematics
Loading...
Searching...
No Matches
urdf_io.h
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
8#pragma once
9
12#include <momentum/math/types.h>
13
14#include <span>
15
16namespace momentum {
17
75
87Character loadUrdfCharacter(const filesystem::path& filepath);
88
94[[nodiscard]] Character loadUrdfCharacter(std::span<const std::byte> bytes);
95
101[[nodiscard]] Character loadUrdfCharacter(
102 std::span<const std::byte> bytes,
103 const filesystem::path& meshBasePath);
104
105} // namespace momentum
Character loadUrdfCharacter(const filesystem::path &filepath)
Loads a character from a URDF file.
Definition urdf_io.cpp:948
A character model with skeletal structure, mesh, and optional components.
Definition character.h:32