Aikido
RosTrajectoryExecutionException.hpp
Go to the documentation of this file.
1 #ifndef AIKIDO_CONTROL_ROS_ROSTRAJECTORYEXECUTIONEXCEPTION_HPP_
2 #define AIKIDO_CONTROL_ROS_ROSTRAJECTORYEXECUTIONEXCEPTION_HPP_
3 
4 #include <exception>
5 
6 #include <actionlib/client/action_client.h>
7 #include <control_msgs/FollowJointTrajectoryAction.h>
8 
9 namespace aikido {
10 namespace control {
11 namespace ros {
12 
15 class RosTrajectoryExecutionException : public std::runtime_error
16 {
17 public:
19  const std::string& what, actionlib::TerminalState terminalState);
20 
21  RosTrajectoryExecutionException(const std::string& what, int result);
22 
23  virtual ~RosTrajectoryExecutionException() = default;
24 };
25 
26 } // namespace ros
27 } // namespace control
28 } // namespace aikido
29 
30 #endif // AIKIDO_CONTROL_ROS_ROSTRAJECTORYEXECUTIONEXCEPTION_HPP_
aikido::control::ros::RosTrajectoryExecutionException
This class wraps various exceptions that may arise during trajectory execution over ROS.
Definition: RosTrajectoryExecutionException.hpp:15
aikido
Format of serialized trajectory in YAML.
Definition: algorithm.hpp:4
aikido::control::ros::RosTrajectoryExecutionException::RosTrajectoryExecutionException
RosTrajectoryExecutionException(const std::string &what, actionlib::TerminalState terminalState)
aikido::control::ros::RosTrajectoryExecutionException::~RosTrajectoryExecutionException
virtual ~RosTrajectoryExecutionException()=default