HLR  0.0.1
Public Member Functions | List of all members
HLR::Kinematics::RosRobotDriverHandler Class Reference

Concrete handle on the robot using the ROS interface. More...

#include <RosRobotDriverHandler.hpp>

Inheritance diagram for HLR::Kinematics::RosRobotDriverHandler:
Collaboration diagram for HLR::Kinematics::RosRobotDriverHandler:

Public Member Functions

 RosRobotDriverHandler ()
 Constructor.
 
virtual ~RosRobotDriverHandler ()=default
 Destructor.
 
 RosRobotDriverHandler (const RosRobotDriverHandler &rdh)=delete
 Copy constructor, deleted. More...
 
 RosRobotDriverHandler (RosRobotDriverHandler &&rdh)=delete
 Move constructor, deleted. More...
 
RosRobotDriverHandleroperator= (const RosRobotDriverHandler &rdh)=delete
 Copy assignment operator, deleted. More...
 
RosRobotDriverHandleroperator= (RosRobotDriverHandler &&rdh)=delete
 Move assignment operator, deleted. More...
 
Matrix< double, 5, 1 > get_arm_state () const noexceptoverride
 Get the current position of the robot arm. More...
 
void move (const std::vector< Matrix< double, 5, 1 >> &path, double speed) override
 Move the robot arm along a path. More...
 
void stop () override
 Stop the robotarm if it is moving/.
 
- Public Member Functions inherited from HLR::Kinematics::RobotDriverHandler
void set_move_complete_handler (const std::function< void()> &handler)
 Set the move complete handler. More...
 

Detailed Description

Concrete handle on the robot using the ROS interface.

Constructor & Destructor Documentation

HLR::Kinematics::RosRobotDriverHandler::RosRobotDriverHandler ( const RosRobotDriverHandler rdh)
delete

Copy constructor, deleted.

Parameters
rdh
HLR::Kinematics::RosRobotDriverHandler::RosRobotDriverHandler ( RosRobotDriverHandler &&  rdh)
delete

Move constructor, deleted.

Parameters
rdh

Member Function Documentation

Matrix<double, 5, 1> HLR::Kinematics::RosRobotDriverHandler::get_arm_state ( ) const
overridevirtualnoexcept

Get the current position of the robot arm.

Returns
The current position of the robot arm.

Implements HLR::Kinematics::RobotDriverHandler.

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

Move the robot arm along a path.

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

Implements HLR::Kinematics::RobotDriverHandler.

RosRobotDriverHandler& HLR::Kinematics::RosRobotDriverHandler::operator= ( const RosRobotDriverHandler rdh)
delete

Copy assignment operator, deleted.

Parameters
rdh
Returns
RosRobotDriverHandler& HLR::Kinematics::RosRobotDriverHandler::operator= ( RosRobotDriverHandler &&  rdh)
delete

Move assignment operator, deleted.

Parameters
rdh
Returns

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