Skip to content

Commit cdc4f42

Browse files
committed
DEBUG
1 parent 673b8d9 commit cdc4f42

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

ur_robot_driver/src/trajectory_until_node.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,12 @@ rclcpp_action::GoalResponse TrajectoryUntilNode::goal_received_callback(
122122
}
123123

124124
if (!trajectory_action_client_->wait_for_action_server(std::chrono::seconds(1))) {
125-
RCLCPP_ERROR(this->get_logger(), "Trajectory action server not available.");
125+
std::string send_goal_service_name = get_node_base_interface()->resolve_topic_or_service_name("/motion_controller/"
126+
"follow_joint_"
127+
"trajectory/_action/"
128+
"send_goal",
129+
true);
130+
RCLCPP_ERROR(this->get_logger(), "Trajectory action server at %s not available.", send_goal_service_name.c_str());
126131
return rclcpp_action::GoalResponse::REJECT;
127132
}
128133

0 commit comments

Comments
 (0)