You are on page 1of 12

RoboTocar

User Manual
Mathijs de Meijer (mdemeijer@gmail.com) Eric Feliksik (feliksik@gmail.com)

Created on: Last Changed: Revision:

July 15, 2007 July 19, 2007 66

1/12

Table of Contents
0. Introduction...................................................................................................................................... 3 1. Installation and startup..................................................................................................................... 3 2. Main window....................................................................................................................................4 2.1 The Quit Button......................................................................................................................... 5 2.2 The enable/disable robot-arm button......................................................................................... 5 2.3 The enable/disable simulation button........................................................................................ 5 2.4 The enable/disable security button............................................................................................ 5 2.5 The Kinematics button...............................................................................................................6 2.6 The Settings button.................................................................................................................... 6 2.7 The Help button......................................................................................................................... 6 2.8 The Load button.........................................................................................................................6 2.9 The Save button......................................................................................................................... 6 2.10 The New Destination Command Button..................................................................................6 2.11 The New Configuration Command Button..............................................................................7 2.12 The New Gripper Command Button........................................................................................7 2.13 The New RoboTalk Command Button.................................................................................... 7 2.14 The Execute All Button........................................................................................................... 7 2.15 The Stop Button....................................................................................................................... 7 2.16 The Reset Button..................................................................................................................... 7 2.17 The move up Button................................................................................................................ 7 2.18 The move up Button................................................................................................................ 8 2.19 The Remove All Button........................................................................................................... 8 2.20 The log panel........................................................................................................................... 8 2.21 Destination Command............................................................................................................. 8 2.21.1 Errors and warning messages...........................................................................................8 2.22 Configuration Command......................................................................................................... 9 2.22.1 Errors and warning messages.........................................................................................10 2.23 Gripper Command................................................................................................................. 11 2.24 RoboTalk Command..............................................................................................................11 2.24.1 Errors and warning messages.........................................................................................11 2.25 Feasibility indicator............................................................................................................... 11 2.26 Security indicator................................................................................................................... 11 2.27 The Execute Button............................................................................................................... 12 2.28 The remove command Button................................................................................................12

2/12

0. Introduction
This document describes the features and use of the RoboTocar Graphical User Interface (GUI) that utilizes the Robot Control Library (RCL) to control the Mitsubishi RM-501 robot-arm and test custom direct and inverse kinematics algorithms. The RoboTocar program as well as the RM501 Robot Control Library (RCL) were written in 2007 by Mathijs de Meijer and Eric Feliksik, as a final project for their Bachelor of Science education at the Delft University of Technology in the Netherlands. There is a separate document for programmers that want to use the RCL. If you are a programmer and you consider modifying the source code of the RCL, feel free to send us e-mail. We hope that the RoboTocar program and the Robot Control Library will be useful for the UMSS, and that it offers the flexibility needed to be used for a variety of educational programs. We are thankful to the UMSS and especially to Seor A. Arispe for giving us the opportunity to fulfill our project in Cochabamba and to get to know Bolivia. Chapter 1 explains the functions of the buttons in the main window. Chapter 2 explains the different commands that can be used to control the robot-arm and the error messages that can be displayed on them. Chapter 3 explains the settings panel. Chapter 4 explains the use of the kinematics window and chapter 5 explains the global errors that can occur while using RoboTocar.

1. Installation and startup


1. Install the Java Runtime Environment 1.6 (see java.sun.com) 2. Copy the file rxtxSerial.dll to the /jre/bin directory of your JRE installation 3. Double-click roboTocar.jar or run run-robotocar.bat

3/12

2. Main window
When RoboTocar is started the main window is opened, the RCL is initialized, the RCL is asked if the robot-arm, simulation and security are on and RoboTocar is ready to use. The following image displays the main window with a destination, configuration, gripper and robotalk command added. All relevant items are numbered and are their function is explained below.

Illustration 1: The RoboTocar main window

4/12

2.1 The Quit Button


This button exits RoboTocar.

2.2 The enable/disable robot-arm button


This button is used to enable or disable the robot-arm. When the robot-arm is in the enabled state a green 'check' icon is displayed and all commands that are executed are also executed on the robot-arm. When the robot-arm is in the disabled state a red ' forbidden' icon is displayed and all commands that are executed are not executed on the robot-arm.

2.3 The enable/disable simulation button


This button is used to enable or disable the simulation. When the simulation is in the enabled state a green 'check' icon is displayed and all commands that are executed are also executed on the simulation. When the simulation is in the disabled state a red ' forbidden' icon is displayed and all commands that are executed are not executed on the simulation.

2.4 The enable/disable security button


This button is used to enable or disable the security. When the security is in the enabled state a green 'check' icon is displayed and all commands that are found to be insecure are marked accordingly and are prevented from executing. When the security is in the disabled state a red ' forbidden' icon is displayed and all commands that are found to be insecure are marked accordingly but can be executed. Warning: commands that are not secure may damage the robot-arm when executed!

5/12

2.5 The Kinematics button


This button is used to show or hide the kinematics panel.

Illustration 2: Use custom kinematics module screenshot Custom kinematics algorithms written in Java can be loaded with this panel. Furthermore they can be enabled and disabled through the use of the button on the left. For details on how to write a custom kinematics algorithm, see the RCL Programmers Manual.

2.6 The Settings button


This button is used to show or hide the settings panel.

2.7 The Help button


This button is used to open the help file.

2.8 The Load button


This button is used to load a list of commands from a file. Only files ending on .rm501 can be loaded. Warning: when loading a command list, changes to the current command list will not be saved!

2.9 The Save button


This button is used to save the current command list to a file. A command list can only be saved when all commands are formatted correctly and within constraints.

2.10 The New Destination Command Button


This button is used to add a new destination command to the command list. Destination commands are used to move the robot-arm to a position in 3d Cartesian space. New commands van only be added when the application isn't executing another command. See 2.21 for details about the destination command panel.
6/12

2.11 The New Configuration Command Button


This button is used to add a new configuration command to the command list. Configuration commands are used to change the angles of all robot-arm joints. New commands van only be added when the application isn't executing another command. See 2.22 for details about the configuration command panel.

2.12 The New Gripper Command Button


This button is used to add a new gripper command to the command list. Gripper commands are used to open or close the gripper. New commands van only be added when the application isn't executing another command. See 2.23 for details about the gripper command panel.

2.13 The New RoboTalk Command Button


This button is used to add a new robotalk command to the command list. Robotalk commands are used to send raw RM501 drive unit commands directly to the drive unit. New commands van only be added when the application isn't executing another command. See 2.24 Warning: robotalk commands are never checked for security and thus may be dangerous to execute. Also, certain commands can interfere with the functioning of the RCL and RoboTocar, use with care.

2.14 The Execute All Button


The execute all button is used to execute all commands in the command list in sequential order, starting at the first state in the list. The execution of all commands is only possible when all states have been found well formated, within constraints and feasible. If security is enabled you will be unable to execute all commands if one or more commands are insecure.

2.15 The Stop Button


The stop button is used to halt execution. Due to the functioning of the RM501's drive unit execution will only stop after the command that is currently executing has finished.

2.16 The Reset Button


The reset button is used to reset the robot and send it to it's home position. It can be used to recover the robot from the error state (when the error LED on the drive unit is on). In effect this button sends RS and then NT to the robot-arm. See the RM501 user manual from Mitsubishi for specifications of the RS and NT commands.

2.17 The move up Button


The move up button is used to move the selected state (colored light blue) on place up in the command list. When a state is moved up the state, the state below that and the state two places below it are tested for path security again.
7/12

2.18 The move up Button


The move down button is used to move the selected state (colored light blue) on place down in the command list. When a state is moved down the state, the state above it that and the state below it are tested for path security again.

2.19 The Remove All Button


The remove all button is used to clear the command list.

2.20 The log panel


The log panel is used to output information about the status of RoboTocar, the RCL and the robotarm.

2.21 Destination Command

Illustration 3: Destination command screenshot

2.21.1 Errors and warning messages


Moving to this position would harm the robot. This message means that the the command is insecure; the position specified is either to close to the robot-arm center or would move the gripper through the table plane. To execute this command anyway you can turn of the security. ... is malformed. This message means one of the input values is malformed. Only valid real numbers are accepted. "Pitch not within constraints." This means that the value entered in the pitch field is either lower than the minimum or higher than the maximum possible pitch angle. "Roll not within constraints. This error means that the value entered in the roll field either lower than the minimum or higher than the maximum possible pitch angle. The robot-arm cannot reach this position: ... This means that the entered position is either to far away, or the maximum and minimum possible joint anlges of the robot-arm make it impossible to reach this position. The movement between the preceding position in the list and this position would harm the robot-arm: ... This message means that the movement between this position and the position preceding it in the command list would
8/12

harm the robot. Either the gripper would move through the table, or would collide with the robot-arm itself. To execute this command anyway, disable the security. The movement between the current position of the robot-arm and this position would harm the robot-arm: ... This message means that moving to this position immediately (without moving to another position first) would make either the gripper move through the table plane or would make the gripper collide with the robot-arm. To execute this command anyway, disable the security.

2.22 Configuration Command

Illustration 4: Configuration panel screenshot

9/12

2.22.1 Errors and warning messages


Moving to this position would harm the robot. This message means that the the command is insecure; the position specified is either to close to the robot-arm center or would move the gripper through the table plane. To execute this command anyway you can turn of the security. ... is malformed. This message means one of the input values is malformed. Only valid real numbers are accepted. "... not within constraints." This means that the one of the values entered is either lower than the minimum or higher than the maximum possible angle. The robot-arm cannot reach this position: ... This means that the entered position is either to far away, or the maximum and minimum possible joint anlges of the robot-arm make it impossible to reach this position. The movement between the preceding position in the list and this position would harm the robot-arm: ... This message means that the movement between this position and the position preceding it in the command list would harm the robot. Either the gripper would move through the table, or would collide with the robot-arm itself. To execute this command anyway, disable the security. The movement between the current position of the robot-arm and this position would harm the robot-arm: ... This message means that moving to this position immediately (without moving to another position first) would make either the gripper move through the table plane or would make the gripper collide with the robot-arm. To execute this command anyway, disable the security.

2.23 Gripper Command

Illustration 5: Gripper command panel screenshot

2.24 RoboTalk Command

10/12

Illustration 6: RoboTalk panel screenshot

2.24.1 Errors and warning messages


Input field is empty This message means that the input field is empty and thus nothing can be send to the robot-arm.

2.25 Feasibility indicator


This indicator shows if the command is feasible infeasible not checked When a command is infeasible it means that the robot-arm cannot reach the given position because it is either to far away or it is limited by the maximum and minimum angels of the joints.

2.26 Security indicator


This indicator shows if the command is secure insecure not checked . When a command is insecure it means either that this position would move the robot-arm through the table or make it collide with itself.

2.27 The Execute Button


This button executes the command. A command can only be executed if the input values are well formatted, the input values are within constraints and the state is feasible and either it is secure or it is insecure and the security is turned of.

11/12

2.28 The remove command Button


This removes the command from the command list. After a command is removed the state directly below it is checked for security again.

12/12

You might also like