Home
OPRoS Component Composing Tool User Manual
Contents
1. r See E load Template Figure 14 Template Package Popup Menu B Load Template Fetches template components from the path specified in Preferences Template Path All Rights Reserved ETRI Proprietary 2 2 Component Diagram Editor 2 2 1 Layout rF0 01 12H h Select 189 Marquee il Components composite p Component01 5 Composite lt lt atomic gt gt lt eee B Atomic test M CL 9 Required Service Provided Data OutputP ort E Data InputPort gt Event aE OutputPort lt lt composite gt gt B Event InputPort Component Gi 4 Connection Eh Notes eil 3 Note Note Link EL EL nn M IU ET EI Figure 15 Component Diagram Editor B Palette It is a tool that collects components ports and relations available to use on the diagram which users can select components and relations to be created from the palette to create them on the diagram edit window B Diagram Edit Window It is an edit window that users can model application and composite components by adding objects in the palette or solution browser All Rights Reserved ETRI Proprietary a Palette 2s Palette KR select pi Marquee sk Components m Composite m Atamic al Service Reguired Service iS Provided b Data OutputPort EJ Data InputPart o Event
2. Figure 17 Diagram Edit Window All Rights Reserved ETRI Proprietary 22 2 2 2 Create Composite Components a Select the Composite from the palette to create a new composite component H Application diagram x mm 45 Palette p E Select pros Marquee sh Components o Service Required Service Pravided 53 Data OutputP ort E Data InputPort gt Event QutputP ort e Event InputPort a Connection Ery Notes d B Mote w Mote Link Figure 18 Create Composite Components 1 b Click the location to draw the component on the diagram edit window All Rights Reserved ETRI Proprietary A basic component is created on the diagram edit window as below C b i Zb service Required G service Provided D Data OutputPart E Data InputPart gt Event DOutputPart Event InputPort A Connection Mote Link 7 Composite DUE IT 4g BCC Ir T ER CC E Hit gr EHHA St A e d de de n o amp A E 3 e E H W V HEHHEHE PEHE EEEH 1 PERE EEE EEE EEE EEE SSH Figure 19 Create Composite Components 2 All Rights Reserved ETRI Proprietary 24 2 2 3 Create Atomic Components a Select the Atomic from the palette to create a new atomic component H Application diagram x ESCH Palette gt ls select Kon Marquee af Components 1 Campasite Atomig ervi 3 Require Service Pravided 3 Data OutputPart E ata InputPart
3. ComponentO0 aE Components 7 Composite E Atomic ig service Required amp service Provided e Data OutputPart Ej lata InputPart E s a al LU EL Hed uis JED MUT d Event pe EE E E eor ee rer heel dr ful ER 4 Event InputPort A Connection TT TTTTTTTTTTTT ET TT TT TT TNT AT TT TT TIMERE ei ST E SE Note Note Link Figure 67 Example of Developing Composite Components 6 54 All Rights Reserved ETRI Proprietary g Execute the component s Popup Menu gt Export Component to save the component as a XML file Solution Browser 53 i jee uni E a E Solution Bg Component Composing Egi Application j HH Application diagram E E amp pnmnnsite r namnnnantf HH Ca 3X Delete d lt lt Z Component Editing fh Robots OW El il emote BUE Select xml Files lp 127 0 0 13 ol 127 00 1 3 z HRU 9 Bier spem v plugin ml a i Messa a prot oft S 43 Template Figure 68 Example of Developing Composite Components 7 All Rights Reserved ETRI Proprietary h In the solution browser s library the released component can be added to the component repository through the Popup Menu Import Component 3X Select a folder storing the released component files separately because all the lower folders are searched Solution Browser x mu ay e m E Solution ER Ki Component Composing ml Application An Component Editing Robots Ee KS
4. OutputPort Event InputPort ts Connection Eg Notes e 5 Mote Note Link Figure 16 Palette oelect Used when selecting a single object on the diagram edit window Marquee Used when selecting multiple objects on the diagram edit window Composite Used when creating a composite component on the diagram edit window Atomic Used when creating an atomic component on the diagram edit window Service Required Used when adding a Service Required to the selected component on the diagram edit window B Service Provided Used when adding a Service Provided to the selected component on the diagram edit window B Data OutputPort Used when adding a Data OutputPort required to the selected All Rights Reserved ETRI Proprietary component on the diagram edit window B Data InputPort Used when adding a Data InputPort to the selected component on the diagram edit window B Event OutputPort Used when adding an Event OutputPort to the selected component on the diagram edit window B Event InputPort Used when adding an Event InputPort to the selected component on the diagram edit window B Connection Used when connecting a component s port B Note Used when adding a note B Note Link Used when connecting objects components ports related to a note Diagram Edit Window D lt lt atomic gt gt test00 lt lt atomic gt gt MessagePrinter Fe CITT nu rini z cabomic HelloMaker
5. gt Event DOutputPart e Event InputPart A Connection Eg Notes d E Mote w Mote Link Figure 20 Create Atomic Components 1 b Click the location to draw the atomic component on the diagram edit window c When the New OPRoS Component window is appeared to ask about information on the atomic component to be created enter input items and click OK Component Mame Selecting Language MS VE Coe n Figure 21 Create Atomic Components 2 B Component Name Name of the component to be created B Selecting Language Select a development language between MinGW C and MSVC C 25 All Rights Reserved ETRI Proprietary d A basic atomic co mponent is created on the diagram edit window as below i E Te 1 nilaagrarm B R 5 Palette Select r E Marquee EE Components E H4 1 Campasite lt lt atomic gt gt test00 Figure 22 Create Atomic Components Atomic Ze service Required w Service Provided d Data DutputPart E bata InputPart gt Event QutputP ort e Event InputPart A Connection All Rights Reserved ETRI Proprietary e n a different way select an atomic component from the solution browser B solution Browser x c GR Solution E Component Composing cp Application i HH Application diagram Component Editing E Em lt lt atomic gt gt testll liga Local Repository 43 Template Um E Application diagram 53 E
6. Event QutputPort Saas n Event InputP ort A Connection Eg Motes a LELLELELELELELHNELELELELHLELEL ULIELELHLBLLLAG s Figure 25 Create Composite s Ports 1 b Click the component which you want to add a port on the diagram edit window All Rights Reserved ETRI Proprietary dai Mote Link 4 Event InputPort AV Connection a Marquee 7 Composite gt Event DutputPart F t mH _ DH H 7 DH D D D D E H E H CH D D DH D T LI LI D LI Li EF Rr ur py EA dn 1 Ti tri il or D DH H see RI wea o mea D em I e I es A g m a D D D ET E E E 3 BT E ET E a Figure 26 Create Composite s Ports 2 C The corresponding port is added on the top left of the component oe Palette Mar L quee d i Composite Dg Data DutputPart E Pata InputPort KSE e Event InputPart 4 Connection Mote Link Service lt ec Service C serice LIT HILL VO Figure 27 Create Composite s Ports 3 All Rights Reserved ETRI Proprietary 29 In a different way a port can be added by drag and drop as adding an d atomic component Marquee r 1 b i Service Co D wi Tm o gt e E c B Data QutputPart e Event InputPart A Connection Figure 28 Create Composite s Ports 4 All Rights Res
7. l Application Component Editing H lt lt atomic gt gt test fill Robots E Paet Hemote Repository L Connect Repository Figure 11 Repository Package Popup Menu B Connect Repository Enters information on server computer s IP and ports to add a repository server igh Application Component Editing Om S lt tatomic gt gt test o fi Robots E ke Remote EDS E X Delete Figure 12 Repository Popup Menu B Connect Connects to a repository server to read a library and shows it B Delete Deletes the repository server 18 All Rights Reserved ETRI Proprietary 2 1 8 Library Package 3 Solution Browser x 18 TX mi m E Component Composing Ga Application 3 Component Editing E o Robots E Se E BEES E pe m E Wc Refresh Templa 5 Preferences I Figure 13 Library Package Popup Menu Import Component It can fetch atomic and composite components in other folders to the selected folder Refresh If content of the folder storing components is changed it reads new information on the changed folder and reflects it B Preferences Hefer to the preferences 2 1 9 Template Package IRL m Em O Solution Browser 7 7 B i E Solution E Component Composing f l Application Component Editing ia Robots m Remote Repository Local Repository aim mm
8. lt lt atomic gt gt HelloMaker TUNE UOTE EE ees amp 9 atomic MessagePrinter HelloMaker al Composite Atomic m lt lt composite gt gt Component E EI lt lt composite gt gt ComponentO1 S Component Editing service Robots 3 Required m Remote Repository Q Service lig Local Repository Provided fe HellaMaker g Data OutputPort EEGEN Br EJ Data InputPort E profile lt lt composite gt gt lt lt composite gt gt amp 9 lt lt atomic gt HelloMaker Componento P Component01 3 F EE MessagePrinter WI ES MessagePrinter Event InputPort PE profile amp Connection amp 8 lt lt atomic gt gt MessagePrinter F 43 Template By Notes DB Note Ne Note Link ili gt Figure 72 Example of Developing Applications 2 All Rights Reserved ETRI Proprietary c Applications can be released by executing the Popup Menu gt Export Application of the application package Specify a location to be released and press the OK EDGE A CSS e aaa aaa El e amp t an ui EN e Solution Browser x EE sl E E Solution EE Component Composing GR HA App Export Application CE T 3 Delete ER a Deploy um ge Deployitar E TT Comet TE eer CITT F HE I E Component Editing 1 PK select Folder HE SG CH UI EM d mycom s amp LW WES 22 i 6 3i Mel m ip 254 Hae Figure 73 Example of Developing Applic
9. preferences window File Edit Navigate Search Project amp Preferences general Ant Latz Help Install Update Je 3 OPHOS Component Composer OPRoS CC Compile PRaS CC Copyright Oppe CC Directory Component Editor Plug in Dpeetommmmg Provisioning amp dmin Remote Systems Report Design Run Debug Tasks Team Usage Data Collector Validatian AML d Ei LR Ed LS EIL E El E E E REI EL TEE Run TaoolRun OPRoS CC Direc Folder setting Local Repository F Template Path Window Hel New Window Open Perspective Show View Customize Perspective Save Perspective As Reset Perspective Close Perspective Close All Perspectives Navigation Preferences Deploy Option for Component Release O Debug Figure 3 Preferences boi Browse Browse Restore Defaults b When specifying a physical path of a library in the preferences window the specified path is reflected into the solution browser s library package area to be shown C Specify the path to the corresponding program s executable files for the executable file path All Rights Reserved ETRI Proprietary 2 1 3 Solution Package E Solution Ea Comp New Project Fy EE Comi EI Save Project amp G Robo Open Project D Sa Rembesrepssner i Local Repository Template Figure 4 Soluti
10. ETRI Proprietary d When pressing the tree expansion button on the left of the Service port type profile you can see the created type Define Service Type OPRoS Service Types service port type profile Service FileName Figure 39 Add Method Type 3 All Rights Reserved ETRI Proprietary e After selecting the created type and opening the popup menu select the Add Method to open a window to create methods amp Define Service Type OPRaS Service Types service port type profile Add Method Delete service File Name E Figure 40 Add Method 1 f Enter the Service Name Return Data Type and Call Type and create the method Input New Service Service Mame Return Data Type void v Call Type Blocking v Figure 41 Add Method 2 B Service Name Enter a name of the method to create B Return Data Type B Call Type Enter description about the port All Rights Reserved ETRI Proprietary g After selecting the created method select the Add Method Parameter to open the Create Parameter window amp Define Service Type E OPRoS Service Types m service port type profile 3 test test vold blocking Add Method Parameter Delete Service File Name Figure 42 Add Method Parameter 1 h Enter the Parameter Name and Data Type to create the parameter amp Input New Service Parameter Mame Parameter Data Type mt Figure 43 Ad
11. Example of Developing Composite Components 2 52 All Rights Reserved ETRI Proprietary c The internal diagram of the default component created is opened E pplication diagram F lt lt composite gt gt Component i 1 1 1 1 5 i 1 s 1 i 1 1 s 1 ME rit Marsuee Components 7 Composite E Atomic fp service Fequired Cc Service Provided 3 Data QutputP ort E Data InputP ort Event PA lori Event InputPort A Connection Ey Notes B Mote d Mote Link Figure 64 Example of Developing Composite Components 3 d Drag and drop components in the Library or Repository to add them into the diagram edit window f PEET EE VAERE FEN STA pee NETS A 7m Application SEE TE Hi ComponentO diagram 3 a Solution B K Component Composing B La Application B 2 H Application diagram B lt lt composite gt gt Compone i HH ComponentO diagram be Component Editing Robots m Remote Repository EA 127 0 0 1 30000 Wi MW FaceSensoro Ca e e Local Repository o EE HelloMaker amp E HelloMaker S profile Fo x EI rel yu e E MessagePrinter 3 Template composite gt gt Component SS Ee _ m III mor SS H 5 Palette b g Select I Marquee k Components lt 5 Composite 83 Atomic Service Required Service Provided 23 Data OutputPort El Data InputPort QE nt e Qu
12. KS added on the top left of the component quee L v i 7 Composite 9 service Required cervice C enice lt lt atomic gt gt D Data QutputPart testoo E Lata InputPort Event en por Event InputPart A Connection Mote Link Figure 34 Create Atomic s Ports 3 e A port can be added by drag and drop as adding the Composite s ports v i 7 Compasite m I er og Service C D Data QutputPart E Lata InputPort gt Event QutputPart Event InputPort A Connection Note Link Ports 4 omic s Figure 35 Create At All Rights Reserved ETRI Proprietary 36 2 2 6 Create Types a Press the New Type or Import button to open the Create window Define Service Type OPRos Service Types Ecervice port type profile Service File Name Figure 36 New Type or Import Dialog B Service File Name A name of the xml file to store the created type B Import Fetches the type xml file from the outside All Rights Reserved ETRI Proprietary b Click the right mouse button on the Service port type profile to open the popup menu amp Define Service Type OPRoS Service Types E Service port type protif Service File Mame Figure 37 Add Method Type 1 C Select the Add Method Type and enter a type name Input New Service Service Type Name Figure 38 Add Method Type 2 37 All Rights Reserved
13. 2 3 4 21059 An Example of Developing Appltcatonms 58 An Example of Interworking with Component Editors 60 Am Example or DODO usua t tat a rct Orr e at dd 62 EAN NE PN 67 All Rights Reserved ETRI Proprietary Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure Figure 8 Figure 9 Figure 10 Figure 11 Figure 12 Figure 13 Figure 14 Figure 15 Figure 16 Figure 17 Figure 18 Figure 19 Figure 20 Figure 21 Figure 22 Figure 23 Figure 24 Figure 25 Figure 26 Figure 27 Figure 28 Figure 29 Figure 30 Figure 31 Figure 32 Figure 33 Figure 34 Figure List Overall Structure of Composing Kee g SOUTUOM Ee 10 misisse c MN T MT 12 NPR 15 Component Composing Package Popup Miu 14 Application Component Package Popup Mem 15 GE ei e e KO Component POPUD METU eebe 16 Component Edit Package Popup MENU E 17 Component Edit Component Popup MOTIU s ett rrt t t te tee I Repository Package Poppo Pd va PER E EE RUP Fatis 18 FEN PORN MN 18 Library Package Popup Menu snot Ep ob toe I9 Tompalle Package NN 19 S ompohenbbIagranm TEE nitate ini mie BM 20 FUN eund DIM MM I M iE 21 BEEN ETNE 22 Oredte COMPOSte COMPONENTS stet seite stows stars state sates aun t t tet 23 Ee COMPOSITE ee 24 ET le eng ee cd EE o nice aes y Greate EE 5 9 00 eege 25 HEGGEN O16 do Alc SN RE EEE EE AE ee 26 GENENE ee 4 santas aes 27 Create Atomic Components e Ended dece d e a et e ed 2 G
14. Application AAW Application diagram F lt lt atomic gt gt testO0 ST Component Editing B ig Robots CG fae Q robot C T2 ef node g acy Remate Repasitory S Pa Local Repository Es 3 Template lt lt atomic gt gt test00 All Rights Reserved ETRI Proprietary Execute the Application Package s Popup Menu Deploy to deploy the component into the node You can execute one node or all the nodes at a time Solution Browser x Z E I EE E lz Salutian D E E SE Fomposing am E Export Application a lt lt S Delete Compone EB md Remote Repository ia Local Repository gt Template Figure 82 Example of Deploy 5 The released result can be checked on the Console window Sj Task view im Console EE em NENNEN ER EEEE NEE EEER ENN EEN EE ieee NEE KEREN E EE EEE ENKER EE ER EE EELER E Ke Fe SE xml satiin AW SE Application sml size 0 i imens M a size 4944 d AH Se Application Componenti sml size U ok IE BS Applicationt Componenti view xml size 336 d AH Ste Application omponent view sml size O ok LIE Eu Figure 83 Example of Deploy 6 All Rights Reserved ETRI Proprietary m Execute the node s Popup Menu gt Get Application List to fetch the application list from the repository of the computer connected with the node and indicate it Solution Browser x e gn E amp Solution E Component Composing f l Appli
15. E lt Palette D s Select rit Marquee ak Components 7 Composite 5 Atomic service Required Service Provided D Data DutputPart E Pata InputPort KE Event InputPart A Connection ES Mates ei E Note Es Note Link Figure 23 Creates Atomic Components 4 f Drag and drop it to the diagram edit window while clicking the mouse 3 solution Browser Se c a Solution a Component Composing fl Application HR Application diagram cg Component Editing ER E atomic test Zi Robots E m Remote Repository gj Local Repository A Template SH Application diagram EXC SE 2 Palette gt K Select Si Marquee k Components o 7 Composite E Atomic Service Required EEE Service SE testi Provided e Data QutputP ort E Pata InputPart KH Event InputPart amp Connection Er Notes 29 E Mate We Mote Link Figure 24 Create Atomic Components 5 g When releasing the mouse button an atomic component is drawn on the diagram edit window 27 All Rights Reserved ETRI Proprietary 2 2 4 Create Composite s Ports a Select a port to be added from the palette H Application diagram 33 gt CR TTT T I amp Palette b EELELEEEE Select ELE Marquee RSR SE Components al HHT Composite SPES 25 25 252228 252828 2528282523285 F Atomic ene ge lt lt com posite se Component O EE Provided 1 AJ Data DutputPort E Data InputPart gt
16. OPRoS Component Composing Tool User Manual 2011 8 29 T RI SZ MIA ENOAT www etri re kr 1 All Rights Reserved ETRI Proprietary Document Information Affiation Fen Drafter Fellow Reviewer QA Reviewer Revision History All Rights Reserved ETRI Proprietary Table of Contents Um e 2 adr m 8 VIT How to Use This User Manual erreser eree nerea E EEEE EEEE SA 8 ee I 8 12 MOW EE 8 EE MEE ee E 8 telst WUsef kInN 0 UON E 8 2 Component Modeling and Overall Structure of the Composing Tool 9 2 1 0 ULL SL TOWS EE 10 2 1 1 SOMONE POW Sl SUC HI 10 GE EE EE OF AAA RAJAA S14 oc 1 Solutio Ber Le 13 212 Component COMPOSING PSeKSOBus E 14 2 1 5 Application Component Package cccccccseecccceseccceceeeeceeseeeesesaeeeeeeenees PS 206 COMPONEN Edit PAN eene 17 2 REPOSO PACKI G RET D D T 18 erg Mra Pa E 19 E GN Ce ee et 19 2 2 NNN 20 EE NN 250 Ae redte Comiosite NPE 23 223 Greate ATOMIG COMPONEN BSS 25 2 2 4 Create Composite St POTS HR 28 MEN 31 FEN 20 22 NNN 42 NNN UNN 44 Zee NOEN NNN 45 2 2 10 Change Component SizeS rrrrrrnnnnnnnnnrnnnnrnrrnrrnnnnnrnnrrnnnenrrnrrnnnsenrrnsnnnsesssen 46 PET Change Component NEIE 47 MN 48 2 220 Component POPUD MU Lygren nen Een iii 49 2 9 n OR NERE NR NN NN ne eee 52 2 3 1 An Example of Developing Composite Components rrrrrrnrrrrrrnrnnnnrrrnnn DE All Rights Reserved ETRI Proprietary 23 2 3 9
17. Remote ER H P rue EB Li nn m MA n E ee SO Santa PE E E E E EH Figure 69 Example of Developing Composite Components 8 56 All Rights Reserved ETRI Proprietary It can be seen that the component is added to the component repository SEA 15 Solution Browser 53 m E Solution E Component Composing ta Application Ga Component Editing i Robots ea Remote Repository C a Local Repository a HelloMaker Figure 70 Example of Developing Composite Components 9 All Rights Reserved ETRI Proprietary 2 3 2 An Example of Developing Applications a Double click the Application diagram in the Application package to open it 1 Solution Browser a Solution f Component Composing f l Application meee Application diagram Component Editing fil Robots amp amp 4 Remote Repository ba Local Repository ao be HelloMaker mfg MessagePrinter Template Figure 71 Example of Developing Applications 1 Add components to the diagram edit window The atomic components in the library or repository can be added Or composite components made in the application package can be added directly or by importing them to the library Solution Browser 52 t lt gt Cii Application diagram 53 i SS i I EXT E EG Solution Ir Palette P El Component Composing um Application i Select E Application diagram VESENET yt Marquee amp f
18. ame of the port B Type Name Specify a type All Rights Reserved ETRI Proprietary B Description Enter description about the port B New Type or Import Add a new type refer to the Create Types B Service Port Type List Select a type created B Data Port OPHoa5 Data Port Dialog Input Data Port Name DataType Usage input Reference Policy QueueSize Description lt Clear Reference gt Data Type File List lt NewType or Import lf da addition you need to modify or regenerate source Clem Figure 32 Data Port Dialog Name Enter a name of the port Data Type Specify a type Policy Specify a policy Queue Size Specify a queue size Description Enter description about the port Clear Reference Initialize data types and references New Type or Import Add a new type refer to the Create Types Data Type File List Select a type created 33 All Rights Reserved ETRI Proprietary C Event Port OPRoS Event Fort Dialog Input Event Port Name ll DataType v Usage input Description If da addition you need to modify ar regenerate source Figure 33 Event Port Dialog B Name Enter a name of the port B Data Type Specify a type B Description Enter description about the port All Rights Reserved ETRI Proprietary d When pressing the OK button to close the dialog the corresponding port is H vi m i
19. ations 3 59 All Rights Reserved ETRI Proprietary 2 3 3 An Example of Interworking with Component Editors C After selecting the Atomic Component on the palette drag it to the diagram or click a desired location H Application diagram 53 EE sz Palette D bs Select V 2n Marquee sE Components m E Composite eC Atornic T Service E 2 Required Service Provided OH Data OutputPort E Data InputPort Event QutputPort e Event InputPart d Connection Eg Notes di E Note w Mote Link Figure 74 Example of Interworking with Component Editors 1 d When clicking the OK after selecting a name of the component to be created and a development language MinGW C MS VC C the component is created Component Mame Selecting Language IMSVC C we Figure 75 Example of Interworking with Component Editors 2 60 All Rights Reserved ETRI Proprietary mm m EE MEE somma ES LI J ee Ti Sch O a Solution Browser im k Solution E E Component Composing ES d See D ga Remote Repository fj Local Repository Template Figure 76 Example of Interworking with Component Editors 3 e After adding ports required for the component click the Open Component Edit on the Atomic Component popup menu Solution Browser x OI xu ee H B Solution ER Component Composing gi Application AFA Application diagram E lt lt atomic gt gt testOO c Es Component Editing x Bn pre
20. cation H Application diagram E lt lt atomic gt gt testl0 Ex Component Editing da Robots roboti ei Remote T Get Application List fj Local Repos Delete quM C Template DL E ep Figure 84 Example of Deploy 7 n lf succeeded in fetching the application list an application package is created below the node and the server s response information is printed on the console window If failed a message of Connection is Failed is appeared IO Solution Browser x E Task View xi B Console EN E Solution Q UB S pieron T pon ERUIT E Component Composing d AH Sc Application sml MessagePrinter sml c Ga Application H Application diagram lt lt atomic gt gt testOD sg DA gt Component Editing O G E E Task view SN CET pg Figure 85 Example of Deploy 8 65 All Rights Reserved ETRI Proprietary O Application List Menu GG Robots Robots a roboti a roboti ef nodel 2 ef nodel fe pplication Ga dis i39 Run Application mh Stop Application e noi Delete g nodi Get Application State CHA Renn sit ee a Repository Get Component List Delete Figure 86 Example of Deploy 9 Hun Application Executes the stopped application Stop Application Stops an application in execution Get Application State Prints state of the application in execution on the console window B Get Component List Fetches a list of components included
21. corresponding component can be monitored quee Mar L K i lt lt atomic gt gt 7 Composite testi Service Required Delete Node Service G en 3 Data QutputP ort e Aun Monitoring KI Data InputPart Lm Cc Z er pm Cc er CL c Cl gt Event OutputPort TT Ch Event InputPart A Connection Nate Link Figure 91 Example of Monitoring 5 It is executed as below u quee Mar i h Components A C E px fa Vi wv 7 Composite Gal 2 nm NI qu ven S service Required Service C Sed D Data QutputPart Ej lata InputPart Event e o od Event InputPart A Connection Note Link Figure 92 Example of Monitoring 6 All Rights Reserved ETRI Proprietary 70 If pressing the Popup Menu gt gt Stop Monitoring the monitoring can be stopped A KE Select EE Marquee testi a service X Delete Required Delete Node G service Provided OpenPropert a RU Cy Pate OutputPort F Lata InputPort S Event DutputPart n Event InputPart A Connection Debug As Ba die Profile s gt Nate P Nate Link Figure 93 Example of Monitoring 7 All Rights Reserved ETRI Proprietary
22. d Method Parameter 2 40 All Rights Reserved ETRI Proprietary When entering the created type name into the Service File Name and clicking the OK button it is completed Define ServiceType OPRoS Service Types service port type profile test testi vaid blacking testiint Service File Mame test Figure 44 Completion of New Type or Import j When selecting the created type from the Service Port Type List and the type name from the Type Name it can be used OPRoS Service Port Dialog Required Service Part Name Type Name Usage required Description service Port Type List NewType or Import asas xml EST EE Click Here If do addition you need to modify or regenerate source Figure 45 Type Select All Rights Reserved ETRI Proprietary 2 2 7 Connect Connections a dst the Connection from the palette m TE E BAN gt Palette iw rs ET kan a RN nd Select ETT pot i T T Marquee lt lt atomic gt gt HE BE ir E testoo a 7 Composite 953 Atomic Service Required Service Provided D Data QutputPort PI Data InputPart gt Event DutputPart e Event InputPart Figure 46 Connect Connections 1 b After selecting a port of the source component on the diagram edit window move the mouse to select a port of the target component 5 Palette H HH lt lt atomic gt gt testO00 KO inne SEEN Eg LEN E lt lt atomic
23. erved ETRI Proprietary 30 2 2 5 Create Atomic s Ports 1 Mar L a Select a port to be added from the palette quee ERE T C a E b i m Composite lt lt atomic gt gt testut Event InputPort A Connection E Data InputPart Gp Event OutputPort Mote Link Figure 29 Create Atomic s Ports 1 b Click the component which you want to add a port on the diagram edit window All Rights Reserved ETRI Proprietary 31 EB Applic ation diagram xd h zz Palette ls Select r 1 riu Marquee SE Components o 1 Composite og tomie OE Serdce Required IL LILLLLELLLI Service lt lt atomic Provided testoo PJ Data OutputPort E ata InputPart gt Event QutputP ort L EELELELELELELELELELELELELELELELLL Event InputPont EI ss GO Os Gs NENE ka O ER SEE REN SE By Notes el HHT pg Note HELELELELELELELELELELELELELELELELEL Jom Figure 30 Create Atomic s Ports 2 C Forthe Atomic unlike the Composite a dialog window is appeared to enter a name properties etc of the port A Service Port O PRoS Service Port Dialog Required Service Part Name IL Type Name NotReference w Usage required Type Reference Description Service Port Type List Mew Type or Import It da addition you need ta modify or regenerate source Figure 31 Service Port Dialog B Name Enter a n
24. ge Component Sizes a lf dragging the handle bound of a component while clicking it the component size can be changed ih Components lt gt 7 Composite Atomic Le service Required Service Provided CH Data QutputPart E Data InputPart gt Evert QutputPort Event InputPort De Connection w Mote Link Figure 53 Change Component Sizes 1 LU CH Fur EE Marquee amp E Components o 7 Composite lt lt atomIc gt gt ze dad ed Jed gt i n EE CC Atomic BE Service Required Service Provided 3 Data DOutputPart EJ Lata InputPort gt Event QutputPort Event InputPort A Connection E Mote Note Link Figure 54 Change Component Sizes 2 46 All Rights Reserved ETRI Proprietary 2 2 11 Change Component Names a If double clicking the name area of a component on the diagram edit window a text edit window is created and the name can be modified H Application diagram Se GR we Palette gt Ls Select EE Marquee a Components 5 1 Composite 83 Atomic d service Required Service lt lt composite gt gt Provided Component ol 3 Data OutputPart E ata InputPart Event DOutputPart Event InputPort A Connection Eg Notes d B Mote w Mote Link Figure 55 Change Component Names 1 b After selecting a component the name can be modified through the name property on the properties window EiPrepe
25. gt gt test 1 a H 4 H FH m CRT PE 4 m TH RS Wu Ra Ach Rat hs select Fil Marquee E SR Components Ea Composite CT Atomic service Required Service Provided D Data OutputPart Data InputPort KSE e Event InputPart N Connection Figure 47 Connect Connections 2 All Rights Reserved ETRI Proprietary C Two ports are connected with a line quee 31 Mar a 1 Campasite Service Required i Service br 3 Data DutputPart A A VM S kne n v d testi 1 leche KA E Event DOutputPart gt e Event InputPart Lt BEER mi EE BRE A Connection Mote Link H H cco LL mL T TI Figure 48 Connect Connections 3 X Lines must be attached with the direction of connections as below Service Provided a o Sg Ola CC eg o gt amp Qa c DIO Data InputPort Event InputPort Event OutputPort All Rights Reserved ETRI Proprietary 43 2 2 8 Connect Note Lines a Select the Note from the palette to create it on the diagram edit window Bl p plication diag ram 3 lt lt atomic gt gt testo amp Palette gt s Select ek Marquee e Components m 7 Composite Si Atomic di service Required cervice Frovided D Data OutputPort Ej Pata InputPort KSE Event InputPort A Connection Ex Motes 2o B Nate d Note C
26. in the application to show it All Rights Reserved ETRI Proprietary 2 3 5 An Example of Monitoring p Execute the Robots Popup Menu gt Add Robot to add a new robot O Solution Browser 23 gt ay SE m Solution ER Component Composing B Application H Application diagram F lt lt atomic gt gt test00 fg Component Editing Figure 87 Example of Monitoring 1 q Execute the added robot s Popup Menu gt Add Node to add a new node All Rights Reserved ETRI Proprietary EL UE EE e Solution Browser x Pheu tye mE E 2 Solution Eg Component Composing LG B ip Application bes H Application diagram EE S PY atomic gt testll xg Component Editing zd Robots Figure 88 Example of Monitoring 2 All Rights Reserved ETRI Proprietary Enter IP and Port information into the node Parkana Robots robot Port 2003 Figure 89 Example of Monitoring 3 Drag and drop the node to add it into the component ae Solution Eg Component Composing i p Application Be HH Application diagram 88 lt lt atomic gt gt testO0 ST Component Editing B f Robots B 9 robot JE e DEER B TC Remote Repository S Pa Local Repository Template lt lt atomic gt gt test00 All Rights Reserved ETRI Proprietary If clicking the Run Monitoring on the popup window of the component to be E monitored the
27. lick Figure 49 Connect Note Lines 1 b After selecting the NoteLine click the Note and a component or a port to connect them the NoteLine is not distinguished between sources and targets unlike the Connection E pplication diagram x lt lt atomic gt gt testo Palette p E Select CH EN Marquee sh Components m E Composite E Atomic Ze service Required cervice Provided 3 Data OutputPart E Data InputPort KSE e Event InputPart um Connection ES Motes B Mote x Note Link Figure 50 Connect Note Lines 2 44 All Rights Reserved ETRI Proprietary 2 2 9 Move Components a When dragging a component after selecting it by the mouse it is moved quee Mar L d Composite lt lt atomic gt gt Zb service Required i Service C Provided D Data OutputPart E Data InputPart gt Event DutputPart amp Event InputPart sch Connection Bis ere BEE Note Link Ee CT Figure 51 Move Components 1 i Fel Composite ervice equired Service Provided D Data OutputPart E Data InputPart Event 9 DutputPart uU S el fe i e Event InputPart m Connection Note Link Figure 52 Move Components 2 it can be moved after selecting a component Alt arrow keys If using the b minutely All Rights Reserved ETRI Proprietary 45 2 2 10 Chan
28. loping Composite Components a Create a composite component below the package C3 Solution Browser 23 SS EH Application diagram 83 se Palette b EE Solution I Select gll Component Composing g T WT rit Marquee i EH Application diagram SE Components Og Com iti C omposite lh Robots DE lt 3 Remote Repository Atomic f Local Repository Service 43 Template Required CS service Ti Provided 23 Data OutputPort E Data InputPort 9 Event QutputPort D Event InputPort pa Connection Ey Notes D Note e Note Link Figure 62 Example of Developing Composite Components 1 b Open the internal diagram for editing the component double click the component s internal diagram in the solution browser or use the Open Diagram from the popup menu of the component on the diagram edit window ij Solution Browser 53 og or ee amp E Solution ER Component Composing E Gei Application HH Application diagram E E lt lt composite gt gt Compone Best ompone nt diagram ig Component Editing ble Gi Robots H a Remote Repository e e E Local Repository E Application diagram 3 n Template lt lt composite gt gt ComponentO it Delete Component diagram E Open Diagram 22 ej OpenProperty IE Open Monitoring Dialog IB Run Monitoring ES Stop Monitoring H4 z rder Run Ae k Debug As k Profile 45 Figure 63
29. me Rob 3 Delete eh Rem Synchronization Sa Loc gt Open Component Edit b 43 Tempra Hl Figure 77 Example of Interworking with Component Editors 4 f You can see that it is changed into the component editor as a component editor project for the corresponding component is created refer to the component editor manual for how to use the editor All Rights Reserved ETRI Proprietary 2 3 4 An Example of Deploy g Execute the Robots Popup Menu gt Add Robot to add a new robot ID Solution Browser x be t D GE Solution EG fl Component Composing 9 Application FB Application diagram atomic gt testO0 nm d Component Editing Figure 78 Example of Deploy 1 h Execute the Popup Menu gt Add Node of the added robot to add a new node mms GK FEE a Solution Browser E3 G Se E j ob Solution fl Component Composing S Application H Application diagram RY lt lt atomic gt gt test D Ca Component Editing eh Robots tomm Ed Remote 3 amp Delete S Ia Local Add Mode kd ig Template Add Node Figure 79 Example of Deploy 2 62 All Rights Reserved ETRI Proprietary Enter IP and Port information into the node Parkana I Robots robot Pot 2003 Figure 80 Example of Deploy 3 Ear and drop the node to add it into the com ws E Solution Eg Component Composing rg p
30. n Browser 7 toL m Solution 58 gl Component Composing JS P Application 4 Application diagram lt lt atomic gt test amp composite Component E lt lt composite gt gt ComponentO1 ET amp Component Editing SES amp B lt lt atomic gt gt test MM J 8 i Robots sog ef Node amp Remote Repository iy 127 00 1 30000 fig Local Repository E HelloMaker R MessagePrinter lt 3 Template Figure 2 Solution Browser When executing the tool it shows the solution browser as the above structure solution Package Saves or opens projects and creates new projects Component Composing Package Adds new application packages and diagrams B Application Component Package Models application components on the main diagram Component Edit Package Creates developable or editable components Robot Package Manages robots and each node of robots Hepository Package Accesses to a remote server computer to fetch libraries 10 All Rights Reserved ETRI Proprietary stored in the server and shows them Library Package Fetches information in folders specified as the library folder in preferences and shows them Template Package Fetches samples of applications or components folders specified as the template folder in preferences and shows them All Rights Reserved ETRI Proprietary 2 1 2 Preferences a Select Window gt Preferences on the top menu of Eclipse to open the
31. ner Tr es ree 65 PENNE TEN SSS 65 EE ENN 66 BONDEN MOHONO Vernon 67 Example of Monitoring 3 68 PETE TOT Jr 69 Example of Monitoring A 69 r fe AA ON ONA Le EE 70 ENN 70 Example MON EE SCH All Rights Reserved ETRI Proprietary 1 Overview The robot component composer tool has functions to fetch the developed OPROS components assemble them develop composite components and applications and distribute the created applications 1 1 How to Use This User Manual This manual is written to follow easily along with the OPROS job training and materials for beginners of the OPROS This user manual describes each item of the component composer tool in detail adds figures to every item and you can find a page number of the corresponding item through the table of contents 1 1 1 Purpose This manual explains easy to follow how to install the component composer tool how to use it basically and how to manage it 1 1 2 How to Use If you have already installed the Eclipse refer from Chapter 3 1 1 3 Appendix The appendix simply explains terms easily confusable in this document 1 1 4 Useful Information Easy to use methods are provided with a mark of TIPS for each item All Rights Reserved ETRI Proprietary 2 Component Modeling and Overall Structure of the Composing Tool PL Bun Toolfiun am E D lenior dam iu E 8 Outline zz SS Paletta p CCalpmic gt test f E S
32. olution Select 3 S Edegem aber 3 B Component Composing prese amp amp compasite Componer igi Aaplication A i Application diagram E Components z atamic gt tend ff Composite D i compasite Camipanr 44composite gt Compani precii omg Component Editing lt lt composite gt gt dg Service Robots lt lt atomic gt gt Componenti Required amp ta Remote Repository UM S C Cie lp Local Repository rovided CH Template D Dap OutputPort E InputPari gt Event uitput ort e Event InputPort B Connection y Motes D Note s Note Link Hom E Properties 5 DI Console pt EG Property Value Component Into Name Application diagram EI Task View H DU Des zi Open CMDocuments and SettingsWilserWwHHsr SHAW Solution nrd E 4 Fr HASJ m Figure 1 Overall Structure of Composing Tools It is comprised of the solution browser which models application and composite components and manages library folders the description window which can see description for each component the component diagram editor which can model composite components the component diagram editor tree window which can identify model elements of a component diagram the console window which shows the progress of a project s source and the task view that shows the progress of modeling 9 All Rights Reserved ETRI Proprietary 2 1 Solution Browser 2 1 1 Solution Browser Structure Solutio
33. on Package B New Project Terminates the existing project and creates a new project B Save Project Stores the project B Open Project Fetches a project All Rights Reserved ETRI Proprietary 14 2 1 4 Component Composing Package I JE EEE NE EE EES ar See Solution i Compone Eh Robots sm Remote Repository fg Local Repository J Figure 5 Component Composing Package Popup Menu m Add Application Creates a new application package and a dialog All Rights Reserved ETRI Proprietary 2 1 5 Application Component Package a Package Popup Menu Se HOMERO munus mm manc IO Solution Browser XN hoss zj E le Solution Eg B Component Composing Hi r Application Com Gy Export Application Robo Delete Ge eet e Kr Ki C3 Depioutian Temes D Figure 6 Application Component Package Popup Menu B Delete Deletes the selected package B Deploy Deploys the selected package ey Solution Browser x di Umm Select Folder uk Solution E Ki Component Composing hs pli i H tu Ex port amp nnlicatlan LE Tx d MX Delete ke E m d Deploy A B Deployttar k P E EE E I Figure 7 Export Application B Export Application Able to distribute the selected application after choosing the specified folder All Rights Reserved ETRI Proprietary b Component Popup Menu m Ee Solution a Componen
34. ping Composite Components 2 1ui iet enn OZ Example of Developing Composite Components 3 D3 Example of Developing Composite Components 4 09 Example of Developing Composite Components D 04 Example of Developing Composite Components 6 ee o4 Example of Developing Composite Components 7 sense DO Example of Developing Composite Components 8 em D6 Example of Developing Composite Components 9 eese Od All Rights Reserved ETRI Proprietary Figure 71 Figure 72 Figure 73 Figure 74 Figure 75 Figure 76 Figure 77 Figure 78 Figure 79 Figure 80 Figure 81 Figure 82 Figure 83 Figure 84 Figure 85 Figure 86 Figure 87 Figure 88 Figure 89 Figure 90 Figure 91 Figure 92 Figure 93 Example of Developing Applications Ico coco deett ea teo be Se be ke tat visis 58 Example of Developing Applications uu ao doo de do do e d a ot oe D8 Example of Developing Applications Eet D9 Example of Interworking with Component Editors 1 ee 60 Example of Interworking with Component Editors 2 reri 60 Example of Interworking with Component Editors 3 eem 61 Example of Interworking with Component Editors 4 61 EEE 62 DEO E E OlOV a RTTE TEETE 62 POPE arr 63 Example of Deploy Fini uses etes vint r aet ret et eee emm aae ebbe eere UE 63 Exam pl ev0l Deploy 5 cete tr ten tr e a e e a tr e C RN 64 Example e EE 64 ETEN me rrr rr tern re ret
35. reate e ee sce M NN RR 28 EES 29 Create COP E EE 29 NNN 30 NNN PO 31 HEEL S 20 EEE 32 EE EE EE 32 PT vr 33 Fe POL DIO GN 34 HEEN ee 39 All Rights Reserved ETRI Proprietary Figure 35 Figure 36 Figure 37 Figure 38 Figure 39 Figure 40 Figure 41 Figure 42 Figure 43 Figure 44 Figure 45 Figure 46 Figure 47 Figure 48 Figure 49 Figure 50 Figure 51 Figure 52 Figure 53 Figure 54 Figure 55 Figure 56 Figure 57 Figure 58 Figure 59 Figure 60 Figure 61 Figure 62 Figure 63 Figure 64 Figure 65 Figure 66 Figure 67 Figure 68 Figure 69 Figure 70 Ecc E etie m DD Now TYDE or et et EI e doas dos dedidit dada dane dita ake 36 TT S AO MENA A WOE 2 37 ee Mt T E TT 38 oe Eeer E NS NN EE 39 lee RR 39 Add Method Parameter 1 erre rera ever eroe re te ee or e ee EE 40 AMP MT eg AO Completion onNew Type IN PL Al ee 4 Connect Connectloris eege ege RR RR PE E ee 42 EE EE EE S mm 42 EE E GO SON NE TE eegen 43 ENER NE NES Toss tivo REPE b bo o pb t et opo 44 NENNE 44 NONE NN DOSES esteso n n ERES EDS 45 Move Components 2 EN EEE 45 nange Componenl oZES llana s hb dos 46 Change Component SS eee 46 Gaange COMPONEN cin CT C anes keon kien R AY Sacer SG ON NBI D MICI S ee A7 MOVE Ee 48 PU 48 COMPONAT Pe No c E E 49 Ge NERE EE do o tot tot t e o0 Gog eee glare DI ero em NN RU UNS ol Example of Developing Composite Components 1 ees J2 Example of Develo
36. ries 3 E Console o tele BY Property Value Component Info ID Name Version 1 0 Execution CPU Info Exe env cpu Execution QS Info Exe env ns Exe env ns versi v Figure 56 Change Component Names 2 47 All Rights Reserved ETRI Proprietary 2 2 12 Move Ports a When dragging a port which you want to move after selecting it the port will be moved along the component s border OK qe E a V quee Mar Service ICT a Service C 7 Composite o d EI m c m Ls im oa Im Ld em gt Event QutputP ort Event InputPart A Connection Nate Link 3 Data DOutputPart E Data InputPart Figure 57 Move Ports 1 Mar quee L Service Fil Service Ci ded 7 Compasite SN Le uh ims am Leg m a Z ge ms UI fo m elg I mm r A Ls 3 Data QutputP ort E Pata InputPart KSE Event InputPort A Connection Note Link Figure 58 Move Ports 2 All Rights Reserved ETRI Proprietary 48 2 2 13 Component Popup Menu E Application diagram x lt lt atomic gt gt testo SX Delete P OpenPraperty E pen Monitoring Dialog E Run Monitoring Bl Stop Monitoring Eg Open ComponentEditar B Z rder di Bun Ae Debug As k Profile As k Figure 59 Component Popup Menu lt e Palette po s Select r 4 SS Marquee gh Components l
37. t 1 Composite 83 Atomic d cervice Required Service Pravided D Data OutputPart E Pata InputPart Event DOutputPart Event InputPort A Connection Ex Mates E Mote w Mote Link B Delete Deletes a component selected on the diagram edit window All Rights Reserved ETRI Proprietary B Open Property Sets properties and monitoring variables of a component SS Properties Properties Monitoring Variable Description name type Figure 60 Open Property Properties Adds Deletes variables of a component Monitoring Variable Adds Deletes the monitoring variables All Rights Reserved ETRI Proprietary B Open Monitoring Dialog Able to check changes of the monitoring variable s values amp test Variable Monitoring Dialog Variable string string string Variable Lo Cancel Figure 61 Open Monitoring Dialog Run Monitoring Monitors the selected component Stop Monitoring Stops to monitor the selected component Open ComponentEdtior Popup menu applying only to atomic components which calls a component editor to the corresponding component B Order Moves the selected component back and forth on the z axis Bring Forward Moves the selected component forward on the z axis Send Back Moves the selected component backward on the z axis All Rights Reserved ETRI Proprietary 2 3 Examples 2 3 1 An Example of Deve
38. t Composing f l Application H Application diagram E lt lt atomic gt gt test ER lt lt composite gt gt 3X Delete Uy Comp R Export Component JE vk AE Figure 8 Component Popup Menu Delete Deletes the selected component Export Component In the case of a composite component it is exported as a XML form to the outside All Rights Reserved ETRI Proprietary 2 1 6 Component Edit Package a Package Popup Menu sk Solution E Component Composing Ei d ee EZ E amp Al SE GR Roper Se Remote Repository itg Local Repository 43 Template E Figure 9 Component Edit Package Popup Menu B All Synchronization Synchronizes the composer and editor component information b Component Popup Menu a Solution Browser x ES EE zi Solution f Component Composing f l Application H by SC Editing Ka atomic gt fest er HI img el a Synchronization ES t ML Open Component Edit Figure 10 Component Edit Component Popup Menu Delete Deletes the selected component Synchronization Synchronizes the selected component with component information on the editor B Open Component Edit Creates a project with the selected component on the component editor and changes the tool into the component editor 17 All Rights Reserved ETRI Proprietary 2 1 7 ct Package Solution f Component Composing 3 f
39. tputPort gt Event InputPart a Connection Ex Notes x BD Note iR Note Link SR d in mm M Q en E En vn ht E E a o mn E E i E LU Ma ce LE EN A co KE SE e pn Figure 65 Example of Developing Composite Components 4 5a All Rights Reserved ETRI Proprietary e Connect the related ports each other using the connection If necessary add ports to the composite component and connect them with the internal component ER pplication diagram f Component0 diag ram TN nim x Palette rs lt lt composite gt gt i Select Component omponen IE Marquee A h Components 7 Composite G lt lt atomic gt gt CS Atomic HelloMaker i fp service gt Required G service Provided D Data QutputPaort E Data InputPort lt gt Event OutputP ort n Event InputP ort A Connection es ES Motes B Mote t Note Link lt lt atomic gt gt MessagePrinter Figure 66 Example of Developing Composite Components 5 f When adding a port to the composite component in the internal diagram the port is added to be represented also on the reduced component as below Hi H Component diagram SS pg Ll T ed 2 ee 3 cs Palette gt ge L1 E E E E Ea Ea Ey Eg pa py tyy Select gt BLE ME dl E LB E I Marquee lt lt composite gt gt E I _ d Hl SE I
Download Pdf Manuals
Related Search
Related Contents
Copyright © All rights reserved.
Failed to retrieve file