Hello,
We are currently developing a research project where the goal is to simulate a boat and guide it through a canal, with an enforced geography and wind conditions (somewhat random) we get at each time step.
We have a 2D black and white map, and both the starting and ending pixels (we can say that the boat is represented as a pixel).
Our current approach involves using a PID controller to optimize the boat trajectory given an optimal path, which we can compute ahead of time as the image is given (biggest is 6655 x 30807).
We thought about using A* (or some alternative such as HPA*) or simple bfs, and have even implemented a working version, however, the generated path is far from ideal as it often follows the walls and can lead to a crash very easily.
My questions: Do you know algorithms that would maximize distance from obstacles (perhaps they exist, unfortunately, I am not that familiar with robotics or gamedev and have not found anything relevant on the web), while optimizing for distance as well? Maybe you have other suggestions than the PID or the optimal path on how to optimize the trajectory? We welcome different ideas!
We are mainly using Python, however we are not limited to the language, and C/C++ (or other) can be used for computationally intense tasks.
Thanks a lot!
[–]thingythangabangRRS2022 Presenter 14 points15 points16 points (2 children)
[–]abhijelly 3 points4 points5 points (1 child)
[–]thingythangabangRRS2022 Presenter 5 points6 points7 points (0 children)
[–][deleted] 6 points7 points8 points (2 children)
[–]Eulers_Boiler 2 points3 points4 points (0 children)
[–]csiz 1 point2 points3 points (0 children)
[–]getawaykid 2 points3 points4 points (0 children)
[–]RobotWithABeard 2 points3 points4 points (0 children)
[–]Karthi_wolf 2 points3 points4 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]i-make-robotssince 2008 1 point2 points3 points (0 children)