VerifiableRobotics / LTLMoP

A toolkit for designing and implementing LTL-based task specifications.
http://ltlmop.github.io
GNU General Public License v3.0
56 stars 70 forks source link

Changing floating point values in the configuration editor doesn't work #88

Open ayonix opened 8 years ago

ayonix commented 8 years ago

When you change a float value in the robot configuration editor an error gets thrown:

Traceback (most recent call last):
  File "/path/LTLMoP/src/lib/configEditor.py", line 124, in paramPaneCallback
    this_param.setValue(param_controls[this_param].GetValue())
  File "lib/hsubConfigObjects.py", line 116, in setValue
    raise ValueError("Invalid {} value: {!r} for parameter {!r}".format(self.para_type, value, self.name))
ValueError: Invalid float value: u'0.4' for parameter 'd'