HLR  0.0.1
Public Member Functions | List of all members
HLR::Kinematics::RobotDriverHandler Class Referenceabstract

Interface that exposes the interface to the robotarm. More...

#include <RobotDriverHandler.hpp>

Inheritance diagram for HLR::Kinematics::RobotDriverHandler:
Collaboration diagram for HLR::Kinematics::RobotDriverHandler:

Public Member Functions

virtual Matrix< double, 5, 1 > get_arm_state () const noexcept=0
 Get the current position of the robot arm. More...
 
void set_move_complete_handler (const std::function< void()> &handler)
 Set the move complete handler. More...
 
virtual void move (const std::vector< Matrix< double, 5, 1 >> &path, double speed)=0
 Move the robot arm along a path. More...
 
virtual void stop ()=0
 Stop the robotarm if it is moving/.
 

Detailed Description

Interface that exposes the interface to the robotarm.

Member Function Documentation

virtual Matrix<double, 5, 1> HLR::Kinematics::RobotDriverHandler::get_arm_state ( ) const
pure virtualnoexcept

Get the current position of the robot arm.

Returns
The current position of the robot arm.

Implemented in HLR::Kinematics::RosRobotDriverHandler.

virtual void HLR::Kinematics::RobotDriverHandler::move ( const std::vector< Matrix< double, 5, 1 >> &  path,
double  speed 
)
pure virtual

Move the robot arm along a path.

Parameters
pathThe nodes of the path to follow.
speedThe speed from 0% to 100%.

Implemented in HLR::Kinematics::RosRobotDriverHandler.

void HLR::Kinematics::RobotDriverHandler::set_move_complete_handler ( const std::function< void()> &  handler)

Set the move complete handler.

Parameters
handlerThe handler to be fired once a move completes.

The documentation for this class was generated from the following file: