1 #ifndef KINEMATICS_OBJECT_MOVE_HANDLER_HPP     2 #define KINEMATICS_OBJECT_MOVE_HANDLER_HPP     5 #include "HLR/ObjectMoveAction.h"     6 #include "HLR/ObjectMoveStart.h"     7 #include "HLR/Progress.h"     9 #include "RobotController.hpp"    74                            HLR::ObjectMoveStart::Response& res);
    86                             HLR::ObjectMoveAction::Response& res);
    98                               HLR::ObjectMoveAction::Response& res);
   110                           HLR::ObjectMoveAction::Response& res);
   119     std::uint8_t convert_controller_state_to_ros_msg(
   130     ros::Publisher progress_pub;
   135     ros::ServiceServer service_move_start;
   140     ros::ServiceServer service_move_stop;
   145     ros::ServiceServer service_move_continue;
   150     ros::ServiceServer service_move_cancel;
   155     HLR::Progress progress;
 virtual ~ObjectMoveHandler()=default
Destructor. 
bool object_move_start(HLR::ObjectMoveStart::Request &req, HLR::ObjectMoveStart::Response &res)
Start moving (grabbing) the specified cup based on ID If already moving ID is added to queue and exec...
bool object_move_stop(HLR::ObjectMoveAction::Request &req, HLR::ObjectMoveAction::Response &res)
Callback that is executed when the movement needs to stop Stop can be used when a movement is perform...
bool object_move_continue(HLR::ObjectMoveAction::Request &req, HLR::ObjectMoveAction::Response &res)
Callback that is executed when the moevement needs to be continue Continue can be used when the movem...
ObjectMoveHandler(RobotController &controller)
Constructor. 
RobotControllerState
The current state of the robot controller. 
Definition: RobotController.hpp:59
This class contains the main logic of the robotic arm. It handles the calculation of robotic path and...
Definition: RobotController.hpp:126
Interface to send commands to the Kinematics component Executes actions on the robotarm based in the ...
Definition: ObjectMoveHandler.hpp:24
ObjectMoveHandler & operator=(const ObjectMoveHandler &omh)=delete
Copy assignment operator, deleted. 
bool object_move_cancel(HLR::ObjectMoveAction::Request &req, HLR::ObjectMoveAction::Response &res)
Callback that is executed when the movement needs to be canceled Cup will be placed back on original ...