Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 16, 2006, 05:23 PM   #1
jer446
macrumors 6502a
 
Join Date: Dec 2004
Send a message via AIM to jer446
Which language?

Im pretty good in robotics, and am starting to think about a project id like to begin out of school.. a personal robot... I was thinking about buying an rc tank, and converting it so i can control it over the web... What program language do you think i would use, and how would i implement the programming? Do you think i would use like a pda with wireless.. going into like a pic.. anyways away from the electronics lol.. but id like it so i could take a laptop anwhere, drop this robot down, and control it with the mouse or keyboard.. bluetooth wouldnt have enough range.. Ive only found one guy whos done something like this, but doesnt provide much info.. Also it probably would be better if i programmed it multi platform, or even better, so i can operate it via a web broswer.. Any info would be greatly appreciated.. it would kind of be like the robots the army uses..
jer446 is offline   0 Reply With Quote
Old Feb 16, 2006, 06:07 PM   #2
zimv20
macrumors 601
 
zimv20's Avatar
 
Join Date: Jul 2002
Location: chicago
you're talking about two different platforms: one onboard the robot and one for the control mechanisms.

for the former, you're going to be constrained by what hardware you go with (i'm assuming you'll be acquiring chips specifically for this purpose, or are you going to be programming your own?). i have no experience in this, but i wouldn't be surprised if robotic control chips have their own programming language. short of that, i'd expect C to be popular.

for the control stuff, i'd expect you'd be a lot more free. you'll have to use adpaters from whatever language you do your frontend in, but once that low-level stuff is sorted out, you're free to write a software control panel in java, or write some kind of html interface, etc.

how much programming experience do you have?
__________________
Oct 2011: check out my band's first album @ boxsetauthentic.com
zimv20 is offline   0 Reply With Quote
Old Feb 16, 2006, 06:14 PM   #3
jer446
Thread Starter
macrumors 6502a
 
Join Date: Dec 2004
Send a message via AIM to jer446
i have none, thats why i asked, so i can learn.. we are getting into programming basic stamps in class..
jer446 is offline   0 Reply With Quote
Old Feb 16, 2006, 07:46 PM   #4
bousozoku
Moderator emeritus
 
Join Date: Jun 2002
Location: Gone but not forgotten.
The last time I programmed a simple robot, the kit required C and/or 68HC51 (or was it 6805?) assembly code. The C compiler emitted assembly code which was integrated with the library code in source and assembled.
bousozoku is offline   0 Reply With Quote
Old Feb 16, 2006, 08:01 PM   #5
grapes911
Demi-God (Moderator emeritus)
 
grapes911's Avatar
 
Join Date: Jul 2003
Location: Citizens Bank Park
Quote:
Originally Posted by bousozoku
The last time I programmed a simple robot, the kit required C and/or 68HC51 (or was it 6805?) assembly code. The C compiler emitted assembly code which was integrated with the library code in source and assembled.
OH, I DID THAT!!! Except I used the 68HC11. It was like a 8 MHz processor or something like that. That was one hell of a chip.

I'd start with a simple processor like the ones mentioned above and learn C (not C++). Fist I'd make a robot that you could pre-program do things, but not directly control. Then I would expand it to take inputs and instantly react to them. I'd even break it down further, but you get the idea. Make 20, 30, 50+ small project (or as many as it takes) and then bring them all together.
__________________
grapes911 is offline   0 Reply With Quote
Old Feb 16, 2006, 09:05 PM   #6
jer446
Thread Starter
macrumors 6502a
 
Join Date: Dec 2004
Send a message via AIM to jer446
i already am building a robot now in school, just id like to do someting on my own time and for fun.. in school we keep adding on sensors to our robots and expand it more and more every day.. it has bump sensors, will have ir's, motor controllers, basic stamp..so i think i decided for now.. making it web contorlled isnt going to be feasable, and im going to just mount a camera on some servos and control them through rc, and then once i get that working, im going to make the video go to a head mounted display that will be able to control the servos by the position of my head. (either photo resistors or accelerometers) btw, does anyone know of some good robot forums??
jer446 is offline   0 Reply With Quote
Old Feb 16, 2006, 09:14 PM   #7
zimv20
macrumors 601
 
zimv20's Avatar
 
Join Date: Jul 2002
Location: chicago
Quote:
Originally Posted by jer446
does anyone know of some good robot forums??
i know a couple, but the robots always talk to each other in binary.
__________________
Oct 2011: check out my band's first album @ boxsetauthentic.com
zimv20 is offline   0 Reply With Quote
Old Feb 16, 2006, 09:16 PM   #8
zimv20
macrumors 601
 
zimv20's Avatar
 
Join Date: Jul 2002
Location: chicago
seriously, it would be cool to make it controllable over the internet, but baby steps first. once you're ready, give the robot an IP address, wi-fi and a way for your listener to get data from the wi-fi port. it'd be cool.
__________________
Oct 2011: check out my band's first album @ boxsetauthentic.com
zimv20 is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
different language for each document erezson OS X 10.8 Mountain Lion 0 Mar 20, 2013 05:16 AM
Anyone know more than one language? Liquinn Community Discussion 96 Oct 30, 2012 07:59 PM
Other language keyboard aijazask iPhone 0 Sep 24, 2012 02:32 AM
language smbbms Mac Programming 2 Jun 21, 2012 12:34 PM

Forum Jump

All times are GMT -5. The time now is 05:13 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC