Diferencia entre revisiones de «OpenMR: Running the Examples»
De WikiRobotics
(New page: == Linux == === C++ === * Go to the openmr/examples directory * Execute cmake '''cmake .''' * Compile with make: '''make''' * The examples are ready. Try this one: '''./Test-servocontro...) |
|||
Línea 16: | Línea 16: | ||
* The python examples are ready! You can try this one: | * The python examples are ready! You can try this one: | ||
'''python Test-servocontroller-1.py''' | '''python Test-servocontroller-1.py''' | ||
+ | |||
+ | [[Categoría:OpenRAVE]] | ||
+ | [[Categoría:OpenMR]] |
Revisión del 02:09 7 jul 2010
Linux
C++
- Go to the openmr/examples directory
- Execute cmake
cmake .
- Compile with make:
make
- The examples are ready. Try this one:
./Test-servocontroller-1
Python
- Make sure you have installed OpenRave with Python support
- Go to the openmr/examples directory
- Modify the PYTHONPATH to include openrave. For example, in my system I should type:
export PYTHONPATH=$PYTHONPATH:/home/juan/desarrollo/openrave/localinstall/share/openrave
- The python examples are ready! You can try this one:
python Test-servocontroller-1.py