Building a Task using the Robot Screen

Created by Rico Stodt, Modified on Mon, 7 Feb, 2022 at 9:39 AM by Rico Stodt

This page provides a tutorial about how to build a task using the robot screen. 


Contents


Overview


This tutorial demonstrates how to create a task using any of the nodes available in the software using only the robot screen and train by demonstration. This task will be trained to have the robot move through a pick action, followed by waiting in a position in space for a set period of time, and placing the part into a pattern.


Definitions


Train By Demonstration - A technique for training a task in which the robot screen is used to teach actions and behaviors.


Prerequisites



Creating a Simple Pick Sequence


  • Move the arm using Zero-G mode to the location that the arm will approach the pick location from.
  • Press the Action Button on the cuff (round button next to Grasp Button). The menu below will appear, giving the ability to add any of the nodes to the Behavior Tree.


TBD1.jpg


  • The first node option highlighted is the Move-to Node. Press the Action Button again to train a move-to node using the current pose of the arm.
  • The Move-To node will be created as a child of the "task" [Sequence Node].


TBD2.jpg


  • Move the arm in zero-g mode to the pick location.
  • Create another Move-To Node in the location of the pick.


TBD21.jpg


  • Press the Action Button on the cuff. Scroll to and select the Wait Node.


TBD3.jpg


  • The wait node defaults to 5s. This can be edited to a shorter length of time by clicking the OKAY button on the navigator while the Wait Node in the behavior tree is highlighted.


TBD24.jpg


TBD5.jpg

TBD6.jpg


  • Press the Action button and select the Set To Node to close the gripper.


TBD7.jpg


  • Edit the Set To Node by selecting it in the behavior tree and pressing OKAY.


TBD8.jpg


  • The signal to close the Electric Parallel Gripper is 'cmd_grip.' This should be set to "true" or 1.


TBD9.jpg


  • Create another 1 second Wait node by repeating steps 6 & 7.
  • Move the arm to the pose that the arm should retract to after the pick.
  • Create a Move-To Node in this arm pose.


TBD30.jpg


Creating a Position in Space to Wait


A new sequence should be created for the next set of actions.

  • Press the back button to navigate back up the behavior tree. Highlight the task Sequence Node.


TBD31.jpg


  • Press the Action button and select "Sequence node"


TBD12.jpg


  • Notice that by following the above steps will create the new sequence node as the second child of the Task sequence.


TBD33.jpg


  • Move the arm to a new location in space that will be used to simulate holding in front of a machine. Create a Mode-To and a 5 second Wait as children of the new sequence.


TBD14.jpg


Creating a Place Sequence


Use the same methods as performed in the above steps to create a place sequence to release the part


TBD15.jpg


After completing the place sequence, the behavior tree should look like this:


TBD34.jpg


Open the Robot Screen Menu and press Run to start the task.

 

 


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article