Is there a way to program a robot with python (ex, an electric motor, control it's speed, etc)

tleeuwenburg at gmail.com tleeuwenburg at gmail.com
Sun Jul 8 21:42:58 EDT 2007


First you'll need a computer interface to your robot. Lego Mindstorm,
for example, comes with ways to program the onboard CPU. Other
standard robotic toolkits will also come with some kind of interface,
which may or may not have Python bindings.

Cheers,
-T

On Jul 9, 10:06 am, socialanxi... at gmail.com wrote:
> i hope someone here can help me.
>
> basically, me and my friend have a summer project.
>
> in this project, we need something that would basically function as a
> blender. we know we'll need to buy a motor that spins, but what we're
> having trouble with is figuring out how to program it. we want to be
> able to control the speed of the motor. how would we accomplish this?
>
> i'm new to all of this, so i'm having a hard time wrapping my mind
> around how it'd be possible to program one of those things :\
>
> ex: what if i want the motor to turn for 10 seconds. stop for 5. then
> turn the other direction.
>
> would you program it the same way you would on a personal computer
> (via c, python, etc)?





More information about the Python-list mailing list