Browse Source

Fixed typos.

pull/14/head
Alan G. Sanchez 2 years ago
parent
commit
a0a906acb8
2 changed files with 4 additions and 2 deletions
  1. +1
    -0
      example_5.md
  2. +3
    -2
      src/effort_sensing.py

+ 1
- 0
example_5.md View File

@ -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. 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) **Previous Example** [Example 4](example_4.md)
**Next Example** [Example 6](example_6.md)

+ 3
- 2
src/effort_sensing.py View File

@ -99,7 +99,7 @@ class JointActuatorEffortSensor(hm.HelloNode):
from the trajectory_client. Although, in this function, we do not use the from the trajectory_client. Although, in this function, we do not use the
feedback information. feedback information.
:param self: The self reference. :param self: The self reference.
:param feedback: FollowJointTrajectoryActilnFeedback message.
:param feedback: FollowJointTrajectoryActionFeedback message.
""" """
# Conditional statement for replacement of joint names if wrist_extension # Conditional statement for replacement of joint names if wrist_extension
# is in the self.joint_names list. # 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. 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. Within this function we export the data to a .txt file in the /stored_data directory.
:param self: The self reference. :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. # Conditional statemets to notify whether the action succeeded or failed.
if status == actionlib.GoalStatus.SUCCEEDED: if status == actionlib.GoalStatus.SUCCEEDED:

Loading…
Cancel
Save