diff --git a/example_5.md b/example_5.md index 5c28b71..0642dcf 100644 --- a/example_5.md +++ b/example_5.md @@ -154,3 +154,4 @@ rospy.spin() Give control to ROS with `rospy.spin()`. This will allow the callback to be called whenever new messages come in. If we don't put this line in, then the node will not work, and ROS will not process any messages. **Previous Example** [Example 4](example_4.md) +**Next Example** [Example 6](example_6.md) diff --git a/src/effort_sensing.py b/src/effort_sensing.py index f083189..52a3479 100755 --- a/src/effort_sensing.py +++ b/src/effort_sensing.py @@ -99,7 +99,7 @@ class JointActuatorEffortSensor(hm.HelloNode): from the trajectory_client. Although, in this function, we do not use the feedback information. :param self: The self reference. - :param feedback: FollowJointTrajectoryActilnFeedback message. + :param feedback: FollowJointTrajectoryActionFeedback message. """ # Conditional statement for replacement of joint names if wrist_extension # is in the self.joint_names list. @@ -135,7 +135,8 @@ class JointActuatorEffortSensor(hm.HelloNode): The done_callback function will be called when the joint action is complete. Within this function we export the data to a .txt file in the /stored_data directory. :param self: The self reference. - :param feedback: FollowJointTrajectoryActionFeedback message. + :param status: status attribute from FollowJointTrajectoryActionResult message. + :param result: result attribute from FollowJointTrajectoryActionResult message. """ # Conditional statemets to notify whether the action succeeded or failed. if status == actionlib.GoalStatus.SUCCEEDED: