hpp-manipulation-urdf  4.9.0
Implementation of a parser for hpp-manipulation.
util.hh
Go to the documentation of this file.
1 // Copyright (c) 2014, LAAS-CNRS
2 // Authors: Joseph Mirabel (joseph.mirabel@laas.fr)
3 //
4 // This file is part of hpp-manipulation-urdf.
5 // hpp-manipulation-urdf 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 // hpp-manipulation-urdf 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 // hpp-manipulation-urdf. If not, see <http://www.gnu.org/licenses/>.
16 
17 #ifndef HPP_MANIPULATION_SRDF_UTIL_HH
18 # define HPP_MANIPULATION_SRDF_UTIL_HH
19 
20 # include <hpp/manipulation/fwd.hh>
21 # include <hpp/manipulation/urdf/deprecated.hh>
22 
23 namespace hpp {
24  namespace manipulation {
25  namespace srdf {
36  void loadModelFromFile (const DevicePtr_t& robot,
37  const std::string& prefix,
38  const std::string& package,
39  const std::string& modelName,
40  const std::string& srdfSuffix);
41 
47  void loadModelFromFile (const DevicePtr_t& robot,
48  const std::string& prefix,
49  const std::string& srdfName);
50 
52  void loadModelFromXML (const DevicePtr_t& robot,
53  const std::string& prefix,
54  const std::string& srdfString);
55  } // namespace srdf
56  } // namespace manipulation
57 } // namespace hpp
58 #endif // HPP_MANIPULATION_SRDF_UTIL_HH
pinocchio::DevicePtr_t DevicePtr_t
void loadModelFromXML(const DevicePtr_t &robot, const std::string &prefix, const std::string &srdfString)
Reads the tags from SRDF as defined in SRDF syntax.
void loadModelFromFile(const DevicePtr_t &robot, const std::string &prefix, const std::string &package, const std::string &modelName, const std::string &srdfSuffix)