diff --git a/daemon/core/mobility.py b/daemon/core/mobility.py index 03b30c3a..2dfb5e8e 100644 --- a/daemon/core/mobility.py +++ b/daemon/core/mobility.py @@ -425,7 +425,8 @@ class BasicRangeModel(WirelessModel): self.sendlinkmsg(a, b) - def calcdistance(self, p1, p2): + @staticmethod + def calcdistance(p1, p2): ''' Calculate the distance between two three-dimensional points. ''' a = p1[0] - p2[0]