Quote:Original post by markgame66
Problem is tuning that correction angle as it gets closer to the way point.
I tried the the vector length last night (Well the decimal proportion of). Whilst technically it decreases the value, it's too harsh.
What I want is something to scale that correction angle. A potential function method (the Bellman value function) was mentioned by Emergent on a previous post.
Ok I think popsoftheyear dumbed what I had said a lot sorry to confuse people tried to make it simple. I went back to the books; 3 Calculus book and 2 physics books said the same thing (issues need to be answered), Planar and scalar version of vectors. Just want to get some facts straighten out.
What we need to know or know already:
1) We are talking about Planar vectors
2) in 2D grid based map view
3) real time issues and not discreate
4) computational adjustments from discreate(computer) to real time(real moving robot)
5) movement speed, how fast is fast and how slow is slow???
Problems:
Over correction based on turning radious calculation when close to target.
problem A: how close is close? 1 inch, 1 foot, 100 feet, 1/4 mile? (deals with the speed)
problem B: over turning,
Problem 1b: make adjustments to compensate over turning at speed ***.
Problem C: calculation is too fast when close to target compensation is to rapid.
Solution C: make a clock delay when target is in **** range. (based on speed)
Problem D: where are the corrdance (0,0) once the robot left the starting point.
Solution D: need the idea how you are moving along your axis x,y robot is (0,0), or robot follows a degree based travel plan from the map, and how to orentate the robot.
Tried:
Failed: re-calcuation broad range direction (in motion) from exact calculated magitude(way point).
Here are some of the problems to solutions to figure out again answers are based on distance (magitude), speed, acceleration and time, which we dont have.
I think if you get into the math of vectors too far your going to get into a math nightmare that will keep you awake at night. I still think you have the right idea for the vector problem its the re-calcuation to turning problem is the new issue.