Click here to Skip to main content
15,890,947 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am working on a project where an autonomous vehicle navigates around a map while avoiding a moving target. I have most of the code done, but I am having a problem coming up with ways to allow the vehicle to navigate by itself while also staying away from the bot. The only way I have come up to allow the vehicle to move is by actually hard coding in the directions. This gave me a good starting point to sort of get an understanding of how it will move, but I'm stuck on allowing it to move by itself. Any help or ideas would be greatly appreciated. Thanks

What I have tried:

Hard coding directions into matlab
Posted
Updated 13-Apr-16 14:53pm

1 solution

How about using 'A-Star'/'A *' search algorithm to define a path between your vehicle start point and your target - the path is the set of 'directions' the vehicle will move along

- I'm guessing you'll have to recalculate the path everytime you make a deviation to dodge your 'bot'
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900