Developer Setup - abubeck/bride GitHub Wiki
Following steps to setup bride for development of bride:
- mkdir ~/git/bride_ws (or somewhere else)
- cd git/bride_ws/
- rosws init
- rosws set bride https://github.com/ipa320/bride.git --git --version=develop (or use your github fork instead)
- rosws update bride
- rosws merge /opt/ros/groovy/.rosinstall
- source setup.bash
- roscd bride
- make
- rosrun bride eclipse
After opening Eclipse go to Help->Install new Software. After changing "Work with" to "All available sites" search for "GMF". Now select GMF Tooling and GMF Tooling SDK as shown below:
No finish the installer. Instead of restarting automatically, select "No" and close Eclipse manually. Now restart using "rosrun bride eclipse".
Now import the following packages using Import -> Existing Project into Workspace. From bride/bride_base/source/bride import:
- org.best_of_robotics.bride
- org.best_of_robotics.bride.ui
- org.best_of_robotics.transform.service
- org.best_of_robotics.transform.service.access
Afterwards repeat the step to import from bride/bride_plugin_source/src:
- org.best_of_robotics.bride.cdt.ros
- org.best_of_robotics.model.datatypes
- org.best_of_robotics.model.datatypes.edit
- org.best_of_robotics.model.datatypes.editor
- org.best_of_robotics.transform.ros.to.cplusplus
- org.best_of_robotics.transform.smach.to.python
- org.ros.model.ros
- org.ros.model.ros.diagram
- org.ros.model.ros_package.diagram
Now open the file org.ros.model.ros/model/ros.genmodel and select Ros. Now right click and push "Generate all".
Afterwards go to the org.ros.model.ros.diagram/model/ folder and open the ros.gmfgen file. Right-click the first item and select "Generate diagram code". Repeat the same for the files ros_package.gmfgen and ros_coordinator.gmfgen.
Now select Run Configurations from the "Run" menu. Double click "Eclipse Application" and give the application a name (e.g. "BRIDE Development"). Press "Apply" and then "Run". You now have a BRIDE instance running based on the code you develop in the parent instance.