ORBIT-USER: Help needed for first-time experimenter

Sachin Ganu sachin at winlab.rutgers.edu
Mon Oct 9 12:18:30 EDT 2006


Swapnil,

The main idea is that for every new application, you create a Ruby
class (called application definition) examples are otg.rb,, otf.rb etc
 These classes define all the propertirs of this application such as
1) What are the inputs it expects?
2) What are the measurements that it reports

The prototype is a particular subclass (if you will)  that is bound to
the particular application
E.g sender.rb is the prototype that uses the underlying application
defined in otg.rb..

Sender.rb may have different additional measurement options such as
time-based or sample based filtering..(whereas the generic application
definition otg.rb only specifies what it can report)

The experiment script (tutorial.rb) uses the prototype (instance of
the prototype)

Hope its a little clearer
-Sachin

On 10/9/06, semhatre at cc.gatech.edu <semhatre at cc.gatech.edu> wrote:
> Hello.
>
> I am a new user of Orbit-lab. I intend to perform mobile adhoc network
> experiments over Orbit-lab.
> I read through the tutorial on the Orbit-lb website and understood the
> architecture quite well. Even the Hello world experiment was done
> without any problems.
>
> But then when I went through the scripts like messenger.rb, otr.rb I was
> not quite able to understand them thoroughly. The idea was clear but
> then how it used the handler/appdefiniton classes, the use of prototype
> classes, I couldn't get through.
>
> I searched through Ruby documenteation and the online RUBY book to
> understand these classes and prototype scripts but could not find any
> help.
>
> I want to know where I can learn more about these classes which are
> specific to Nodehandler and Orbit. Is there some document available?
> Please let me know about this as I have to write my own scripts to test
> my experiments.
>
> Thanks and Regards,
> Swapnil Mhatre
>
>



More information about the orbit-user mailing list