¿How can I build a matrix route using a 4x4 board and marking a specific place where i need to get to? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

¿How can I build a matrix route using a 4x4 board and marking a specific place where i need to get to?

I'm currently working on a search and rescue robot, we are going to use a 4x4 grid wich has a randomly selected spot to where the robot has to get to, i need to find a way to send a predefined route to the robot, by just knowing the position of the object i need to rescue.

27th Jan 2020, 6:14 AM
Hector Garcia
Hector Garcia - avatar
2 Answers
0
Actually there is going be obstacles but I wanted to start step by step so I don't get all tangled up. I'll search for Manhattan Distance thank you!
27th Jan 2020, 2:35 PM
Hector Garcia
Hector Garcia - avatar
0
Than you very much, I'll be in touch in case i get stuck in something.
27th Jan 2020, 2:48 PM
Hector Garcia
Hector Garcia - avatar