What is the best programming language for building a 2D pathfinding robot?

AI Thread Summary
For building a 2D pathfinding robot, Python is a popular choice due to its ease of use and the user's prior experience with it. The decision on programming language should ideally follow the choice of hardware, which remains undecided at this stage. Suggestions for hardware include utilizing a laptop for control, allowing flexibility in programming options. Some participants express interest in learning Python or C++, highlighting their potential for more complex tasks. Overall, the discussion emphasizes the importance of hardware selection in determining the best programming language for the project.
golmschenk
Messages
35
Reaction score
0
Hello. I'm thinking about building a 2D pathfinding robot. I was just wondering if anyone wanted to suggest a programming language. I have experience in a few, but I also like trying new ones so I'm open to anything. Any suggestions? Thanks.
 
Engineering news on Phys.org
What kind of hardware\operating system will the robot be running?
 
it will depend on what hardware you use for control. It's best to choose what control system you are going to use before you choose a programming language.
 
Haha, um... no clue yet. I've only got the plans in the making. No hardware has been decided on. Speaking of which then, is there recommendations for that? I'd like to build neither a small nor extremely large one, but it will be fairly large. I actually wanted to model it after and be the size of K-9 from Doctor Who. So I guess recommendations on both the hardware and program language? I was thinking I'd like to try python. I've used python a bit and I really enjoyed it, and I'd like to use it a bit more.
 
If it's that big you can just put a laptop inside. Then you can use any language you want.
 
golmschenk said:
Haha, um... no clue yet. I've only got the plans in the making. No hardware has been decided on. Speaking of which then, is there recommendations for that? I'd like to build neither a small nor extremely large one, but it will be fairly large. I actually wanted to model it after and be the size of K-9 from Doctor Who. So I guess recommendations on both the hardware and program language? I was thinking I'd like to try python. I've used python a bit and I really enjoyed it, and I'd like to use it a bit more.

I have fooled around a bit with controlling motors, etc but I've only ever know qbasic. (haha, I know). The truth is, I've never personally ran into a situation that a nice easy qbasic program could not handle. Most controller I use are rather primitive, using serial connectors so you can control them from almost any language very easily.
I'd LOVE to learn python, or C++, but I can never seem to wrap my head around them.

Good luck!

PS, X2 on using an actual computer CPU, this leaves options open and almost limitless.
 
Hi all, I have a question. So from the derivation of the Isentropic process relationship PV^gamma = constant, there is a step dW = PdV, which can only be said for quasi-equilibrium (or reversible) processes. As such I believe PV^gamma = constant (and the family of equations) should not be applicable to just adiabatic processes? Ie, it should be applicable only for adiabatic + reversible = isentropic processes? However, I've seen couple of online notes/books, and...
Thread 'How can I find the cleanout for my building drain?'
I am a long distance truck driver, but I recently completed a plumbing program with Stratford Career Institute. In the chapter of my textbook Repairing DWV Systems, the author says that if there is a clog in the building drain, one can clear out the clog by using a snake augur or maybe some other type of tool into the cleanout for the building drain. The author said that the cleanout for the building drain is usually near the stack. I live in a duplex townhouse. Just out of curiosity, I...
I have an engine that uses a dry sump oiling system. The oil collection pan has three AN fittings to use for scavenging. Two of the fittings are approximately on the same level, the third is about 1/2 to 3/4 inch higher than the other two. The system ran for years with no problem using a three stage pump (one pressure and two scavenge stages). The two scavenge stages were connected at times to any two of the three AN fittings on the tank. Recently I tried an upgrade to a four stage pump...
Back
Top