mirror of
https://gitlab.com/obbart/universal_robots_ros_driver.git
synced 2026-04-12 11:00:47 +02:00
Added catch in case communication fails
This commit is contained in:
@@ -46,7 +46,7 @@ public:
|
||||
unsigned int reverse_port = 50007, unsigned int safety_count_max =
|
||||
12, double max_time_step = 0.08, double min_payload = 0.,
|
||||
double max_payload = 1.);
|
||||
void start();
|
||||
bool start();
|
||||
void halt();
|
||||
|
||||
void setSpeed(double q0, double q1, double q2, double q3, double q4,
|
||||
|
||||
@@ -59,7 +59,7 @@ public:
|
||||
|
||||
UrRealtimeCommunication(std::condition_variable& msg_cond, std::string host,
|
||||
unsigned int safety_count_max = 12);
|
||||
void start();
|
||||
bool start();
|
||||
void halt();
|
||||
void setSpeed(double q0, double q1, double q2, double q3, double q4,
|
||||
double q5, double acc = 100.);
|
||||
|
||||
Reference in New Issue
Block a user