Skip to content

Open Platform for Robotic Services

opros-wiki edited this page May 21, 2019 · 6 revisions

Welcome to the OPRoS_v1.1_Components wiki!

Open Platform for Robotic Services (OPRoS) is a robot software platform including IDE and simulator. It works in Windows, Linux, and experimentally it was tested in Android, iOS, Embedded Windows, Embedded Linux, QNX, Xenomai. OPRoS has LGPL (GNU Lesser General Public License) and Individual Commercial License.

OPRoS distribution packages have OPRoS Execution Engines and eclipsed based IDE including example components.

1) How to compile OPRoS Brill 1.0.0.0 version for your compiler using CMake

A) Download OPRoS Framework: OPRoS Brill 1.0.0.0 version

 i) From OPRoS Wiki: www.oprospace.org
  Select menus Download -> OPRoS New Download -> OPRoS 2.0 Framework
  ( http://121.78.145.111:8090/display/software/OPRoS+2.0+Framework )
  Download opros_Brill_1.0.0.0_20140829.zip and unzip it

 ii) From SourceForge
 ( http://sourceforge.net/projects/oprosdistributionpackage20/files/?source=navbar )   
  Download opros_Brill_1.0.0.0_20140829.zip and upzip it 

B) Download Cmake: CMake 3.10 (2.8 and above) http://www.cmake.org/download/

 i) For Windows : 32bit: Windows (Win32 Installer)

 ii) For Linux: Linux x86_64 (For 64bit) Linux i386 (For 32bit)

C) Supporting Compiler:

 i) For Windows: MSVS2010 or MinGW c++ or MinGW g++

 ii) For Linux: Gnu g++

D) Start CMake-gui

E) Set that path of the unzipped source code

F) Create a folder for intermediate binaries (example: xxx_bin_xxx ) and set the path

G) Press "Configure" button

H) Set the compiler

  Case1: for Visual Studio 10 2010
             i)   Select "Use default native compilers" 
             ii)  Press "Finish" button   
            
  Case2: For MinGW Makefiles
             i)   Select "Specify native compilers" 
             ii)  Press "Next" button
             iii) Select "MingGW/bin/mingw32-c++.exe" under the location MinGW installed in C++
             iv)  Press "Finish" button
                Tip: adding MinGW/bin under the location MinGW installed
                     in path of system variable
                     In MinGW/bin, copy mingw32-make.exe and save it as make.exe

  Case3: Ubuntu

I) Press "Generate" button

J) In the binary folder in F), double click the created solution file or execute Makefile

  Case1: Visual Studio
            i)   double click "ComponentEngine.sln"
            ii)  build the solution as a release mode or debugging mode

  Case2: MinGW
            i)   Start MinGWShell
            ii)  in folder created in F, type "make" and enter-key

K) Check created files

  Case1: Visual Studio
            i)   Release folder or Debug folder under the forlder F), 
                 whether ComponentEngine.exe and OPRoSCDL.lib created or not 
            ii)  As example components, HelloMaker.dll and MessagePrinter.dll

  Case2: MinGW
            i)   ComponentEngine.exe and libOPRoSCDL.a
            ii)  As example components, libHelloMaker.dll and libMessagePrinter.dll

2) Run example "hello" application

A) Without IDE

  Case1: Visual Studio (As build-post event, the execution files are copied into "test" folder)
            i)   Doulble click "ComponentEngine.exe" in "test" folder under
                 opros_Brill_1.0.0.0_20140829
            ii)  Type "appname hello" and press enter-key in the popped command window
            iii) Type"app run" and press enter-key
            iv)  Type "app stop" to stop the application
            v)   Type "exit" and press enter-key to close the window

  Case2: MinGW 

            i)   Copy ComponentEngine.exe file into "test" folder under the source code folder
                 opros_Brill_1.0.0.0_20140829
            ii)  Copy components into "hello" folder in "Packages" folder 
            iii) Copy libHelloMaker.dll into "HelloMaker" folder
            iv)  Copy libMessagePrinter.dll into "MessagePrinter" folder 
                 Tip: Check library_name item in Component Profile 
                 (HelloMaker.xml, and MessagePritner.xml)
            v) Run the application
                  - Doulble click "ComponentEngine.exe" in "test" folder under
                    opros_Brill_1.0.0.0_20140829
                  - Type "appname hello" and press enter-key in the popped command window
                  - Type"app run" and press enter-key
                  - Type "app stop" to stop the application
                  - Type "exit" and press enter-key to close the window

  Case3: Ubuntu

B) With OPRoS_IDE_2.08

C) The location of source code for components is "sources" folder under "example/helloworld" in opros_Brill_1.0.0.0_20140829

    i)    HelloMaker
    ii)   MessagePrinter
You can’t perform that action at this time.