Program Listing for File python.hpp

Return to documentation for file (include/pinocchio/parsers/python.hpp)

//
// Copyright (c) 2015-2023 CNRS INRIA
//

#ifndef __pinocchio_parser_python_hpp__
#define __pinocchio_parser_python_hpp__

#include "pinocchio/python_parser/config.hpp"
#include "pinocchio/multibody/model.hpp"

namespace pinocchio
{
  namespace python
  {
    // TODO: look inside the context of Python and find an occurence of object Model
    PINOCCHIO_PYTHON_PARSER_DLLAPI
    Model buildModel(const std::string & filename, const std::string & var_name = "model");

  } // namespace python

} // namespace pinocchio

#endif // ifndef __pinocchio_parser_python_hpp__