#include "pinocchio/multibody/model.hpp"
#include "pinocchio/multibody/data.hpp"
#include <boost/fusion/container/list.hpp>
#include <boost/fusion/container/generation/make_list.hpp>
#include "pinocchio/algorithm/check.hxx"
Go to the source code of this file.
|
template<typename Scalar , int Options, template< typename, int > class JointCollectionTpl> |
bool | pinocchio::checkData (const ModelTpl< Scalar, Options, JointCollectionTpl > &model, const DataTpl< Scalar, Options, JointCollectionTpl > &data) |
|
| pinocchio::PINOCCHIO_DEFINE_ALGO_CHECKER (Parent) |
| Simple model checker, that assert that model.parents is indeed a tree. More...
|
|
◆ MAKE_ALGO_CHECKER_LIST
#define MAKE_ALGO_CHECKER_LIST |
( |
|
z, |
|
|
|
n, |
|
|
|
_ |
|
) |
| |
Value: \
template<BOOST_PP_ENUM_PARAMS(BOOST_PP_INC(
n),
class D)> \
AlgorithmCheckerList<BOOST_PP_ENUM_PARAMS(BOOST_PP_INC(
n), D)> makeAlgoCheckerList( \
BOOST_PP_ENUM_BINARY_PARAMS(BOOST_PP_INC(
n), D,
const & arg)) \
{ \
return AlgorithmCheckerList<BOOST_PP_ENUM_PARAMS(BOOST_PP_INC(n), D)>( \
boost::fusion::make_list(BOOST_PP_ENUM_PARAMS(BOOST_PP_INC(
n), arg))); \
}
Definition at line 76 of file algorithm/check.hpp.
◆ PINOCCHIO_ALGO_CHECKER_LIST_MAX_LIST_SIZE
#define PINOCCHIO_ALGO_CHECKER_LIST_MAX_LIST_SIZE 5 |
◆ PINOCCHIO_DEFINE_ALGO_CHECKER
#define PINOCCHIO_DEFINE_ALGO_CHECKER |
( |
|
NAME | ) |
|
Value: struct NAME##Checker : public AlgorithmCheckerBase<NAME##Checker> \
{ \
template<typename Scalar, int Options, template<typename, int> class JointCollectionTpl> \
inline bool checkModel_impl(const ModelTpl<
Scalar,
Options, JointCollectionTpl> &)
const; \
}
Definition at line 41 of file algorithm/check.hpp.