impliment improved error handeling on driver failed
This commit is contained in:
@@ -117,6 +117,9 @@ private:
|
||||
|
||||
|
||||
//-------To handle the threads-----------------
|
||||
std::atomic<bool> exit_on_err_={false};
|
||||
|
||||
|
||||
void _start_joint_position_control_mode();
|
||||
std::thread joint_position_control_mode_thread_;
|
||||
void _start_joint_position_control_thread();
|
||||
@@ -169,6 +172,8 @@ public:
|
||||
|
||||
std::string get_status_message();
|
||||
|
||||
bool get_err_state() const {return exit_on_err_.load();}
|
||||
|
||||
std::string get_robot_mode();
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user