From b147bd922c0942e220b7111be7b5ebca85e2cf5c Mon Sep 17 00:00:00 2001 From: "Alan G. Sanchez" Date: Tue, 30 Aug 2022 10:29:51 -0700 Subject: [PATCH] Fixed typo in rospy.loginfo in done callback function. --- example_6.md | 4 ++-- src/effort_sensing.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/example_6.md b/example_6.md index 275506c..11aaede 100644 --- a/example_6.md +++ b/example_6.md @@ -114,7 +114,7 @@ class JointActuatorEffortSensor(hm.HelloNode): :param result: result attribute from FollowJointTrajectoryActionResult message. """ if status == actionlib.GoalStatus.SUCCEEDED: - rospy.loginfo('Suceeded') + rospy.loginfo('Succeeded') else: rospy.loginfo('Failed') @@ -253,7 +253,7 @@ The done callback function takes in the `FollowJointTrajectoryActionResult` mess ```python if status == actionlib.GoalStatus.SUCCEEDED: - rospy.loginfo('Suceeded') + rospy.loginfo('Succeeded') else: rospy.loginfo('Failed') diff --git a/src/effort_sensing.py b/src/effort_sensing.py index 84db3b9..7237ce0 100755 --- a/src/effort_sensing.py +++ b/src/effort_sensing.py @@ -137,7 +137,7 @@ class JointActuatorEffortSensor(hm.HelloNode): """ # Conditional statemets to notify whether the action succeeded or failed. if status == actionlib.GoalStatus.SUCCEEDED: - rospy.loginfo('Suceeded') + rospy.loginfo('Succeeded') else: rospy.loginfo('Failed')