Society of Robots - Robot Forum

Software => Software => Topic started by: bbraditya on April 12, 2010, 12:02:41 AM

Title: How to make GUI?
Post by: bbraditya on April 12, 2010, 12:02:41 AM
Hi evryone!

I'm planning to make a 3d scanning robot that sends the images it scans to the computer and save it. :)
I'm also planning to explore the images, move the image around, from the GUI. ;D
what program should I use to make the GUI and how to make it? ???
Title: Re: How to make GUI?
Post by: Soeren on April 13, 2010, 03:08:31 PM
Hi,

You don't seem to realize how wide your question are. Grab some books on programming and start to learn. Programming a GUI is years ahead of you I guess.
Title: Re: How to make GUI?
Post by: codeblue on April 13, 2010, 07:49:31 PM
this really depends... something like your planning i think you could simply have something sending information to the computer and viewing the images is not really that hard they've already got programs for that... now what i think you're are really planning on using a robot to make a 3D model of it in he computer... that will be really hard and would require multiple people working on it. My best advice is if you don't have any programming experience then pick up C for robotics, and then one of the easiest way to make a GUI is probably using .net which means either basic c# or c++ programming.. A gui is not easy to program at all.. It took me six months to get the basics down because its a lot going on
Title: Re: How to make GUI?
Post by: Conscripted on April 14, 2010, 07:02:12 AM
My best advice is if you don't have any programming experience then pick up C for robotics,

Is that a book or a tutorial online somewhere?
Title: Re: How to make GUI?
Post by: codeblue on April 15, 2010, 05:54:48 PM
conscripted.... not that sure what you mean... i think ur asking if there is a c tutorial for programming robotics online or a book... Which I can't answer that well because im not into actually programming robots that much... for learning c i would use cprogramming.com and when it comes to the robotics part i think that avr freaks has some good tutorials and reverse engineering source code... such as that found in the $50 robot tutorial
Title: Re: How to make GUI?
Post by: billhowl on April 15, 2010, 06:23:30 PM
Refer to this post
A geat C programming rescource (http://www.societyofrobots.com/robotforum/index.php?topic=10646)
Title: Re: How to make GUI?
Post by: corrado33 on April 19, 2010, 02:41:15 PM
If I understand the OP correctly, he wants to make a program on the computer that he can control the robot with.  The robot will then use a 3D scanner to send images back to the computer so that the computer can analyze them an show it on a screen.  My question is, why have laser 3D scanning?  If you're going to make a laser 3D scanner, that requires a camera anyway, why not just take the pictures and send it back to the computer?  Plus, again if you make a 3D scanner, it'll only work well if you either have a VERY bright laser, or your room is completely dark.  That way your computer will easily be able to tell where the laser is, and where it isn't.  This itself requires a good amount of programming.  Making a GUI requires a LOT of know how.  You have you know a lot about the operating system you're making it in (Windows/Linux/Mac) and you have to know a lot about how to get the data from the robot to the computer.  Are you planning on having it plugged into the computer?  Because that would be a lot of data to be sending back and forth from robot to computer.  Bluetooth isn't really that fast, so your robot would not have very fluid motions.  It would have to go, stop and scan, send everything to the computer, then wait until the computer analyzed it and you sent back a command.  It's a cool idea, but I'd suggest you get someone help you make the GUI.
Title: Re: How to make GUI?
Post by: nottoooily on April 20, 2010, 04:20:55 AM
Sounds like an awesome project. The scanner data could just be dumped into a common 3D file format like STL or VRML, then it can be navigated with any off-the-shelf software - reloading the file every now and then as more data is collected from the robot.

Or use Visual Basic, it's free and can easily do GUIs without needing to understand how Windows works.