Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
ArmController Class ReferenceListens to control commands coming in from the command port for remotely controlling the arm. More...
Inheritance diagram for ArmController:
Detailed DescriptionListens to control commands coming in from the command port for remotely controlling the arm. The communication protocol is a very simple binary format, shared with WalkControllerBehavior. Each command is sent as a 5-byte group. The first byte is a command selector, and the following 4 bytes are a floating point argument:
The valid values for command indicator are given by CMD_shoulder, CMD_elbow, or CMD_wrist ('s', 'e', or 'w' respectively). Definition at line 31 of file ArmController.h.
Member Enumeration Documentation
Controls whether we have one or two Point Pickers, and which kind. Definition at line 71 of file ArmController.h. Constructor & Destructor Documentation
don't call
constructor Definition at line 158 of file ArmController.h.
destructor Definition at line 199 of file ArmController.h. Member Function Documentation
Compute the joint positions. Definition at line 558 of file ArmController.cc. Referenced by connect(), doEvent(), pointPicked(), and setJoint().
Possible commands from ArmGUI. Definition at line 294 of file ArmController.cc. Referenced by runCommand().
Angle between base horizontal joint and gripper, as from a bird's eye view. To be kept constant between point picks. Reimplemented from BehaviorBase. Definition at line 124 of file ArmController.cc.
Setup the scale and the joints quantity to display. Reimplemented from BehaviorBase. Definition at line 25 of file ArmController.cc.
Angle between base horizontal joint and gripper, as from a bird's eye view. To be kept constant between point picks. Reimplemented from BehaviorBase. Definition at line 113 of file ArmController.cc.
Angle between base horizontal joint and gripper, as from a bird's eye view. To be kept constant between point picks. Reimplemented from BehaviorBase. Definition at line 221 of file ArmController.h. Referenced by getDescription().
Angle between base horizontal joint and gripper, as from a bird's eye view. To be kept constant between point picks. Reimplemented from BehaviorBase. Definition at line 227 of file ArmController.h.
Angle between base horizontal joint and gripper, as from a bird's eye view. To be kept constant between point picks. Definition at line 477 of file ArmController.cc. Referenced by runCommand().
called by wireless when there's new data Definition at line 147 of file ArmController.cc. Referenced by doStart().
don't call Angle between base horizontal joint and gripper, as from a bird's eye view. To be kept constant between point picks. Definition at line 363 of file ArmController.cc. Referenced by runCommand().
Angle between base horizontal joint and gripper, as from a bird's eye view. To be kept constant between point picks. Definition at line 500 of file ArmController.cc. Referenced by runCommand().
Executes a command. Called by mechacmd_callback. Definition at line 193 of file ArmController.cc. Referenced by mechacmd_callback().
Send the joint positions to the ArmGUI. Definition at line 609 of file ArmController.cc. Referenced by connect(), doEvent(), pointPicked(), and setJoint().
Compute and send reachable points w/ given orientation. Only applicable for robots with vertical joints. param = 1.0 for horizontal and 2.0 for vertical. Definition at line 625 of file ArmController.cc. Referenced by connect(), pointPicked(), and runCommand().
Angle between base horizontal joint and gripper, as from a bird's eye view. To be kept constant between point picks. Definition at line 515 of file ArmController.cc. Referenced by runCommand().
Angle between base horizontal joint and gripper, as from a bird's eye view. To be kept constant between point picks. Definition at line 508 of file ArmController.cc. Referenced by runCommand(). Member Data Documentation
Whether each joint is horizontal or vertical. Definition at line 122 of file ArmController.h. Referenced by ArmController(), computeCoords(), connect(), and doStart().
The ArmMC, for moving individual joints. Definition at line 41 of file ArmController.h. Referenced by doStart(), doStop(), and setJoint().
Angle between base horizontal joint and gripper, as from a bird's eye view. To be kept constant between point picks. Definition at line 83 of file ArmController.h. Referenced by runCommand().
Angle between base horizontal joint and gripper, as from a bird's eye view. To be kept constant between point picks. Definition at line 80 of file ArmController.h. Referenced by runCommand().
Angle between base horizontal joint and gripper, as from a bird's eye view. To be kept constant between point picks. Definition at line 84 of file ArmController.h. Referenced by runCommand().
Angle between base horizontal joint and gripper, as from a bird's eye view. To be kept constant between point picks. Definition at line 81 of file ArmController.h. Referenced by runCommand().
Angle between base horizontal joint and gripper, as from a bird's eye view. To be kept constant between point picks. Definition at line 79 of file ArmController.h. Referenced by runCommand().
The input command stream socket. Definition at line 139 of file ArmController.h. Referenced by connect(), doEvent(), doStart(), doStop(), gripper(), pointPicked(), sendCoords(), sendReachablePoints(), and setJoint().
Angle between base horizontal joint and gripper, as from a bird's eye view. To be kept constant between point picks. Definition at line 82 of file ArmController.h. Referenced by runCommand().
Angle between base horizontal joint and gripper, as from a bird's eye view. To be kept constant between point picks. Definition at line 78 of file ArmController.h. Referenced by runCommand().
Controls whether we have one or two Point Pickers, and which kind. Referenced by computeCoords(), connect(), doEvent(), pointPicked(), runCommand(), sendCoords(), and setJoint().
Kinematic Joint for the Gripper Frame. Definition at line 50 of file ArmController.h. Referenced by ArmController(), computeCoords(), doStart(), pointPicked(), and ~ArmController().
Horizontal scaling factor for the Point Picker. Definition at line 59 of file ArmController.h. Referenced by connect(), doEvent(), doStart(), pointPicked(), sendCoords(), sendReachablePoints(), and setJoint().
First horizontal joint location, relative to base. Definition at line 95 of file ArmController.h. Referenced by doStart(), pointPicked(), and sendReachablePoints().
All of the joints in the arm. Definition at line 56 of file ArmController.h. Referenced by computeCoords(), doStart(), pointPicked(), sendReachablePoints(), and setJoint().
Total number of links to display (numYawJoints + numPitchJoints). Definition at line 116 of file ArmController.h. Referenced by computeCoords(), doStart(), and pointPicked().
Number of pitch joints. Definition at line 113 of file ArmController.h. Referenced by computeCoords(), connect(), doEvent(), doStart(), pointPicked(), sendCoords(), and setJoint().
Number of interpolation steps to take when moving from one point to the next. Definition at line 65 of file ArmController.h.
Number of yaw joints. Definition at line 110 of file ArmController.h. Referenced by computeCoords(), connect(), doEvent(), doStart(), pointPicked(), sendCoords(), and setJoint().
Target arm orientations for IKSolver. Definition at line 104 of file ArmController.h. Referenced by ArmController(), pointPicked(), and sendReachablePoints().
Currently selected orientation (0 - side, 1 - overhead). Definition at line 107 of file ArmController.h. Referenced by pointPicked(), runCommand(), and sendReachablePoints().
Vertical joint coordinates. Definition at line 128 of file ArmController.h. Referenced by computeCoords(), connect(), doEvent(), pointPicked(), sendCoords(), and setJoint().
Delay between sending reachable points. Definition at line 119 of file ArmController.h. Referenced by pointPicked().
Used to run motion sequences for smooth paths to points picked in the ArmGUI. Definition at line 47 of file ArmController.h. Referenced by doStart(), doStop(), pointPicked(), and setJoint().
Maximum speed for every joint. Definition at line 101 of file ArmController.h. Referenced by pointPicked(), runCommand(), and setJoint().
Interpolation steps: every time we receive a joint update, we fire another. Definition at line 68 of file ArmController.h.
To test for valid points, we use a separate kinematic chain. Definition at line 53 of file ArmController.h. Referenced by ArmController(), and sendReachablePoints().
The last HPCB object that was theOne. So we can restore it to prominence when we die. This is a nice gesture, but it doesn't really make sense since we're all using the same port. But just in case something changes and we don't do that, this mechanism is in place. Definition at line 136 of file ArmController.h. Referenced by doStart(), doStop(), and ~ArmController().
Points to the one ArmController object that the input command stream is talking to. A kludge. Dunno how you're going to make sure you're not using this uninitialized. Definition at line 36 of file ArmController.h. Referenced by doStart(), doStop(), and ~ArmController().
Angle between base horizontal joint and gripper, as from a bird's eye view. To be kept constant between point picks. Definition at line 88 of file ArmController.h. Referenced by doStart(), pointPicked(), and sendReachablePoints().
Vertical scaling factor for the Point Picker. Definition at line 62 of file ArmController.h. Referenced by connect(), doEvent(), doStart(), pointPicked(), sendCoords(), sendReachablePoints(), and setJoint().
First vertical joint location, relative to base. Definition at line 98 of file ArmController.h. Referenced by doStart(), pointPicked(), and sendReachablePoints().
Horizontal joint coordinates. Definition at line 125 of file ArmController.h. Referenced by computeCoords(), connect(), doEvent(), pointPicked(), sendCoords(), and setJoint().
Height of point picked. To be kept constant between point picks. Definition at line 92 of file ArmController.h. Referenced by pointPicked(), and sendReachablePoints(). The documentation for this class was generated from the following files: |
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:05 2016 by Doxygen 1.6.3 |