MetroMan19 / nxt-python

Automatically exported from code.google.com/p/nxt-python
0 stars 0 forks source link

Accelerometer error in v2.0 #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
the method read_values is missing from the Accelerometer class. 

 File "/usr/local/lib/python2.6/dist-packages/nxt/sensor/hitechnic.py", line 73, in get_acceleration
    xh, yh, zh, xl, yl, zl = self.read_values('all_data')
AttributeError: 'Accelerometer' object has no attribute 'read_values'

Original issue reported on code.google.com by meldu...@gmail.com on 6 Jul 2010 at 5:52

GoogleCodeExporter commented 9 years ago
Should be fixed in r144. While you're at it, can you check that the readings 
are correct and post the output of get_sensor_info() for me?

Original comment by marcus@wanners.net on 7 Jul 2010 at 1:16

GoogleCodeExporter commented 9 years ago

Original comment by marcus@wanners.net on 20 Aug 2010 at 2:01