Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #98010

Re: GoPiGo script

Newsgroups comp.lang.python
Date 2015-10-30 12:59 -0700
References <145f0361-1341-481a-a839-b024d7775b34@googlegroups.com> <mwOYx.20809$Xp5.13765@fx03.am1>
Message-ID <105057e9-3747-4f25-bda7-336f0cafa510@googlegroups.com> (permalink)
Subject Re: GoPiGo script
From hakugin.gin@gmail.com

Show all headers | View raw


On Friday, October 30, 2015 at 2:19:21 PM UTC-4, input/ld...@casema.nl wrote:
> Thank you or the reply.
> This is the errorwith while True:
>  
> File "test03.py", line 10
>     enable_servo()
> 
> 
> In reply to "haku...@gmail.com" who wrote the following:
> 
> > On Friday, October 30, 2015 at 12:58:43 PM UTC-4, input/ld...@casema.nl 
> wrote:
> > > The GoPiGo is a little robot on wheels.
> > > 

<snip>
> > > enable_servo()
<snip>

If it is returning an error with "enable_servo()" then there are a few possible causes. I would make sure everything is indented correctly, as well as check and ensure the function is in the gopigo library. Those would be the 2 most likely causes. As for the issue with the while loop, I would definitely follow Peter's advice. I started to create a small example script but found that what I classify as simple may not be as simple for others, but I will do my best to get something done over the weekend if you haven't found a solution by Monday.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

GoPiGo script input/ldompeling@casema.nl - 2015-10-30 16:58 +0000
  Re: GoPiGo script Peter Pearson <pkpearson@nowhere.invalid> - 2015-10-30 17:27 +0000
    Re: GoPiGo script input/ldompeling@casema.nl - 2015-11-02 13:29 +0000
      Re: GoPiGo script hakugin.gin@gmail.com - 2015-11-02 05:45 -0800
        Re: GoPiGo script hakugin.gin@gmail.com - 2015-11-02 05:49 -0800
          Re: GoPiGo script input/ldompeling@casema.nl - 2015-11-02 14:28 +0000
            Re: GoPiGo script hakugin.gin@gmail.com - 2015-11-02 07:19 -0800
            Re: GoPiGo script MRAB <python@mrabarnett.plus.com> - 2015-11-02 15:21 +0000
              Re: GoPiGo script hakugin.gin@gmail.com - 2015-11-02 07:30 -0800
      Re: GoPiGo script Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-11-02 09:10 -0500
        Re: GoPiGo script input/ldompeling@casema.nl - 2015-11-02 14:32 +0000
          Re: GoPiGo script Robin Koch <robin.koch@t-online.de> - 2015-11-02 20:31 +0100
            Re: GoPiGo script Larry Hudson <orgnut@yahoo.com> - 2015-11-02 13:06 -0800
              Re: GoPiGo script Robin Koch <robin.koch@t-online.de> - 2015-11-03 01:45 +0100
  Re: GoPiGo script hakugin.gin@gmail.com - 2015-10-30 10:32 -0700
    Re: GoPiGo script input/ldompeling@casema.nl - 2015-10-30 18:18 +0000
      Re: GoPiGo script hakugin.gin@gmail.com - 2015-10-30 12:59 -0700
        Re: GoPiGo script input/ldompeling@casema.nl - 2015-10-31 10:28 +0000
          Re: GoPiGo script MRAB <python@mrabarnett.plus.com> - 2015-10-31 17:42 +0000
            Re: GoPiGo script input/ldompeling@casema.nl - 2015-10-31 18:59 +0000
              Re: GoPiGo script MRAB <python@mrabarnett.plus.com> - 2015-10-31 19:42 +0000
                Re: GoPiGo script input/ldompeling@casema.nl - 2015-10-31 20:18 +0000
                Re: GoPiGo script MRAB <python@mrabarnett.plus.com> - 2015-10-31 21:12 +0000

csiph-web