- Java SE Development Kit 8 (todo:) Add JDK to $PATH
- Eclipse Oxygen Eclipse IDE for Eclipse Committers
- Maven 3.5.4 (todo:) Add Maven to $PATH
- Clone oscar-ide
git clone https://github.com/rubis-lab/oscar-ide.git
- Invoke maven compiler
cd oscar-ide
mvn clean verify
- Binary file generated at:
/releng/org.rubis.oscar.product/target/products/OSCAR/$(PLATFORM)
(todo:) script to copy binaries
-
File - Import - Existing Projects into Workspace
-
Select root directory (oscar-ide)
-
Check Search for nested projects
-
Check all projects - Finish
(todo:) provide screenshot
(todo:) provide description /bundles /org.rubis.oscar.plugin1 ...
-
Open OSCAR IDE
- On Linux go to
oscar-ide/repository/target/products/oscar.product/linux/gtk/x86_64
- On MacOS X go to
oscar-ide/repository/target/products/oscar.product/macosx/cocoa/x86_64/Eclipse.app/Contents
- On Windows go to
oscar-ide/repository/target/products/oscar.product/win32/win32/x86_64
- Run
eclipse
executable
- On Linux go to
-
Create new project
- Right-click in the Project Explorer view, and select
New -> Project
- Select
General -> Project
and clickNext
- Type the
Project name
starting with "My" and clickFinish
- (Currently we recommend naming the project starting with "My")
- Right-click in the Project Explorer view, and select
-
Create new model
- Right-click on the project in the Project Explorer view, and select
New -> Other...
- Select
Example EMF Model Creation Wizards -> Oscar Model
- Type the
File name
withMy.oscar
extension - (Currently we recommend naming the file as
My.oscar
) - Under
Model Object
selectOSCAR Object Process Diagram
- Under
XML Encoding
selectUTF-8
- Click
Finish
- Right-click on the project in the Project Explorer view, and select
-
Create new block diagram
- Right-click on the model in the Project Explorer view, and select
Open With -> OSCAR Editor
- In the Palette view, select
Node
orTopic
- Draw a block by clicking anywhere inside the OSCAR Editor area and dragging the cursor
- Enter property values in the Properies view
- To create a link, select
Link
in the Palette view and click on two blocks you want to connect
- Right-click on the model in the Project Explorer view, and select
-
Generate XML file & ROS skeleton code (C++)
- Press
Run
menu on the top-left corner of IDE - Under the
Run
menu selectRun Configuration
- Press
Run
button - Find
data.xml
file in the top level folder - Find skeleton code in
my_package/src
directory in the top level folder
- Press
-
Transfer files to remote target
- Enter values for
Address
,FTP Port
,User
,Password
,Location
- Press
Run
- Enter values for
-
Building and launching
- Find contents of
my_package
on the target device - Run generated launch scripts from
my_package/src/launch
- Find contents of