se2ez
yaml.cpp
Go to the documentation of this file.
1
/* Author: Zachary Kingston */
2
3
#include <iostream>
4
5
#include <
se2ez/core.h
>
6
7
using namespace
se2ez
;
8
9
int
main
(
int
argc,
char
**argv)
10
{
11
if
(argc < 2)
12
{
13
std::cout
<<
"Please give filename to load!"
<<
std::endl
;
14
return
-1;
15
}
16
17
auto
robot =
io::loadRobot
(
std::string
(argv[1]));
18
if
(!robot)
19
return
-1;
20
21
std::cout
<< robot->printDebug() <<
std::endl
;
22
}
se2ez::io::loadRobot
RobotPtr loadRobot(const std::string &filename)
Loads a robot from a YAML file.
Definition:
yaml.cpp:303
std::endl
T endl(T... args)
core.h
main
int main(int argc, char **argv)
Definition:
yaml.cpp:9
std::string
se2ez
Main namespace.
Definition:
collision.h:11
std::cout
script
core
yaml.cpp
Generated on Tue Mar 10 2020 10:17:50 for se2ez by
1.8.13