getting_started:tutorials:firstproject
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
getting_started:tutorials:firstproject [2015/08/10 11:13] – visentin | getting_started:tutorials:firstproject [2016/10/06 15:02] – gehrig | ||
---|---|---|---|
Line 7: | Line 7: | ||
<code c> | <code c> | ||
+ | #include < | ||
+ | #include < | ||
+ | |||
+ | #include < | ||
+ | #include < | ||
+ | |||
+ | #include " | ||
+ | #include " | ||
+ | #include " | ||
+ | |||
+ | |||
+ | using namespace eeros; | ||
+ | using namespace eeros::hal; | ||
+ | using namespace eeros:: | ||
+ | using namespace eeros:: | ||
+ | using namespace eeros:: | ||
+ | using namespace eeros:: | ||
+ | using namespace testproject; | ||
+ | |||
+ | |||
int main() { | int main() { | ||
std::cout << "SCARA Robot Control started" | std::cout << "SCARA Robot Control started" | ||
Line 35: | Line 55: | ||
} | } | ||
| | ||
- | | + | // |
- | safetySystem.shutdown(); | + | // |
- | sequencer.shutdown(); | + | // |
| | ||
std::cout << "SCARA Robot Control stopped" | std::cout << "SCARA Robot Control stopped" | ||
Line 104: | Line 124: | ||
// Run Blocks | // Run Blocks | ||
// e.g. timedomain.addBlock(& | // e.g. timedomain.addBlock(& | ||
- | } | ||
- | |||
- | void MyControlSystem:: | ||
- | timedomain.start(); | ||
- | } | ||
- | |||
- | void MyControlSystem:: | ||
- | timedomain.stop(); | ||
- | timedomain.join(); | ||
} | } | ||
</ | </ |