Subject:
|
Re: Easy Telerobotics, no programming needed!
|
Newsgroups:
|
lugnet.robotics.tele
|
Date:
|
Fri, 15 Sep 2000 10:06:46 GMT
|
Viewed:
|
3727 times
|
| |
| |
That's a pretty slick program. It has a clean interface. What did you
write it in? VB ?
I imagine I can use the camera from Vision Command as a web cam.
Unfortunately I don't know anything about web cam's as far as software goes.
Can you point me in the right direction?
Regarding the java script:
<INPUT TYPE="button" NAME="button1" VALUE="Program 1" onClick='dummy.src
=
WebBrickURL+"X1"+Math.random()'><br>
What is the Math.random() part for? how about the dummy.src? I can barely
spell javascript so I'm curious as to what it is sending to web brick.
I would want to keep a single program running so that I can limit the web
cam (via a rotation sensor) to look at only certain parts of the room
(privacy). The javascript and web brick could be modified to send messages
using SendMessage(). The program running in the RCX could then respond to
them - up, down, left right, open close, etc.
You could also just send commands to activate the motors (like the remote)
regardless of the program running - ideal for a motorized web cam stand.
Thanks and keep up the good work.
Ryan
--
reply to: rjschave at home dot com
http://members.home.net/rjschave
"Amnon Silverstein" <amnon@best.com> wrote in message
news:G0wy6u.15x@lugnet.com...
> WebBrick is a free program that lets you connect your Lego Mindstorm's robot to
> a web-page user interface. When anyone on the internet connects to your web
> page, they can press buttons on the page that activate your robot. There are 6
> buttons you can put on your web page, and they activate the 5 different
> programs on the brick, and one button stops the program. You can set up the 5
> buttons to run the motors forward and backwards without any programming, by
> downloading the included "Simple" program.
>
> You don't need to do any programming, or to set up any CGI script. Just cut and
> paste the code for some JavaScript buttons onto your web page and you are ready
> to go!
> http://www.best.com/~amnon/Homepage/Lego/
|
|
Message has 1 Reply: | | Re: Easy Telerobotics, no programming needed!
|
| That Math.random is a hack to fool JavaScript into sending messages to WebBrick. Here is how the JavaScript works: First, I make a fake image variable "dummy." When you push a button, JavaScript is given the command to load the image with the image (...) (24 years ago, 15-Sep-00, to lugnet.robotics.tele)
|
Message is in Reply To:
| | Easy Telerobotics, no programming needed!
|
| WebBrick is a free program that lets you connect your Lego Mindstorm's robot to a web-page user interface. When anyone on the internet connects to your web page, they can press buttons on the page that activate your robot. There are 6 buttons you (...) (24 years ago, 15-Sep-00, to lugnet.robotics.tele)
|
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|