Difference between revisions of "Gripper Functionality for Remotely-Operated Robotics Laboratory"

From RoboWiki
Jump to: navigation, search
m (Demo)
m (Implementation)
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Goal ==
+
== The goal ==
  
  
Our goal was to implement gripper functionality for [http://virtuallab.kar.elf.stuba.sk Remotely-Operated Robotics Laboratory], so that Robotnacka will be able to grip objects, move and release them again.
+
The goal of my/our project was to implement gripper for [http://virtuallab.kar.elf.stuba.sk Robotické Laboratórium], so that it will be able to gripe, transport and put down different objects.
  
 
[[Image:robotnacka.jpg]]
 
[[Image:robotnacka.jpg]]
Line 10: Line 10:
  
 
== Specification ==
 
== Specification ==
# cielom je implementovat funkcionalitu ramien do robotickeho laboratoria,konkretne pohyb ramena hore a dole, a roztvaranie a zatvaranie ramena.
+
* Firstly, the goal is to implement gripper functionality into robotic labolatory, concretely movements of a gripper up and down, release and grasp of the gripper. The gripper will perform two types of movements:
(aky pohyb rameno prave vykonava - pohyb uplne hore, pohyb uplne dole, uplne roztvorit, uplne zatvorit, posun hore o 1 jednotku, posun dole o 1 jednotku, otvorenie ramena o jednu jednotku, privretie ramena o 1 jednotku)
+
# up and down
# zabezpecit prenos informacii o stave ramena pre zobrazovacie moduly, konkretne doplnit spravy pre moduly o informacie o stave ramena.
+
# open and close.
# zobrazovat rameno podla aktualneho stavu, upravit a doplnit zobrazovacie moduly aby boli schopne prijmat upravene spravy, ziskat z nich potrebne informacie pre zobrazenie ramena a nakoniec ho vykreslit
+
Each of these movements can be done one unit further, or said differentely into maximum level of opening, or closing.
 
+
* Secondly, to guarantee transmission of information on the status of gripper for viewer modules, to be specific, to complete information on the status of gripper into messages for viewer modules.
 +
* Thirdly, to visualize gripper according to current status, edit and complete viewer modules so that they are able to receive edited data, to gain necessary information from them for gripper´s visualization and lastly depicting it.
  
 
== Implementation ==
 
== Implementation ==
# xc
+
For implementation of the gripper was necessary to edit following modules:
# Do modulu Robot.h boli pridane potrebne premenne pre ulozenie stavu ramena, t.j. informacie o jeho vyske a jeho roztvoreni. Pridana bola premenna pre uchovavanie ci a ktoru prekazku rameno zviera.
+
* To Module Robot.h were added variables of height and degree of opening, variables of gripper´s status, which in does it occur and of enumerated type with the all possible states of gripper.
# Takisto enumerovany typ pre popis aktualneho stavu ramena.
+
int g_actualWidth;
# robot.cpp pridana funkcia obsluhujaca rameno na zaklade prijateho packetu - packet s pismenom w,a,s,d, znamena....
+
int g_actualHeight;
# pri kazdej zmene stavu ramena je volana funkcia na odoslanie spravy pre zobrazujuce moduly
+
int g_pointOfGrip;
# V module Robot.cpp bola doplnena funkcia odosielajuca paket s informaciami o aktualnom stave Robotnacky (napr pre zobrazovaci modul) a
+
int g_carryID;
# Do zobrazovacieho modulu boli doplnene funkcie pre vykreslovanie
+
int g_state; // movement type (GRIPPER_MOVE_* from the enum gripper movement)
 +
int g_destination;
 +
enum virtual_robot_gripper_movment {
 +
          GRIPPER_MOVE_NONE,  // not moving (gripper is idle)
 +
          GRIPPER_MOVE_UP,  // executing a positional command
 +
          GRIPPER_MOVE_DOWN,
 +
          GRIPPER_MOVE_OPENING,
 +
          GRIPPER_MOVE_CLOSING
 +
  };
 +
* Robot.cpp, was added the function of operating the gripper. On the basis of received packet, it decides on further status of the gripper, eventually on amount of units, how the gripper will be opened/closed, or lifted/laid. This function calls a method for sending data for viewers modules with every change of status. This was supplied with information of gripper´s status.
 +
* Viewer.java, is viewers module, which receives data about movements od Robotnačka. It was modified to accept reports, which in the information on height and gape of gripper already occurs. The gripper itself, is depicted by using two elipses, the gape of gripper shapes their mutual distance. The red element of RGB colour of the gripper is specified by the height of gripper, the green one by its gape and the blue by both variables.
  
 
== Demo ==
 
== Demo ==
[[Image: OpenDown.jpg Robotnacka so zavretym ramenom uplne dole ]]
+
#Control panel devise, the button "Connect" serves for establishment of connection with Robotnačka. Marked buttons serve for gripper´s manipulation. With commutator A bit turned on, the gripper moves one unit further.[[Image: controlPanel.jpg Kontrolny panel aplikacie ]]
 
+
#Robotnacka with opened gripper laid fully down.[[Image: OpenDown.jpg Robotnacka s otvorenym ramenom uplne dole ]]
 +
#Robotnacka with opened gripper taken out fully up.[[Image: OpenUP.jpg Robotnacka s otvorenym ramenom uplne hore ]]
 +
#Robotnacka with closed gripper fully down.[[Image: CloseDown.jpg Robotnacka so zavretym ramenom uplne hore ]]
 +
== Related links ==
 +
[[Implementácia ramena do Robotického laboratória| Pozrite si slovenskú verziu stránky.]]
 
__notoc__
 
__notoc__

Latest revision as of 21:02, 22 June 2009

The goal

The goal of my/our project was to implement gripper for Robotické Laboratórium, so that it will be able to gripe, transport and put down different objects.

Robotnacka.jpg

Team

Michal Vince

Specification

  • Firstly, the goal is to implement gripper functionality into robotic labolatory, concretely movements of a gripper up and down, release and grasp of the gripper. The gripper will perform two types of movements:
  1. up and down
  2. open and close.

Each of these movements can be done one unit further, or said differentely into maximum level of opening, or closing.

  • Secondly, to guarantee transmission of information on the status of gripper for viewer modules, to be specific, to complete information on the status of gripper into messages for viewer modules.
  • Thirdly, to visualize gripper according to current status, edit and complete viewer modules so that they are able to receive edited data, to gain necessary information from them for gripper´s visualization and lastly depicting it.

Implementation

For implementation of the gripper was necessary to edit following modules:

  • To Module Robot.h were added variables of height and degree of opening, variables of gripper´s status, which in does it occur and of enumerated type with the all possible states of gripper.
int g_actualWidth;
int g_actualHeight;
int g_pointOfGrip;
int g_carryID;
int g_state; // movement type (GRIPPER_MOVE_* from the enum gripper movement)
int g_destination;
enum virtual_robot_gripper_movment {
         GRIPPER_MOVE_NONE,  // not moving (gripper is idle)
         GRIPPER_MOVE_UP,   // executing a positional command
         GRIPPER_MOVE_DOWN, 
         GRIPPER_MOVE_OPENING, 
         GRIPPER_MOVE_CLOSING
 }; 	
  • Robot.cpp, was added the function of operating the gripper. On the basis of received packet, it decides on further status of the gripper, eventually on amount of units, how the gripper will be opened/closed, or lifted/laid. This function calls a method for sending data for viewers modules with every change of status. This was supplied with information of gripper´s status.
  • Viewer.java, is viewers module, which receives data about movements od Robotnačka. It was modified to accept reports, which in the information on height and gape of gripper already occurs. The gripper itself, is depicted by using two elipses, the gape of gripper shapes their mutual distance. The red element of RGB colour of the gripper is specified by the height of gripper, the green one by its gape and the blue by both variables.

Demo

  1. Control panel devise, the button "Connect" serves for establishment of connection with Robotnačka. Marked buttons serve for gripper´s manipulation. With commutator A bit turned on, the gripper moves one unit further.ControlPanel.jpg Kontrolny panel aplikacie
  2. Robotnacka with opened gripper laid fully down.OpenDown.jpg Robotnacka s otvorenym ramenom uplne dole
  3. Robotnacka with opened gripper taken out fully up.OpenUP.jpg Robotnacka s otvorenym ramenom uplne hore
  4. Robotnacka with closed gripper fully down.CloseDown.jpg Robotnacka so zavretym ramenom uplne hore

Related links

Pozrite si slovenskú verziu stránky.