Skip to content

PhysicalUserInterface

JamesNewton edited this page Jun 21, 2021 · 8 revisions

Physical User Interface

The physical robot can be a user interface by sensing and then resisting or complying with touches from the user. For example, the robot could be programmed to start recording a new sequence of positions in "follow mode" when it feels a downward tap on the end effector. A more interesting example is when the robot resists side to side motion somewhat, but when pushed hard enough will "pop" or "cog" to a new location, where it again resists motion. This presents a feeling of turning a rotary switch through multiple positions. Combined with an up or down motion, this can be used to select from several options.

Dexter HDI now ship with a Physical User Interface script called "PhUI" (pronounced "phooey") installed as the default startup script for the onboard DDE job engine. After boot up, Dexter HDI will find it's home position, then enter PhUI and wait for mechanical commands. During this time, Dexter HDI will NOT respond to commands from DDE or other control software.

Dexter HDI PhUI Commands

  • Exit: Grab the tool interface and "cog" up without rotating to the side to exit PUI mode until the robot pushed back and returns to home. (On older versions, you first move 7 places to the right and then up twice. That is "right" while facing the robot, meaning CCW when looking down on the robot from the top.) After exiting, Dexter firmware will respond to commands from a PC or other connected device.

  • Record / Play: To program or play recordings, grab the tool interface and turn it left or right to one of the other slots and either replay (by tilting the end effector up twice) or record a new program (by tilting down).

    Record: To record an action, rotate left or right from center to select a slot, then tilt the head down until the robot pops into follow mode. As soon as the other joints break free, pull the end effector away from home position toward you. Dexter will then allow you to record by moving the arm through a series of motions. It does take a number of seconds to be ready so be patient.

    To end a recording: On older versions, push the robot away from you so that joint 2 is tilted back about 20 degrees. On newer versions, return to the home position on all joints. Note that it can be tricky to see where the base joint, Joint 1, actually is; be sure to look for the +X mark on the front of the base, and line the back of the motors up with that, just as you did when starting the robot. Dexter will stop recording, stop following you, and return to home position.

    Play: To replay a recording, rotate left or right from center to select a slot, tilt the end effector up until it engages playback. It should then reposition itself and begin to replay after 30 seconds or so. If nothing was recorded in the slot then it will do a small rotation and stop.

    To stop it from playing just pop the end effector in a upward position with your hand. This is not a slow nudge; it's more like a smack with your flat hand in an upward direction.

Videos

Unboxing and PhUI

Demo at Tradeshow

Demo at bar

Clone this wiki locally