VADCFLL-L Archives

November 2010

VADCFLL-L@LISTSERV.JMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Lloyd O'Hara <[log in to unmask]>
Reply To:
Lloyd O'Hara <[log in to unmask]>
Date:
Tue, 2 Nov 2010 19:18:25 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (71 lines)
Our team has been using a light sensor loop (yellow) with a  move block set 
to unlimited on the inside of the loop.  I think of it as I do all 
programming, there's more than one way to get to the solution.

Lloyd

----- Original Message ----- 
From: "Aucoin, William B." <[log in to unmask]>
To: <[log in to unmask]>
Sent: Tuesday, November 02, 2010 6:42 PM
Subject: Re: [VADCFLL-L] EXTERNAL:Re: [VADCFLL-L] light sensor and loops


> As a side comment, make sure you are using a "wait block for a light 
> sensor" and not the "light sensor" block. These blocks have two different 
> functions and they are very often confused. One is yellow and one is 
> orange with an hour glass. Use the orange one if you are following Frank's 
> advice below.
>
> Bill
>
> -----Original Message-----
> From: First Lego League in Virginia and DC 
> [mailto:[log in to unmask]] On Behalf Of Frank Fenneran
> Sent: Tuesday, November 02, 2010 11:48 AM
> To: [log in to unmask]
> Subject: EXTERNAL:Re: [VADCFLL-L] light sensor and loops
>
> Kevin,
>
> One way would be to put on a move block in the direction you want to go 
> followed by a wait block for light sensor.  The move block should be set 
> for unlimited rotations and the wait block is set up to look for light < 
> 10 (or some number that will eliminate dark blue, etc).
>
> Make sure and calibrate your light sensor for the ambient light on your 
> table.
>
> -Frank
>
> -----Original Message-----
> From: First Lego League in Virginia and DC 
> [mailto:[log in to unmask]] On Behalf Of Kevin Weaver
> Sent: Tuesday, November 02, 2010 11:33 AM
> To: [log in to unmask]
> Subject: [VADCFLL-L] light sensor and loops
>
> We had a new idea for one of our missions but are getting stuck on the 
> coding.  The kids want to use a loop and let the robot roll until the 
> light sensor sees the black line.  We can't figure out how to make it stop 
> moving and go onto the next bit of code at that point.  Any tips?
>
> -- To UNSUBSCRIBE or CHANGE your settings, please visit 
> https://listserv.jmu.edu/archives/vadcfll-l.html and select "Join or leave 
> the list".
>
> -- VADCFLL administrative announcements are sent via VADCFLL-ADMIN-L. 
> Visit https://listserv.jmu.edu/archives/vadcfll-admin-l.html to subscribe.
>
> -- To UNSUBSCRIBE or CHANGE your settings, please visit 
> https://listserv.jmu.edu/archives/vadcfll-l.html and select "Join or leave 
> the list".
>
> -- VADCFLL administrative announcements are sent via VADCFLL-ADMIN-L. 
> Visit https://listserv.jmu.edu/archives/vadcfll-admin-l.html to subscribe.
> 

-- To UNSUBSCRIBE or CHANGE your settings, please visit https://listserv.jmu.edu/archives/vadcfll-l.html and select "Join or leave the list".

-- VADCFLL administrative announcements are sent via VADCFLL-ADMIN-L. Visit https://listserv.jmu.edu/archives/vadcfll-admin-l.html to subscribe.

ATOM RSS1 RSS2