Hello,

I've asked some of this on the core-users list, but on reflection some of my 
questions are more related to emane so thought I'd ask here too.



I have a single-node python-driven CORE/EMANE emulation that uses an ns2 script 
for mobility. However, I'd like to run a distributed emulation, which requires 
EMANE to generate the location events needed for mobility. What is the easiest 
way of doing this? I've already configured my experiment with 
emane_event_monitor=True, but I've found both the CORE and EMANE documentation 
a bit unclear as to what I should do next. In particular:



(i) If my understanding is correct, CORE starts a single event service on the 
master when using EMANE. As I see it, my options are to somehow hook into that 
event service in order to send location events to the emulation,  or 
alternatively to start a completely separate service on the same multicast 
group and device. Is this correct and if so what is recommended?



I can already send a location event to a NEM from my python script using the 
session's emane event service like so:



loc = LocationEvent()

lat,lon,alt = session.location.getgeo(500.0,500.0,2.0)

loc.append(nemid, latitude=lat,longitude=lon, altitude=alt) 
session.emane.service.publish(0, loc)





However, I'm guessing it would be preferable to modify the event service xml to 
load a generator plugin that can parse an EEL file. At which point it would 
probably be easier to start a standalone

eventservice+generator if that is possible.



(ii) I currently generate my ns2 mobility script using bonnmotion's 
SteadyStateRandomWaypoint mobility model. Is there a tool available for 
converting a bonnmotion ns2 script to a format appropriate for an EMANE 
generator? Alternatively, is there a tool that will let me generate EMANE 
mobility scripts according to a RandomWaypoint model?



(iii) What is the difference between an EMANE event generator and an EMANE 
event agent?



Dan

_______________________________________________
emane-users mailing list
[email protected]
http://pf.itd.nrl.navy.mil/mailman/listinfo/emane-users

Reply via email to