Skip to content

Commit 4451090

Browse files
committed
improved logging messages
1 parent 30b71e1 commit 4451090

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

aegis_grpc/src/robot_control_service.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ grpc::Status RobotControlServiceImpl::GotoPose(grpc::ServerContext* context,
438438

439439
if (IsPoseAtGoal(target_pose)) {
440440
RCLCPP_INFO(get_logger(),
441-
"[RobotControlService][GotoPose] Target pose is already at the current pose. "
441+
"[RobotControlService][GotoPose] Target pose is the same as at the current pose. "
442442
"Skipping planning and returning success.");
443443
response->set_msg("Already at target pose.");
444444
return grpc::Status::OK;
@@ -526,8 +526,8 @@ grpc::Status RobotControlServiceImpl::GotoJoints(grpc::ServerContext* context,
526526

527527
if (AreJointsAtGoal(target)) {
528528
RCLCPP_INFO(get_logger(),
529-
"[RobotControlService][GotoJoints] Already at target joint configuration. "
530-
"Skipping planning and execution.");
529+
"[RobotControlService][GotoJoints] Already at the target joint configuration. "
530+
"Skipping planning and returning success.");
531531
response->set_success(true);
532532
response->set_msg("Already at target joint positions.");
533533
return grpc::Status::OK;

0 commit comments

Comments
 (0)