~comnets/openwns-systemtest-ofdmascanner/systemtest-ofdmascanner--main--1.0

« back to all changes in this revision

Viewing changes to nodecreators.py

  • Committer: Maciej Muehleisen
  • Date: 2011-10-20 11:24:54 UTC
  • Revision ID: mue@comnets.rwth-aachen.de-20111020112454-kak1f0e19lakovh5
Fixed getPosition in nodecreator.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
            self.sender.txPower = transmitPower
49
49
 
50
50
        def getPosition(self):
51
 
            self.mobility.getCoords()
 
51
            return self.mobility.mobility.getCoords()
52
52
 
53
53
        def setPosition(self, position):
54
54
            print "Setting BS position to %f, %f, %f" % (position.x, position.y, position.z)
99
99
            pass
100
100
 
101
101
        def getPosition(self):
102
 
            self.mobility.getCoords()
 
102
            return self.mobility.mobility.getCoords()
103
103
 
104
104
        def setPosition(self, position):
105
105
            print "Setting UE position to %f, %f, %f" % (position.x, position.y, position.z)