Install on (K)UBUNTU: Difference between revisions

From Rsewiki
Line 59: Line 59:
  cd ~/mobotware
  cd ~/mobotware
  svn update
  svn update
When you have changed a file send it back to the svn-repository from the directory with the file one of the parent folders known to svn.
svn commit
To add a new set of files, just make a new set of source files - preferably in a new directory - and add the new directory by (e.g. called foo):
svn add foo
This adds the directory and all the files in it, if too many files were added


==Test==
==Test==
(to be continued with test and example instructions)
(to be continued with test and example instructions)

Revision as of 14:34, 22 May 2010

This is intended as a guidance to install MOBOTWARE

The platform tested is KUBUNTU, but should be much the same on UBUNTU.

KUBUNTU version 10.4

After successfully installing KUBUNTU, install the following packages

e.g. install a package from the command-prompt like:

$ sudo apt-get install cmake

Needed packages:

- subversion
- gcc
- g++
- svn
- cmake
- doxygen  (for documentation only)
- libcv-dev
- libhighgui-dev
- libraw1394-dev
- libpng-dev
- ncurses-dev
- pciutils-dev
- libreadline-dev

SVN Source

Get the source from our repository:

You need logon access to timmy.elektro.dtu.dk - talk to Nils Nielsen building 326.

make a directory for the mobotware:

mkdir ~/mobotware
cd ~/mobotware

Get the source (checkout)

svn co svn+ssh://[timmy username]@timmy.elektro.dtu.dk/home/project-users/rse/svnrepo .

You will need to supply password 3-4 times!, to avoid this you may look at RSE SVN

Prepare to compile

Some of the current cameradrivers are not compatible with latest firewire drivers in ubuntu, so disable, as instructed in AU Robot Servers section installation without FIREWIRE

goto the created mobotware directory and make the package

make

This should now compile the set of needed libraries and applications (some need make in its subdirectory)

Maintain SVN source

New version is fetched from command prompt by:

cd ~/mobotware
svn update

When you have changed a file send it back to the svn-repository from the directory with the file one of the parent folders known to svn.

svn commit

To add a new set of files, just make a new set of source files - preferably in a new directory - and add the new directory by (e.g. called foo):

svn add foo

This adds the directory and all the files in it, if too many files were added

Test

(to be continued with test and example instructions)