Hello,
I am trying to make a topology where I can start the moving of the station from one location and stop at some location, again I want to start the mobility from that location and stop it for few seconds at some other location.
if '-s' not in args:
net.startMobility(time=0, ac_method='ssf')
net.mobility(Car1, 'start', time=60, position='1,70,0')
net.mobility(Car1, 'stop', time=65, position='50,70,0')
net.mobility(Car1, 'start', time=66, position='50,70,0')
net.mobility(Car1, 'stop', time=75, position='150,70,0')
net.mobility(Car1, 'start', time=76, position='150,70,0')
net.mobility(Car1, 'stop', time=80, position='300,70,0')
net.stopMobility(time=88)
As shown in the above piece of code. But when I am running the code the Car1's location is showing at 150,70,0. But based on my assumption it should start the mobility from 1,70,0 and stop at 50,70,0 and after 1sec it should start from this location. But mobility started from 150,70,0 and stopped at the last position 300,70,0.
I want some pause in this mobility as shown in the code. Could someone please help me out to make this work? This code is part of the Handover scenario.
Please find the attached images where Car1's location is shown at 150,70,0 but its initial position should be at 1,70,0.
I am waiting for your reply.
BR,
Radhe