Browse Source

Fixed typo in rospy.loginfo in done callback function.

noetic
Alan G. Sanchez 2 years ago
parent
commit
b147bd922c
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      example_6.md
  2. +1
    -1
      src/effort_sensing.py

+ 2
- 2
example_6.md View File

@ -114,7 +114,7 @@ class JointActuatorEffortSensor(hm.HelloNode):
:param result: result attribute from FollowJointTrajectoryActionResult message. :param result: result attribute from FollowJointTrajectoryActionResult message.
""" """
if status == actionlib.GoalStatus.SUCCEEDED: if status == actionlib.GoalStatus.SUCCEEDED:
rospy.loginfo('Suceeded')
rospy.loginfo('Succeeded')
else: else:
rospy.loginfo('Failed') rospy.loginfo('Failed')
@ -253,7 +253,7 @@ The done callback function takes in the `FollowJointTrajectoryActionResult` mess
```python ```python
if status == actionlib.GoalStatus.SUCCEEDED: if status == actionlib.GoalStatus.SUCCEEDED:
rospy.loginfo('Suceeded')
rospy.loginfo('Succeeded')
else: else:
rospy.loginfo('Failed') rospy.loginfo('Failed')

+ 1
- 1
src/effort_sensing.py View File

@ -137,7 +137,7 @@ class JointActuatorEffortSensor(hm.HelloNode):
""" """
# Conditional statemets to notify whether the action succeeded or failed. # Conditional statemets to notify whether the action succeeded or failed.
if status == actionlib.GoalStatus.SUCCEEDED: if status == actionlib.GoalStatus.SUCCEEDED:
rospy.loginfo('Suceeded')
rospy.loginfo('Succeeded')
else: else:
rospy.loginfo('Failed') rospy.loginfo('Failed')

Loading…
Cancel
Save