-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add documentation about Instruction Executor
- Loading branch information
Showing
3 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Instruction Executor | ||
==================== | ||
|
||
The Instruction Executor is a convenience wrapper to make common robot instructions such as point | ||
to point motions easily accessible. Currently, it supports the following instructions: | ||
|
||
* Excecute MoveJ point to point motions | ||
* Execute MoveL point to point motions | ||
* Execute sequences consisting of MoveJ and MoveL instructions | ||
|
||
The Instruction Executor uses the :ref:`trajectory_point_interface` and the | ||
:ref:`reverse_interface` | ||
for sending motion instructions to the robot. Hence, it requires a :ref:`ur_driver` object. | ||
|
||
As a minimal working example, please see ``examples/instruction_executor.cpp`` example: | ||
|
||
.. literalinclude:: ../../examples/instruction_executor.cpp | ||
:language: c++ | ||
:caption: examples/instruction_executor.cpp | ||
:linenos: | ||
:lineno-match: | ||
:start-at: g_my_driver.reset | ||
:end-at: g_my_driver->stopControl(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters