Opened 12 years ago

Closed 12 years ago

#3297 closed defect (fixed)

voltage block fails on the 1.75

Reported by: tonyforster Owned by: walter
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: Turtleart Version: Unspecified
Severity: Unspecified Keywords:
Cc: Distribution/OS: Unspecified
Bug Status: Unconfirmed


ta131 xo1.75 os25

Traceback (most recent call last):

File "/home/olpc/Activities/TurtleArt.activity/TurtleArt/", line 482, in doevalstep

File "/home/olpc/Activities/TurtleArt.activity/TurtleArt/", line 461, in _evalsym

result = self.cfun.fcn(self, *self.arglist)

File "/home/olpc/Activities/TurtleArt.activity/plugins/audio_sensors/", line 198, in <lambda>

'voltage', 0, lambda self: primitive_dictionaryvoltage?(0))

File "/home/olpc/Activities/TurtleArt.activity/plugins/audio_sensors/", line 366, in prim_voltage

voltage = float(_avg(buf)) * self.voltage_gain + self.voltage_bias

AttributeError: 'Audio_sensors' object has no attribute 'voltage_gain'

Change History (5)

comment:1 Changed 12 years ago by tonyforster

tested measure v36 and it is ok with dc voltage

comment:2 Changed 12 years ago by walter

Thanks. That gives a clue as to where to look for the problem.

comment:4 Changed 12 years ago by tonyforster

this ticket can be closed

comment:5 Changed 12 years ago by walter

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.