Skip to content

Commit

Permalink
mobility: add sensors
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonfontes committed Jun 26, 2020
1 parent 8084cba commit 04fdc61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mn_wifi/net.py
Expand Up @@ -1017,7 +1017,7 @@ def mobility(self, *args, **kwargs):
def get_mob_stat_nodes(self):
mob_nodes = []
stat_nodes = []
nodes = self.stations + self.aps + self.cars
nodes = self.stations + self.aps + self.cars + self.sensors + self.apsensors
for node in nodes:
if hasattr(node, 'position') and 'initPos' not in node.params:
stat_nodes.append(node)
Expand Down

0 comments on commit 04fdc61

Please sign in to comment.