Momentum
A library for solving nonlinear optimization problems related to human body kinematics
Loading...
Searching...
No Matches
urdf_headers.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
10// Include urdfdom headers only through this file: urdfdom uses near/far as
11// member names, which collide with Windows SDK macros, and the push/undef/pop
12// below keeps that workaround scoped to these includes.
13#ifdef _WIN32
14#pragma push_macro("near")
15#pragma push_macro("far")
16#undef near
17#undef far
18#endif
19
20#include <urdf_model/link.h>
21#include <urdf_model/model.h>
22#include <urdf_model/pose.h>
23#include <urdf_parser/urdf_parser.h>
24
25#ifdef _WIN32
26#pragma pop_macro("far")
27#pragma pop_macro("near")
28#endif