software:uima:setup:groovy
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| software:uima:setup:groovy [2013/07/01 15:31] – [Set up MongoDB] jworch | software:uima:setup:groovy [2016/05/19 09:19] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Set up ROS ===== | ===== Set up ROS ===== | ||
| + | |||
| + | Recommended operating system is Ubuntu 12.04 LTS 64bit. | ||
| Install ROS Groovy (see '' | Install ROS Groovy (see '' | ||
| Line 5: | Line 7: | ||
| sudo apt-get install ros-groovy-desktop-full | sudo apt-get install ros-groovy-desktop-full | ||
| | | ||
| - | ====== Installing RoboSherlock (using the install script) ====== | ||
| - | Download {{: | ||
| - | |||
| - | If '' | ||
| - | |||
| - | source ./ | ||
| - | | ||
| - | That will install RoboSherlock into your ROS Workspace (which means you need to have ROS installed and $ROS_WORKSPACE defined) and create an eclipse project in which you can develop your annotators etc. | ||
| - | ====== Installing RoboSherlock | + | ====== Installing RoboSherlock ====== |
| Last Update: May 15th, 2013 | Last Update: May 15th, 2013 | ||
| Line 22: | Line 16: | ||
| ==== Standard libraries and PCL ==== | ==== Standard libraries and PCL ==== | ||
| - | First of all install some standard libraries and PCL | + | First of all install some standard libraries and PCL trunk |
| sudo apt-get install libicu-dev libxerces-c-dev openjdk-7-jdk libapr1-dev ros-groovy-pcl ros-groovy-openni-camera ros-groovy-openni-launch | sudo apt-get install libicu-dev libxerces-c-dev openjdk-7-jdk libapr1-dev ros-groovy-pcl ros-groovy-openni-camera ros-groovy-openni-launch | ||
| + | |||
| + | For using pcl trunk with groovy see: | ||
| + | http:// | ||
| + | |||
| + | **Note:** you need to enable the //RSD// feature from the features submodule in pcl. To do this go to pcl root directory cd to features and edit the // | ||
| ==== Installation location ==== | ==== Installation location ==== | ||
| Line 43: | Line 41: | ||
| export PATH=$UIMACPP_HOME/ | export PATH=$UIMACPP_HOME/ | ||
| export LD_LIBRARY_PATH=$UIMACPP_HOME/ | export LD_LIBRARY_PATH=$UIMACPP_HOME/ | ||
| - | export CLASSPATH=$UIMA_WORKSPACE/ | + | export CLASSPATH=$UIMA_WORKSPACE/ |
| | | ||
| export APR_HOME=/ | export APR_HOME=/ | ||
| export ICU_HOME=/ | export ICU_HOME=/ | ||
| export XERCES_HOME=/ | export XERCES_HOME=/ | ||
| - | + | | |
| - | Depending on your OS replace ARCH by amd64 or i386 | + | export JAVA_HOME=/ |
| - | | + | |
| - | export JAVA_HOME=/ | + | |
| export JAVA_INCLUDE=$JAVA_HOME/ | export JAVA_INCLUDE=$JAVA_HOME/ | ||
| Line 88: | Line 84: | ||
| ==== Set up MongoDB ==== | ==== Set up MongoDB ==== | ||
| - | Get the server. See: | + | (Might not be needed) |
| - | [[http:// | + | Get the server |
| + | [[http:// | ||
| - | Get the lates client and unpack it to $UIMA_WORKSPACE | + | Get the client |
| [[http:// | [[http:// | ||
| Line 102: | Line 99: | ||
| env.SharedLibrary(' | env.SharedLibrary(' | ||
| | | ||
| - | Add this to the .bashrc | + | Add the env variables for mongo to your '' |
| + | |||
| export MONGODBCLIENT_HOME=$UIMA_WORKSPACE/ | export MONGODBCLIENT_HOME=$UIMA_WORKSPACE/ | ||
| export MONGODBCLIENT_HOME_INCLUDE=$MONGODBCLIENT_HOME/ | export MONGODBCLIENT_HOME_INCLUDE=$MONGODBCLIENT_HOME/ | ||
| - | | ||
| - | Now '' | ||
| - | |||
| export LD_LIBRARY_PATH=$MONGODBCLIENT_HOME: | export LD_LIBRARY_PATH=$MONGODBCLIENT_HOME: | ||
| - | to your '' | + | Now '' |
| ==== The IAS UIMA Repository ==== | ==== The IAS UIMA Repository ==== | ||
| Get the IAS UIMA Repository. Check out code and submodules: | Get the IAS UIMA Repository. Check out code and submodules: | ||
| cd $UIMA_WORKSPACE | cd $UIMA_WORKSPACE | ||
| - | git clone git@bitbucket.org:code_iai/ | + | git clone git@github.com:code-iai/ |
| - | git checkout experimental | + | |
| cd iai-uima | cd iai-uima | ||
| git submodule init | git submodule init | ||
| Line 124: | Line 117: | ||
| Checkout dependencies and add them to your ROS_PACKAGE_PATH: | Checkout dependencies and add them to your ROS_PACKAGE_PATH: | ||
| - | git clone git@bitbucket.org:code_iai/iai_perception_stack.git iai_perception | + | git clone git@github.com:code-iai/iai_perception.git |
| - | cd iai_perception && git checkout catkin | + | git clone git@github.com:code-iai/ |
| - | cd - | + | git clone git@github.com: |
| - | git clone git@bitbucket.org:code_iai/ | + | git clone git@github.com:code-iai/designator_integration.git |
| - | | + | |
| - | cd - | + | Setup rosjava |
| - | git clone git@bitbucket.org:code_iai/iai_msgs.git | + | |
| - | | + | Check out rosjava_core to your catkin |
| - | | + | |
| - | + | Details on how to make the project are here: | |
| - | Now call | + | |
| - | catkin_make_isolated --install | ||
| - | == TODO == | + | Now call |
| - | Change the following to rosjava | + | catkin_make |
| - | Finally (if not installed already) install '' | + | **Note:** for single core machines run with //-j2// |
| - | + | ||
| - | sudo apt-get install ant | + | |
| - | cd $UIMA_WORKSPACE/ | + | |
| - | ant | + | |
| - | Now '' | + | Now '' |
| Clock.class | Clock.class | ||
| | | ||
| - | To install apache, php and other things required for the database visualization website, look at '' | + | To install apache, php and other things required for the database visualization website, look at '' |
| ===== Run Example ===== | ===== Run Example ===== | ||
| roslaunch openni_launch openni.launch | roslaunch openni_launch openni.launch | ||
| Line 176: | Line 164: | ||
| ===== Known Issues ===== | ===== Known Issues ===== | ||
| - | FeatureClassifierAnnotator does not work if you link it to //plc_io or pcl_visualizer// | + | FeatureClassifierAnnotator does not work if you link it to //plc_io or pcl_visualizer// |
software/uima/setup/groovy.1372692716.txt.gz · Last modified: (external edit)
