pinocchio  UNKNOWN
default-check.hpp
1 //
2 // Copyright (c) 2016-2018 CNRS
3 //
4 // This file is part of Pinocchio
5 // Pinocchio is free software: you can redistribute it
6 // and/or modify it under the terms of the GNU Lesser General Public
7 // License as published by the Free Software Foundation, either version
8 // 3 of the License, or (at your option) any later version.
9 //
10 // Pinocchio is distributed in the hope that it will be
11 // useful, but WITHOUT ANY WARRANTY; without even the implied warranty
12 // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 // General Lesser Public License for more details. You should have
14 // received a copy of the GNU Lesser General Public License along with
15 // Pinocchio If not, see
16 // <http://www.gnu.org/licenses/>.
17 
18 #ifndef __se3_default_check_hpp__
19 #define __se3_default_check_hpp__
20 
21 #include <pinocchio/algorithm/check.hpp>
22 #include <pinocchio/algorithm/aba.hpp>
23 #include <pinocchio/algorithm/crba.hpp>
24 
25 namespace se3
26 {
29  { return makeAlgoCheckerList(ParentChecker(),CRBAChecker(),ABAChecker()); }
30 
31 #define DEFAULT_CHECKERS makeDefaultCheckerList()
32 
33  inline bool Model::check() const { return this->check(DEFAULT_CHECKERS); }
34 
35 } // namespace se3
36 
37 #endif // ifndef __se3_default_check_hpp__
38 
39 
bool check() const
Run check(fusion::list) with DEFAULT_CHECKERS as argument.
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