aseba-community / aseba

Aseba is a set of tools which allow beginners to program robots easily and efficiently. To contact us, please open an issue.
http://aseba.wikidot.com
GNU Lesser General Public License v3.0
49 stars 61 forks source link

large values in ​​prox.horizontal #272

Closed mkany closed 10 years ago

mkany commented 10 years ago

Hello, my Thymio is using the _fwversion 7.0. Now, when I program prox.horizontal with the VPL, then values ​​in the range 150 to 500 implemented automatically, but prox.horizontal [i] returns, values ​​between 1200 and 5,000. maybe, missing here a division by 10? prox.ground values are ok.

regards Michael Kany

riedo commented 10 years ago

Hello, I'm not sure what your problem is; but here is some information:

Does this help you? Do you have another problem? If so, can you provide a screenshot and some more explanations of you problem?

stephanemagnenat commented 10 years ago

Then we have a problem, meaning that firmware v7 breaks VPL. Indeed, VPl tests < 400 for close and > 500 for far.

mbonani commented 10 years ago

V7 normalise the minimum value of the sensors. Before a normal sensor was between 800-4500 and the range for the min was 700-1200. They was some tricky sensor that have the minimum that was 3000 and the max 5500 Now in V7 the range will be more 1000-4500 and most min value will be between 1000-1200

Yes V7 change the min value but do not break the VPL because before it was the same. I never see sensors between 400 and 500. I will suggest to use this value <1200 and >1600

Michael Bonani

mkany commented 10 years ago

sorry, I closed the issue, wrong button. thank you for the help and information, I think it's no problem for me to correct values in text/VPL. I'm waiting for aseba 1.3.2 ;)

Michael Kany

stephanemagnenat commented 10 years ago

Fixed in commit 29fda4cafae07245982b0541e48c7756f0aed0d0.

mkany commented 10 years ago

ok, tested. thanks.