17 #ifndef ROSACTIONSERVER_H 18 #define ROSACTIONSERVER_H 22 #include <ros/console.h> 23 #include <actionlib/server/simple_action_server.h> 24 #include <rosee_msg/ROSEECommandAction.h> 26 #define DEFAULT_ERROR_NORM 0.01 38 rosee_msg::ROSEEActionControl
getGoal();
57 void sendFeedback(
double completation_percentage, std::string currentAction) ;
59 void abortGoal(std::string errorMsg =
"");
65 actionlib::SimpleActionServer <rosee_msg::ROSEECommandAction>
_actionServer;
79 #endif // ROSACTIONSERVER_H void sendFeedback(double completation_percentage, std::string currentAction)
send Feedback to the client who has requested the goal.
double getWantedNormError() const
in message there is a field where norm error of joint position can be set If it is not present in the...
RosActionServer(std::string topicForAction, ros::NodeHandle *nh)
rosee_msg::ROSEEActionControl actionControlMsg
std::string topicForAction
void abortGoal(std::string errorMsg="")
void preemptReceivedCallback()
rosee_msg::ROSEEActionControl getGoal()
actionlib::SimpleActionServer< rosee_msg::ROSEECommandAction > _actionServer
void goalReceivedCallback()