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

From RoboWiki
Jump to: navigation, search
m (Specification)
(Implementácia)
Line 17: Line 17:
 
* 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.
 
* 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.
  
== Implementácia ==
+
== Implementation ==
* Pre implementáciu ramena bolo potrebné upraviť Nasledovné moduly:
+
* For implementation of the gripper was necessary to edit following modules:
# Modul Robot.h, kde boli doplnené premenné hovoriace o výške a roztvorenosti ramena, o stave ramena, v ktorom sa práve nachádza, a enumerovany typ so všetkými možnými stavmi ramena.
+
# 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.
# Robot.cpp, kde bola pridaná funkcia, obsluhujúca rameno. Na základe prijatého paketu rozhodne o ďalšom stave ramena, prípadne o počte jednotiek o koľko bude rameno roztvorené/pritvorené, alebo zodvihnuté/položené. Funkcia pri každej zmene stavu volá metódu na odoslanie správy pre zobratujúce moduly. Táto bol tiež doplnená o informacie o stave ramena
+
# 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, je zobrazovací modul, ktorý príjma správy o pohybe Robotnačky. Bol upravený aby príjmal spravy, v ktorých sa už nachádza informácia o výške a roztvorení ramena. Samotné rameno je zobrazené pomocou dvoch elíps, roztvorenie ramena určuje ich vzájomnú vzdialenosť. Červená zložka RGB farby ramena je určena výškou ramena, zelena jeho roztvorením a modrá oboma premennými.
+
# 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 ==

Revision as of 19:58, 22 June 2009

Cieľ

Našim cieľom bolo implementovať rameno pre Robotické Laboratórium, tak aby bola Robotnačka schopná uchopiť, preniesť a položiť rôzne objekty.

Robotnacka.jpg

Tím

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:
  1. 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.
  2. 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.
  3. 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. Ovladaci panel,tlacitko Connect sluzi na nadviazanie spojenia s Robotnackou. Vyznacene tlacitka sluzia na obsluhu ramena. Pri zapnutom prepinaci A bit sa rameno pohybuje o 1 jednotku.ControlPanel.jpg Kontrolny panel aplikacie
  2. Robotnacka s otvorenym ramenom sputenym uplne dole.OpenDown.jpg Robotnacka s otvorenym ramenom uplne dole
  3. Robotnacka s otvorenym ramenom vytiahnutym uplne horeOpenUP.jpg Robotnacka s otvorenym ramenom uplne hore
  4. Robotnacka so zatvorenym ramenom spustenym uplne doleCloseDown.jpg Robotnacka so zavretym ramenom uplne hore