[Ns-developers] Pre-review request: csma module improvements (propagation delay and carrier sense)
nbaldo at cttc.es
Tue Nov 1 15:13:41 PDT 2011
On 11/01/2011 08:40 AM, Vedran Miletić wrote:
> Datuma 1. studenoga 2011. 08:45 Mathieu Lacage
> <mathieu.lacage at gmail.com> je napisao/la:
>> Beyond this academic issue though, the real issue is a soft eng issue.
>> If a model needs to model positions and distance, it should use the
>> ns-3 position models, not a model-specific thing.
> You are completely right on this one. I will take a look. Thanks for a
> pointer in the right direction.
One approach would be to reuse ConstantPositionMobilityModel together
with ConstantSpeedPropagationDelayModel. But we have to be aware that
wire lenght in reality is not equal to euclidean distance, because wires
don't go straight. Hence, using 2-D and 3-D positions (as allowed by
ConstantPositionMobilityModel) might not make much sense.
More information about the Ns-developers