<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Examples</title><link>https://sourceforge.net/p/comps/wiki/Examples/</link><description>Recent changes to Examples</description><atom:link href="https://sourceforge.net/p/comps/wiki/Examples/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 21 Aug 2012 23:27:46 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/comps/wiki/Examples/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage Examples modified by Dmitry Berenson</title><link>https://sourceforge.net/p/comps/wiki/Examples/</link><description># Examples #

There are three simple examples implemented in python and in matlab. They are located in comps/examples/python and comps/examples/matlab. The examples are:

1. Reaching - Herb2 will reach for a bottle on the counter using two TSRs. (example_reaching.*)
2. Door opening - Herb2 will open the door of a small refrigerator using a TSR Chain. (example_dooropening.*)
3. Box Lifting - Herb2 will lift a box while obeying closed-chain and pose constraints specified as TSRs. (example_liftbox.*)

You must set your python and matlab paths as described here before running the examples. Run the python examples by going to comps/examples/python and doing:
    
     python [EXAMPLE_NAME].py

You must launch these examples from the comps/examples/python directory because the data paths in the examples are relative to this directory. 

To run the matlab examples, first cd to comps/examples/matlab and launch openrave. Again, openrave must be launched from this directory because the data paths in the examples are relative to this directory. After openrave has launched, execute comps/examples/matlab/\[EXAMPLE_NAME\].m in Matlab. </description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dmitry Berenson</dc:creator><pubDate>Tue, 21 Aug 2012 23:27:46 -0000</pubDate><guid>https://sourceforge.net4cd468f637809cb90bd5d8c366086034ebd0663b</guid></item></channel></rss>