Shop OBEX P1 Docs P2 Docs Learn Events
Programmable GUI for 3D bot on Cam View — Parallax Forums

Programmable GUI for 3D bot on Cam View

Kirk FraserKirk Fraser Posts: 364
edited 2012-03-28 21:36 in Robotics
Any robot could use a programmable GUI showing its actions on its environment. Like to build it?
Go to http://www.jvuletich.org/Cuis/Index.html and download Cuis 3.3 (left frame) plus the VM to run it on a PC.
Then start it, open a browser, and start programming in Smalltalk, the best open source object language available.

The more advanced VM comes with primitives to read WebCam input, so get that.
The integrated graphics library in Smalltalk is named Morphic so browse through that and a tutorial from squeak.org
Hook up the serial terminal code to replace the Parallax serial terminal so you can read data from a Propeller and display it.
Since you are programming, why bother with a table of numbers when you can display a 3D robot showing what it's doing in detail?
Or if you want both, call it another view of the same data.

The camera can be mounted up above and behind the robot or mounted in a more fixed overview position.
If robot mounted, you'll have to transmit the camera data to your PC.
Sign In or Register to comment.