se2ez
yaml.h
Go to the documentation of this file.
1
/* Author: Zachary Kingston */
2
3
#ifndef SE2EZ_CORE_YAML_
4
#define SE2EZ_CORE_YAML_
5
6
#include <
se2ez/core/class_forward.h
>
7
8
namespace
se2ez
9
{
10
/** \cond IGNORE */
11
SE2EZ_CLASS_FORWARD
(Robot)
12
/** \endcond */
13
14
namespace
io
15
{
16
/** \brief Loads a robot from a YAML file.
17
* \param[in] filename The filename to load.
18
* \return A robot compiled from filename, and a nullptr on failure.
19
*/
20
RobotPtr
loadRobot
(
const
std::string
&filename);
21
22
/** \brief Loads named robot states from a YAML file.
23
* \param[in, out] robot Robot to load named states into.
24
* \param[in] filename The filename to load.
25
* \return True on success, false on failure.
26
*/
27
bool
loadStates
(RobotPtr robot,
const
std::string
&filename);
28
}
// namespace io
29
}
// namespace se2ez
30
31
#endif
se2ez::io::loadRobot
RobotPtr loadRobot(const std::string &filename)
Loads a robot from a YAML file.
Definition:
yaml.cpp:303
class_forward.h
std::string
se2ez::io::loadStates
bool loadStates(RobotPtr robot, const std::string &filename)
Loads named robot states from a YAML file.
Definition:
yaml.cpp:326
se2ez
Main namespace.
Definition:
collision.h:11
SE2EZ_CLASS_FORWARD
#define SE2EZ_CLASS_FORWARD(C)
Definition:
class_forward.h:9
include
se2ez
core
yaml.h
Generated on Tue Mar 10 2020 10:17:50 for se2ez by
1.8.13