adjacentlink / letce2-tutorial

letce2 tutorial with example experiments
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

How to attach mobility to the nodes involved #1

Open martin20082018 opened 3 years ago

martin20082018 commented 3 years ago

Hello, do you have an example of how I can put some sort of "mobility script" to the models and use for visualization the sdt3d tool?

And add a location (lat/long/alt) to each of the nodes?

Thank you for your help! best regards, Martin

sgalgano commented 3 years ago

You need to specify location events using the emaneeventservice and an EEL scenario file (see emane-tutorial reference). The letce2-tutorial uses a simple template in letce2-tutorial/templates/host/scenario.eel, which creates a static pathloss scenario. Typically you would not template a scenario in this manner, you would create one manually or with a separate tool and load it.

I have no insight on using sdt3d. Depending on what you are trying to visualize, have a look at emane-node-view.

martin20082018 commented 3 years ago

If you run the model with some scenario.eel file (I havn't done it yet) and there are "events" which lets the nodes "move"... Is there a way to recognize this - means if there is a change in the model of some node location... If so I could get this info and simply send a sdtcmd to the sdt3d. The only thing I would need is to recognize the movements/location changes while the model is executed. Do you have an idea how this could be accomplished? Maybe a separate python process...listening to some IP address or port? best regards, Martin

sgalgano commented 3 years ago

See the emane-tutorial demo 1 here and here, and emaneevent-dump source.