Am 02.11.2015 um 22:06 schrieb Larry Hudson:
[snip a lot of text, also using the word intend...]
The word you want is indent not intend.
Oops. Of course you are right.
You might have noticed, english isn't my native language.
Not an excuse, but an explanation. ;-)
I can only hope, that Loek
On 11/02/2015 11:31 AM, Robin Koch wrote:
Am 02.11.2015 um 15:32 schrieb input/ldompel...@casema.nl:
Thank you for the explanation for it.
I must tell you that i yust beginning with python.
I bought the book beginning programming with python.
Have you programming experience with other langua
Am 02.11.2015 um 15:32 schrieb input/ldompel...@casema.nl:
Thank you for the explanation for it.
I must tell you that i yust beginning with python.
I bought the book beginning programming with python.
Have you programming experience with other languages?
Well, the very first thing you should
On Monday, November 2, 2015 at 10:21:46 AM UTC-5, MRAB wrote:
> On 2015-11-02 14:28, input/ldom...@casema.nl wrote:
> > He mike,
> >
> > Thank you or making this script.
> > Only I get errors for sleep.
> > I also tried to change it to time.sleep() but that also gives errors.
> >
> > File "test05.p
On 2015-11-02 14:28, input/ldompel...@casema.nl wrote:
He mike,
Thank you or making this script.
Only I get errors for sleep.
I also tried to change it to time.sleep() but that also gives errors.
File "test05.py", line 23
sleep(2)
^
SyntaxError: invalid syntax
On Monday, November 2, 2015 at 9:28:35 AM UTC-5, input/ld...@casema.nl wrote:
> He mike,
>
> Thank you or making this script.
> Only I get errors for sleep.
> I also tried to change it to time.sleep() but that also gives errors.
>
> File "test05.py", line 23
> sleep(2)
> ^
> SyntaxErr
Thank you for the explanation for it.
I must tell you that i yust beginning with python.
I bought the book beginning programming with python.
In reply to "Dennis Lee Bieber" who wrote the following:
> On Mon, 02 Nov 2015 13:29:04 GMT, input/ldompel...@casema.nl declaimed the
> following:
He mike,
Thank you or making this script.
Only I get errors for sleep.
I also tried to change it to time.sleep() but that also gives errors.
File "test05.py", line 23
sleep(2)
^
SyntaxError: invalid syntax
---
On Monday, November 2, 2015 at 8:45:35 AM UTC-5, hakug...@gmail.com wrote:
> On Monday, November 2, 2015 at 8:29:26 AM UTC-5, input/ld...@casema.nl wrote:
> > I tried to use def loop(): now for to restart the script.
> > but its only restart "fwd()" print ("forward 1x") and then stop.
> > It does n
On Monday, November 2, 2015 at 8:29:26 AM UTC-5, input/ld...@casema.nl wrote:
> I tried to use def loop(): now for to restart the script.
> but its only restart "fwd()" print ("forward 1x") and then stop.
> It does not look further for the if function.
> Is there another way to restart this script
I tried to use def loop(): now for to restart the script.
but its only restart "fwd()" print ("forward 1x") and then stop.
It does not look further for the if function.
Is there another way to restart this script ?
I also tried with (while True:) but that does nothing.
Thanks
---
On 2015-10-31 20:18, input/ldompel...@casema.nl wrote:
It does not only print; it also calls enable_servo, servo and fwd
repeatedly.
Then I am misinformed, because someone told me in this group to use while True:
Is there another function that I can use for to restart this script?
The lines t
> It does not only print; it also calls enable_servo, servo and fwd
> repeatedly.
>
Then I am misinformed, because someone told me in this group to use while True:
Is there another function that I can use for to restart this script?
Thanks
In reply to "MRAB" who wrote the following:
> On
On 2015-10-31 18:59, input/ldompel...@casema.nl wrote:
The body of the 'while' loop extends from the line:
enable_servo()
to the line:
print ("forward1x")
Would that explain it?
When i run this scipt its only print a lot off print1x.
Do you mean that ?
It does not only print; it
> The body of the 'while' loop extends from the line:
>
> enable_servo()
>
> to the line:
>
> print ("forward1x")
>
> Would that explain it?
When i run this scipt its only print a lot off print1x.
Do you mean that ?
Thanks
In reply to "MRAB" who wrote the following:
> On 2015-10-3
On 2015-10-31 10:28, input/ldompel...@casema.nl wrote:
I intended the rules under while True:
The script is working now only the wheels go's only forward "(fwd)",so the
sensor not detect any obstacles.(sensor=us_dist(15).
--
I intended the rules under while True:
The script is working now only the wheels go's only forward "(fwd)",so the
sensor not detect any obstacles.(sensor=us_dist(15).
---
from gopigo import *
import time
set_right_spe
17 matches
Mail list logo