Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Robogui ! sensors don't work (http://www.chiefdelphi.com/forums/showthread.php?t=15692)

Fares 02-01-2003 10:59

Robogui ! sensors don't work
 
hey guys .we've tried using the sensors , actually we need to use them for our EDU robot , anyhow it looks like the sensors only work under relays .... is that right ? we need it under PWM so we can limit the speed of the motor , any ideas ? using Robogui since we finished everything using that program ...

rbayer 02-01-2003 12:01

That's my fault. RoboGUI outputs the following (it's not supposed to be this way):

if NOT (sensorN <<condition>> value) then then label
...
label


The problem comes from the two "then"s. If you output the code (File->Write Code...) and then delete the second one, it should work just fine.

I just fixed it in the master source and will be releasing the updated version as soon as I finish some other things with it.

jeremy562 07-01-2003 16:31

That's the same problem I emailed you about today, Rob. Just a few days too late.

Least I've got my own working version already!


All times are GMT -5. The time now is 15:15.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi