DPRG
DPRG List  



[DPRG] Re: how to start building a robot

Subject: [DPRG] Re: how to start building a robot
From: William W. Martin willm at whmcustomservices.com
Date: Mon Aug 25 15:20:02 CDT 2003

Greetings Sagun,

  I would suggest you pick up a copy of Robot Builder's Bananza and give
it a read.  Most novice robotics systems are programmed with the use of
basic and interfaced through Ics called "Stamps."  A company in Dallas
sells kits for beginners just like you so head to www.parallax.com and
see what they have to offer.  Below is a quote from one of the members
here on some Basic languate resources on Parallax's site.

--Will Martin

Quote: Jon Williams -----------------------------------------
There are loads of free resources our on web site.  GOTO
www.parallax.com and from the menu bar and try these specific items:
  
  Resources >> Getting Started
  Education >> Stamps In Class Cirriculum
  Downloads >> Nuts & Volts Columns

The BASIC Stamp has a very large, very active community on Yahoo Groups
where you will find a lot of great help, just about any time of the day.

-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
-------------------------------------------------------------- 

-----Original Message-----
>From: dprglist-admin at dprg.org [mailto:dprglist-admin at dprg.org] On Behalf
Of sagun maini
Sent: Monday, August 25, 2003 2:22 PM
To: dprglist at dprg.org
Subject: [DPRG] Re: how to start building a robot


hello sir,
I have to strt building a robot and i just wann know
that should i first start with the software or with
the hardware...
and if i start with the software, then with which
programming language.
I m quite conversant with c++.
please help.
yours faithfuly 
sagun maini

