Physics equation for optimal robot path from point A to point B

  • Context: Undergrad 
  • Thread starter Thread starter Kura_kai
  • Start date Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
10 replies · 3K views
Kura_kai
Messages
6
Reaction score
0
I am new here and i am a java programer and i needed a physics equation. I need to get an equation that can allow a robot to calculate how to get from point a to b the best way. I have been thinking of something like that but keep drawing blanks. Any help
 
Physics news on Phys.org
You are not giving use much to go on. Is it a straight line? does the robot have a map or does it need to observe it surroundings?

Graph theory has many common algorithms to determine the lowest cost path. Is this what you are looking for?
 
It is going in a straigh path the distance is going to be like 50 feet or something.
 
Kura_kai said:
It is going in a straigh path the distance is going to be like 50 feet or something.

.. and the simple equation of a straight line like y = mx + b just doesn't cut it?

Zz.
 
If the co-ordinates of the 2 points are A(x1,y1) and B(x2,y2), the equation of the line passing between them is :

[tex]y - y_1 = \frac {y_1 - y_2}{x_1 - x_2} ~ \cdot ~ x - x_1[/tex]
 
Please tell me there is something more too it then this, there are bumps on the ground, there is a hill in the way, or some sort of obstacles. It is not flat ground for 50 feet is it?
 
Davorak said:
Please tell me there is something more too it then this, there are bumps on the ground, there is a hill in the way, or some sort of obstacles. It is not flat ground for 50 feet is it?

I vote for the speed bump...

Zz.
 
It is a straight path for 50 feet. The equation is meant to find figure out how big the steps have to be so it doesn't fall forward or something other than that there is not going to be a sudden unexcpected force accting on the robot.
 
That's too ambitious kura_kai to be handled by a simple Java program. There are two things you can consider to drastically improve you robot design: 1. use the reactive agent architecture instead of symbolic reasoning (or at least hybrid), 2. Incorporate some form of learning to your robot, so that the latter itself decides which are the most optimal movements and step sizes. Sth like reinforcement learning.
Good luck!
 
Last edited by a moderator: