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

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 7K views
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.