10 #ifndef SPATIAL_DYN_PARSERS_JSON_H_
11 #define SPATIAL_DYN_PARSERS_JSON_H_
13 #include <ctrl_utils/json.h>
15 #include "spatial_dyn/structs/articulated_body.h"
19 void to_json(nlohmann::json& j,
const ArticulatedBody& ab);
20 void from_json(
const nlohmann::json& j, ArticulatedBody& ab);
22 void to_json(nlohmann::json& j,
const RigidBody& rb);
23 void from_json(
const nlohmann::json& j, RigidBody& rb);
25 void to_json(nlohmann::json& j,
const Joint& joint);
26 void from_json(
const nlohmann::json& j, Joint& joint);
28 void to_json(nlohmann::json& j,
const Joint::Type& type);
29 void from_json(
const nlohmann::json& j,
Joint::Type& type);
31 void to_json(nlohmann::json& j,
const SpatialInertiad& inertia);
32 void from_json(
const nlohmann::json& j, SpatialInertiad& inertia);
34 void to_json(nlohmann::json& j,
const Graphics& graphics);
35 void from_json(
const nlohmann::json& j, Graphics& graphics);
37 void to_json(nlohmann::json& j,
const Graphics::Geometry& geometry);
38 void from_json(
const nlohmann::json& j, Graphics::Geometry& geometry);
43 void to_json(nlohmann::json& j,
const Graphics::Material& material);
44 void from_json(
const nlohmann::json& j, Graphics::Material& material);
Type
Definition: joint.h:38
Definition: discrete_dynamics.cc:21
Type
Definition: graphics.h:47