removed ns3 related code
This commit is contained in:
parent
0a37a583ab
commit
4aeb16b866
18 changed files with 14 additions and 1574 deletions
|
@ -690,7 +690,7 @@ class WayPointMobility(WirelessModel):
|
|||
self.setnodeposition(node, x2, y2, z2)
|
||||
del self.points[node.id]
|
||||
return True
|
||||
# speed can be a velocity vector (ns3 mobility) or speed value
|
||||
# speed can be a velocity vector or speed value
|
||||
if isinstance(speed, (float, int)):
|
||||
# linear speed value
|
||||
alpha = math.atan2(y2 - y1, x2 - x1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue