We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d7016f commit 5786ceeCopy full SHA for 5786cee
ur_robot_driver/src/ros/robot_state_helper.cpp
@@ -57,6 +57,7 @@ RobotStateHelper::RobotStateHelper(const ros::NodeHandle& nh)
57
// Service to start UR program execution on the robot
58
play_program_srv_ = nh_.serviceClient<std_srvs::Trigger>("dashboard/play");
59
60
+ play_program_srv_.waitForExistence();
61
set_mode_as_.registerGoalCallback(std::bind(&RobotStateHelper::setModeGoalCallback, this));
62
set_mode_as_.registerPreemptCallback(std::bind(&RobotStateHelper::setModePreemptCallback, this));
63
}
0 commit comments