To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 2700
Subject: 
simple but functional radar
Newsgroups: 
lugnet.robotics
Date: 
Wed, 13 Jan 1999 00:24:29 GMT
Original-From: 
Chris Stanley <cstanley@*ihatespam*usit.net>
Viewed: 
1055 times
  
hello, everyone.  i'm new to the list.  i was just reading about the
"radar" idea and whipped up simple but effective implementation.  check
it out at http://www.csepaintball.com/chris/radarbot.html and tell me
what you think.  thanks!

--
Chris Stanley
cstanley@usit.net


--
Did you check the web site first?: http://www.crynwr.com/lego-robotics


Subject: 
Re: simple but functional radar
Newsgroups: 
lugnet.robotics
Date: 
Wed, 13 Jan 1999 19:53:25 GMT
Original-From: 
Peter Hesketh <pbh@^nomorespam^phesk.demon.co.uk>
Viewed: 
1141 times
  
In article <369BE7BD.EA238487@usit.net>, Chris Stanley
<cstanley@usit.net> writes
hello, everyone.  i'm new to the list.  i was just reading about the
"radar" idea and whipped up simple but effective implementation.  check
it out at http://www.csepaintball.com/chris/radarbot.html and tell me
what you think.  thanks!

I like it.  What language is radar.prg in, please?  When I unzip
radar.zip I seem to get a binary file.
--
Regards - Peter Hesketh, Mynyddbach, Mon.
Forty reasons why a dog is better than a woman: number 17
"A dog's disposition stays the same all month long."
--
Did you check the web site first?: http://www.crynwr.com/lego-robotics


Subject: 
Re: simple but functional radar
Newsgroups: 
lugnet.robotics
Date: 
Wed, 13 Jan 1999 22:29:17 GMT
Original-From: 
Chris Stanley <cstanley@usit.{Spamcake}net>
Viewed: 
1187 times
  
i'm so new to this that i've not yet sat down and learned nqc or botcode or
the like.  radar.prg was written with the basic coder included on your
mindstorms cd.  i'll update my page to mention that.  sorry for the
confusion!

--
Chris Stanley
cstanley@usit.net

Peter Hesketh wrote:

In article <369BE7BD.EA238487@usit.net>, Chris Stanley
<cstanley@usit.net> writes
hello, everyone.  i'm new to the list.  i was just reading about the
"radar" idea and whipped up simple but effective implementation.  check
it out at http://www.csepaintball.com/chris/radarbot.html and tell me
what you think.  thanks!

I like it.  What language is radar.prg in, please?  When I unzip
radar.zip I seem to get a binary file.
--
Regards - Peter Hesketh, Mynyddbach, Mon.
Forty reasons why a dog is better than a woman: number 17
"A dog's disposition stays the same all month long."
--
Did you check the web site first?: http://www.crynwr.com/lego-robotics

--
Did you check the web site first?: http://www.crynwr.com/lego-robotics


Subject: 
Re: simple but functional radar
Newsgroups: 
lugnet.robotics
Date: 
Thu, 14 Jan 1999 09:30:19 GMT
Original-From: 
Ben Williamson <benw@(ihatespam)pobox.com>
Viewed: 
2576 times
  
On Wed, 13 Jan 1999, Chris Stanley wrote:

i'm so new to this that i've not yet sat down and learned nqc or botcode or
the like.  radar.prg was written with the basic coder included on your
mindstorms cd.

Chris,

I built a little RadarBot just like yours (very minimalist, I love it :)
and wrote some NQC code to drive it around my kitchen floor.  It really
zooms, until the left wheel inevitably falls off.  :)

The program below might help you get started with NQC, which I thoroughly
recommend if you're at all familiar with C syntax.

Cheers,

- Ben.

-------------------------------------------------------------------
Ben Williamson       benw@pobox.com     http://www.pobox.com/~benw/



#define LIGHT IN_2

#define LEFT OUT_A
#define RIGHT OUT_C

#define SPEED 7

/* connections to both motors are reversed: */
#define L_FWD Rev(LEFT, SPEED)
#define L_REV Fwd(LEFT, SPEED)
#define R_FWD Rev(RIGHT, SPEED)
#define R_REV Fwd(RIGHT, SPEED)

#define STOP Off(LEFT); Off(RIGHT)

#define THRES 50

int light;

task main
{
Sensor(LIGHT,  IN_LIGHT);
IRMode(IR_HI);

L_FWD; R_FWD;
while (1==1) {
SendMessage(255);
light = LIGHT;
if (light > THRES) {
L_REV;
Sleep(10);
} else {
L_FWD;
}
}
}



--
Did you check the web site first?: http://www.crynwr.com/lego-robotics


Subject: 
Re: simple but functional radar
Newsgroups: 
lugnet.robotics
Date: 
Thu, 14 Jan 1999 15:07:00 GMT
Original-From: 
John Cooper <ROBOTS@JPSC.CO.avoidspamUK>
Reply-To: 
robots@jpsc.co.IHATESPAMuk
Viewed: 
1643 times
  
I built a little RadarBot just like yours (very minimalist, I love it :)
and wrote some NQC code to drive it around my kitchen floor.  It really
zooms, until the left wheel inevitably falls off.  :)

I like it, our wheels stay on until it destroys itself by running full tilt
into something black...

Our design has two motors at the back driving wheels directly, and two free
running castors at the sides as close to the front as possible, so it
travels at a fair lick when going straight. It also spins around in one
place when blinded by the sun.

Our next iteration will be to sample ambient light in between pings, and
when the light is too bright search (slowly) for somewhere darker to play. A
rotation sensor (yet to be acquired) on each wheel will do for collision
detection when running degraded mode, and also allow us to run in a straight
line at high speed
--
John & James Cooper, Wallington, UK


--
Did you check the web site first?: http://www.crynwr.com/lego-robotics


©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR