Robowflex  v0.1
Making MoveIt Easy
openrave.h
Go to the documentation of this file.
1 #ifndef ROBOWFLEX_OPENRAVE_
2 #define ROBOWFLEX_OPENRAVE_
3 
4 #include <moveit_msgs/PlanningScene.h>
5 
6 namespace robowflex
7 {
8  namespace openrave
9  {
10  /** \brief Loads a planning_scene from an OpenRAVE Environment XML
11  * \param[out] planning_scene The output MoveIt message that will be filled with the planning scene
12  * contents.
13  * \param[in] file The path to the OpenRAVE environment XML.
14  * \param[in] model_dir The path to the models directory, which should contain files referenced by
15  * the passed in file. In OpenRAVE, "the root directory for all models files is the folder openrave is
16  * launched at."
17  * \return True on success, false on failure.
18  */
19  bool fromXMLFile(moveit_msgs::PlanningScene &planning_scene, const std::string &file,
20  const std::string &model_dir);
21  } // namespace openrave
22 } // namespace robowflex
23 
24 #endif
bool fromXMLFile(moveit_msgs::PlanningScene &planning_scene, const std::string &file, const std::string &model_dir)
Loads a planning_scene from an OpenRAVE Environment XML.
Definition: openrave.cpp:208
Main namespace. Contains all library classes and functions.
Definition: scene.cpp:25