Subject:
|
Re: Digital Camera with LEGO
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Wed, 2 Feb 2000 09:23:36 GMT
|
Viewed:
|
2211 times
|
| |
| |
> Using the datalog information to create a bitmap is a good idea, but the
> question is how would you transfer the data from the RCX to the computer
using spirit.ocx, you can transfer any data from and to the rcx. You
need a programming environnment which support spirit.ocx, such as visual
basic, delphi,...
Downloading spirit.ocx sdk from mindstorms site is a must.
> Even then how would the bitmap be created??
Using an image componnent, you go trough the data array, and display
each pixel on the screen (this involves converting raw sensor data with
minimum and maximum to 16 or 256 gray levels). Then, using the savefile
method of the image componnent, you save as bmp or jpeg... For better
result, the pixels displayed should be 5x5 (my setup does that) and you
could add a "blur" algorithm.
--
-------------------------------------------------------------------------
Simple yet usefull Robot stuff goto
http://users.swing.be/philippe.jadin
Votre site internet en un clin d'oeil : http://clairetnet.cjb.net
Belgium, Europe
-------------------------------------------------------------------------
|
|
Message is in Reply To:
| | Re: Digital Camera with LEGO
|
| Using the datalog information to create a bitmap is a good idea, but the question is how would you transfer the data from the RCX to the computer. Even then how would the bitmap be created?? (25 years ago, 2-Feb-00, to lugnet.robotics)
|
4 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|