HLR
0.0.1
|
Concrete handle on the robot using the ROS interface. More...
#include <RobotDriverHandler.hpp>
Public Member Functions | |
RobotDriverHandler () | |
Constructor. | |
virtual | ~RobotDriverHandler ()=default |
Destructor. | |
RobotDriverHandler (const RobotDriverHandler &rdh)=delete | |
Copy constructor, deleted. More... | |
RobotDriverHandler (RobotDriverHandler &&rdh)=delete | |
Move constructor, deleted. More... | |
RobotDriverHandler & | operator= (const RobotDriverHandler &rdh)=delete |
Copy assignment operator, deleted. More... | |
RobotDriverHandler & | operator= (RobotDriverHandler &&rdh)=delete |
Move assignment operator, deleted. More... | |
Matrix< double, 5, 1 > | get_arm_state () const noexcept |
Get the current arm position. More... | |
void | move (const std::vector< Matrix< double, 5, 1 >> &path, double speed) |
Move the robot arm along a path. More... | |
void | stop () |
Stop the robot arm. More... | |
void | set_move_complete_handler (const std::function< void()> &handler) |
Set the move complete handler. More... | |
Concrete handle on the robot using the ROS interface.
|
delete |
Copy constructor, deleted.
rdh |
|
delete |
Move constructor, deleted.
rdh |
|
noexcept |
Get the current arm position.
void HLR::Kinematics::RobotDriverHandler::move | ( | const std::vector< Matrix< double, 5, 1 >> & | path, |
double | speed | ||
) |
Move the robot arm along a path.
std::runtime_error | Move couldn't be completed due to driver error. |
path | The path to follow expressed in joint positions. |
speed | The speed from 0% to 100%. |
|
delete |
Copy assignment operator, deleted.
rdh |
|
delete |
Move assignment operator, deleted.
rdh |
void HLR::Kinematics::RobotDriverHandler::set_move_complete_handler | ( | const std::function< void()> & | handler | ) |
Set the move complete handler.
handler | The handler to be fired once a move completes. |
void HLR::Kinematics::RobotDriverHandler::stop | ( | ) |
Stop the robot arm.
std::runtime_error | Arm couldn't be stopped due to driver error. |