Robowflex  v0.1
Making MoveIt Easy
robowflex_dart/include/robowflex_dart/io.h
Go to the documentation of this file.
1 /* Author: Zachary Kingston */
2 
3 #ifndef ROBOWFLEX_DART_IO_
4 #define ROBOWFLEX_DART_IO_
5 
7 
8 namespace robowflex
9 {
10  namespace darts
11  {
12  /** \cond IGNORE */
14  /** \endcond */
15 
16  namespace IO
17  {
18  /** \brief Add a ROS package to Dart's searchable index. Looks up package with rospack.
19  * \param[in] package Package name
20  */
21  void addPackage(const std::string &package);
22 
23  /** \brief Add a ROS package to Dart's searchable index.
24  * \param[in] package Package name
25  * \param[in] location Directory of package
26  */
27  void addPackage(const std::string &package, const std::string &location);
28 
29  /** \brief Loads a URDF at \a urdf into a robot.
30  * \param[out] robot Robot to load URDF in.
31  * \param[in] urdf URDF location.
32  * \return True on success, false on failure.
33  */
34  bool loadURDF(Robot &robot, const std::string &urdf);
35 
36  /** \brief Get the filename for a package URI using Dart's lookup.
37  * \param[in] uri URI to lookup.
38  * \return Path to file.
39  */
41  } // namespace IO
42  } // namespace darts
43 
44 } // namespace robowflex
45 
46 #endif
#define ROBOWFLEX_CLASS_FORWARD(C)
Macro that forward declares a class and defines two shared ptrs types:
Definition: class_forward.h:16
A sampleable goal region for OMPL for a set of TSRs. Samples goals in a separate thread using a clone...
Functions for loading and animating robots in Blender.
std::string getPackageFile(const std::string &uri)
Get the filename for a package URI using Dart's lookup.
bool loadURDF(Robot &robot, const std::string &urdf)
Loads a URDF at urdf into a robot.
void addPackage(const std::string &package, const std::string &location)
Add a ROS package to Dart's searchable index.
Main namespace. Contains all library classes and functions.
Definition: scene.cpp:25