Abstract class for executing a command of a single type on a group of joints.
More...
|
| JointCommandExecutor (const std::vector< dart::dynamics::DegreeOfFreedom * > dofs, const std::set< ExecutorType > otherTypes=std::set< ExecutorType >(), const std::chrono::milliseconds threadRate=defaultThreadRate) |
| Constructor. More...
|
|
virtual | ~JointCommandExecutor () |
|
virtual std::future< int > | execute (const std::vector< double > &command, const std::chrono::duration< double > &timeout, const std::chrono::system_clock::time_point &timepoint)=0 |
| Execute a Joint Command, setting future upon completion. More...
|
|
virtual std::future< int > | execute (const std::vector< double > &command, const std::chrono::duration< double > &timeout) |
| Execute a Joint Command, setting future upon completion. More...
|
|
virtual void | step (const std::chrono::system_clock::time_point &timepoint) override=0 |
| Step to a point in time. More...
|
|
virtual void | cancel ()=0 |
| Cancels the current command. More...
|
|
| Executor (const std::set< ExecutorType > &types, const std::vector< dart::dynamics::DegreeOfFreedom * > &dofs, const std::chrono::milliseconds threadRate=defaultThreadRate) |
| Constructor. More...
|
|
| Executor (const ExecutorType type, const std::vector< dart::dynamics::DegreeOfFreedom * > &dofs, std::chrono::milliseconds threadRate=defaultThreadRate) |
| Constructor. More...
|
|
virtual | ~Executor () |
|
std::set< ExecutorType > | getTypes () const |
| Get all of this Executor's ExecutorTypes. More...
|
|
const std::vector< dart::dynamics::DegreeOfFreedom * > | getDofs () const |
| Get list of dofs needed by this Executor. More...
|
|
void | start () |
| Start the underlying ExecutorThread. More...
|
|
void | stop () |
| Stops the underlying ExecutorThread. More...
|
|
bool | registerDofs () |
| Lock the resources required by the DoFs. More...
|
|
void | releaseDofs () |
| Unlock any resources required by the DoFs. More...
|
|
template<ExecutorType T>
class aikido::control::JointCommandExecutor< T >
Abstract class for executing a command of a single type on a group of joints.
- Template Parameters
-
T | The primary and only type of this executor. |