Get Optimal Robot Movement with This Walking Equation | Java Programmer Help

  • Context: Undergrad 
  • Thread starter Thread starter Kura_kai
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around finding an optimal equation for robot movement from point A to point B, particularly in the context of programming in Java. Participants explore various factors affecting the robot's path, including obstacles and terrain variations.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant seeks a physics equation to help a robot navigate efficiently from one point to another.
  • Another participant questions the specifics of the path, asking if it is straight and whether the robot has a map or needs to observe its surroundings.
  • It is noted that the distance is approximately 50 feet and that a simple linear equation may not suffice due to terrain challenges.
  • A mathematical representation of the line between two points is provided, but some participants express concern about the simplicity of this approach given potential obstacles.
  • Questions are raised about whether the problem resembles a geodesic or brachistochrone scenario, indicating a deeper complexity in the movement challenge.
  • Suggestions are made to consider advanced robot design strategies, such as reactive agent architecture and reinforcement learning, to enhance movement optimization.
  • One participant proposes using environmental signals to guide the robot's movement rather than relying solely on coordinate calculations.

Areas of Agreement / Disagreement

Participants express differing views on the complexity of the problem, with some advocating for simple equations and others emphasizing the need for more sophisticated approaches due to environmental factors. No consensus is reached on the best method for determining optimal movement.

Contextual Notes

Participants highlight limitations related to terrain variations, obstacles, and the need for dynamic responses in robot movement, which complicate the application of straightforward mathematical models.

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?
 
Another question:is this a geodesic or a brahistochrone problem...?

Daniel.
 
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.
 
  • #10
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!
 
  • #11
Last edited by a moderator:

Similar threads

Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
10K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 35 ·
2
Replies
35
Views
5K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 45 ·
2
Replies
45
Views
6K