pinocchio  3.3.0
A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
default-check.hpp
1 //
2 // Copyright (c) 2016-2018 CNRS
3 //
4 
5 #ifndef __pinocchio_default_check_hpp__
6 #define __pinocchio_default_check_hpp__
7 
8 #include <pinocchio/algorithm/check.hpp>
9 #include <pinocchio/algorithm/aba.hpp>
10 #include <pinocchio/algorithm/crba.hpp>
11 
12 namespace pinocchio
13 {
16  {
17  return makeAlgoCheckerList(ParentChecker(), CRBAChecker(), ABAChecker());
18  }
19 
20 #define DEFAULT_CHECKERS makeDefaultCheckerList()
21 
22  template<typename Scalar, int Options, template<typename, int> class JointCollectionTpl>
24  {
25  return this->check(DEFAULT_CHECKERS);
26  }
27 
28 } // namespace pinocchio
29 
30 #endif // ifndef __pinocchio_default_check_hpp__
Main pinocchio namespace.
Definition: treeview.dox:11
AlgorithmCheckerList< ParentChecker, CRBAChecker, ABAChecker > makeDefaultCheckerList()
Default checker-list, used as the default argument in Model::check().
Checker having a list of Checker as input argument.
Definition: check.hpp:58
bool check() const
Run check(fusion::list) with DEFAULT_CHECKERS as argument.
Simple model checker, that assert that model.parents is indeed a tree.
Definition: check.hpp:49