--- dprglist-request at dprg.org wrote:
> Send DPRGlist mailing list submissions to
> 	dprglist at dprg.org
> 
> To subscribe or unsubscribe via the World Wide Web,
> visit
> 	http://nimon.ncc.com/mailman/listinfo/dprglist
> or, via email, send a message with subject or body
> 'help' to
> 	dprglist-request at dprg.org
> 
> You can reach the person managing the list at
> 	dprglist-admin at dprg.org
> 
> When replying, please edit your Subject line so it
> is more specific
> than "Re: Contents of DPRGlist digest..."
> 
> 
> Today's Topics:
> 
>    1. Turtle / Logo (Bill Boyer)
>    2. Re: Turtle / Logo (R. Steven Rainwater)
>    3. C programming problem,  large arrays in 16 bit
> DOS? (Clay Timmons)
>    4. Re: C programming problem,  large arrays in 16
> bit DOS? (R. Steven Rainwater)
>    5. Re: programmable mobile robots for under $20
> (W. E. Cole)
>    6. Re: C programming problem,  large arrays in 16
> bit DOS? (Bill Boyer)
>    7. RE: C programming problem,  large arrays in 16
> bit DOS? (Doug Evans)
>    8. RE: C programming problem,  large arrays in 16
> bit DOS? (Ed Okerson)
>    9. RE: C programming problem,  large arrays in 16
> bit DOS? (Ed Okerson)
>   10. Stolen Segway (Bill Boyer)
> 
> --__--__--
> 
> Message: 1
> From: Bill Boyer <daweasel at swbell.net>
> Reply-To: daweasel at swbell.net
> To: DPRG <dprglist at dprg.org>
> Organization:
> Date: 18 Aug 2003 14:07:12 -0500
> Subject: [DPRG] Turtle / Logo
> 
> At RBNO West we have a new young adult member with
> no programming
> experience. We happened to think about the Turtle /
> Logo programming
> language and found a few free resources on the 'net.
> 
> 
> Anyone mess with this stuff much or know where we
> can find enough stuff
> to put on a CD he can take home and play with? We
> will need the
> interpreter, some code examples and the language and programming
> documentation.
> 
> 
> --__--__--
> 
> Message: 2
> From: "R. Steven Rainwater" <srainwater at ncc.com>
> To: "dprglist at dprg.org" <dprglist at dprg.org>
> Date: Mon, 18 Aug 2003 14:38:50 -0500
> Reply-To: "R. Steven Rainwater" <srainwater at ncc.com>
> Subject: Re: [DPRG] Turtle / Logo
> 
> On 18 Aug 2003 14:07:12 -0500, Bill Boyer wrote:
> >We happened to think about the Turtle / Logo
> programming
> >language and found a few free resources on the
> 'net.
> >
> >Anyone mess with this stuff much or know where we
> can find
> >enough stuff to put on a CD he can take home and
> play with?
> 
> You should be able to find links to everything you
> need in
> the ODP Logo category:
> 
> 
>
http://dmoz.org/Computers/Programming/Languages/Lisp/Logo/
> 
> Among other things, there are links to at least 20
> Logo
> implementations for a variety of computer systems
> (including
> one that works with Lego Mindstorms).
> 
> -Steve
> 
>
_____________________________________________________________________
> R. Steven Rainwater * http://www.ncc.com/humans/srainwater/index.html
> "As you struggle to save humanity be sure to avoid
> electrodes in
> your path"  -- Robotron 2084
> 
> 
> 
> --__--__--
> 
> Message: 3
> Date: Mon, 18 Aug 2003 14:08:06 -0700
> From: "Clay Timmons" <ctimmons at cadence.com>
> To: <dprglist at dprg.org>
> Subject: [DPRG] C programming problem,  large arrays
> in 16 bit DOS?
> 
> 
> I'm working on the image processing code on my robot
> and I have a new problem.
> The problem is dimensioning the image array.  The
> image is 320x240 pixels
> and each pixel is stored in a byte (unsigned char).
> The problem is that
> I'm using 16 bit DOS (sorry I promise to move to
> Linux once I get those cans!).
> My declaration is like this.  I'm using Borland C
> v4.52 
> 
>   unsigned char   camera_image[76800];
> 
> This gets an error that the constant is too large.
> Anything dimensioned above
> [32767] gets this error.
> 
> So then I thought well I'll just break up the array
> into three smaller pieces
> and pray the compiler puts them one after another in
> memory.  I figure this
> should work fine since I only access the array with
> a pointer,  image_ptr++
>   
>   unsigned char   camera_image[30000];
>   unsigned char   camera_image2[30000];
>   unsigned char   camera_image3[30000];
> 
> Now the compiler is giving a warning that the last
> two are declared and never used.
> It's probably optimizing them away so I added some
> bogus code that uses them.
> Still it's not working quite right yet.
> 
> I just want to make sure the compiler reserves
> enough space in memory!
> I think all the code is correct since it works for
> smaller sized images
> like 160x120 or 80x60.
> 
> Any ideas are appreciated,
> 
> -Clay Timmons-
> 
> 
> 
> 
> --__--__--
> 
> Message: 4
> From: "R. Steven Rainwater" <srainwater at ncc.com>
> To: "dprglist at dprg.org" <dprglist at dprg.org>
> Date: Mon, 18 Aug 2003 16:46:41 -0500
> Reply-To: "R. Steven Rainwater" <srainwater at ncc.com>
> Subject: Re: [DPRG] C programming problem,  large
> arrays in 16 bit DOS?
> 
> On Mon, 18 Aug 2003 14:08:06 -0700, Clay Timmons
> wrote:
> >The problem is that I'm using 16 bit DOS (sorry I
> promise
> >to move to Linux once I get those cans!).
> >
> >  unsigned char   camera_image[76800];
> >
> >This gets an error that the constant is too large.
> Anything
> >dimensioned above [32767] gets this error.
> 
> Wow, it's been a long time but back in the 80's I
> used work
> with the Microsoft C compiler for DOS. It supported
> several
> memory models but always defaulted to one that was
> way too
> small. There were some command line switches you
> could give
> to kick it into other memory models that would allow
> much
> larger arrays. If I remember correctly. You had to
> use the
> "huge" memory model to get arrays over 64k. Borland
> probably
> 
=== message truncated ===


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
_______________________________________________
DPRGlist mailing list
DPRGlist at dprg.org http://nimon.ncc.com/mailman/listinfo/dprglist




More information about the DPRG mailing list