Obijuan/openmr — pull request #1 by David-Estevez (2013-06-20 13:54:13+00:00)
Title: OpenMR fully updated

OpenMR fully updated
-------------------------------------------------------

I have successfully updated both the plugin and the examples to the latest version of openRAVE.

## Improvements: ##
### Repo cleaned ###
I have cleaned up the repo and edited the CMakeLists file to compile the plugin and the examples all at once. The new building/installing instructions are:
```
$ mkdir build
$ cd build
$ cmake ..
$ make
$ sudo make install
```
This should create two new folders:
* ./bin where the examples binaries are stored
* ./lib where the openmr plugin is stored

And also install the plugin on the corresponding share folder. To check if its properly installed:
```
$ openrave --listplugins
```
And the openMR controllers should appear in the 'controllers' label.

### Data recording ###
Data recording it is done now on two different files. If, for instance, we send the controller the following command:
```
record_on file
```
Two files will be created:
* _file.txt_ contains the data recorded structured as octave matrices that can be loaded by an octave script using:
``` load('file.txt')```

* _file.m_ contains an octave script that loads the data on file.txt and plots it in a graph as the old openMR plugin used to do.

## Things not working ##
Currently the SetCamera() functions are not used. I updated the syntax, but when the examples were run the camera pointed to places where there weren't any robot, so I commented out those lines. I will take a look at it to fix it in the future.

## Things to come in the future ##
* Fix the camera positioning instructions.
* Add the REPY-2.0 modules to openMR