include
pinocchio
parsers
parsers/python.hpp
Go to the documentation of this file.
1
//
2
// Copyright (c) 2015-2023 CNRS INRIA
3
//
4
5
#ifndef __pinocchio_parser_python_hpp__
6
#define __pinocchio_parser_python_hpp__
7
8
#include "pinocchio/python_parser/config.hpp"
9
#include "
pinocchio/multibody/model.hpp
"
10
11
namespace
pinocchio
12
{
13
namespace
python
14
{
24
// TODO: look inside the context of Python and find an occurence of object Model
25
PINOCCHIO_PYTHON_PARSER_DLLAPI
26
Model
buildModel
(
const
std::string & filename,
const
std::string & var_name =
"model"
);
27
28
}
// namespace python
29
30
}
// namespace pinocchio
31
32
#endif // ifndef __pinocchio_parser_python_hpp__
model.hpp
python
pinocchio::python::buildModel
PINOCCHIO_PYTHON_PARSER_DLLAPI Model buildModel(const std::string &filename, const std::string &var_name="model")
Load a model from a Python script.
Definition:
src/parsers/python/model.cpp:23
pinocchio::Model
ModelTpl< context::Scalar, context::Options > Model
Definition:
multibody/fwd.hpp:33
pinocchio
Main pinocchio namespace.
Definition:
timings.cpp:27
pinocchio
Author(s):
autogenerated on Sun Dec 22 2024 03:41:12