Ws 22 Introrobots
Ws 22 Introrobots
Name:
BFS: algorithm that computes distance from s to all points in 𝓠𝐟𝐫𝐞𝐞
Page 1 of 4
A search algorithm that incrementally explores 𝓠𝐟𝐫𝐞𝐞 while searching for a path
𝑈 = artificial _______________________
𝑈(𝑞) = _____________________________
Difficulties
1. Hard to construct ___________________________________________________
2. Harder to compute the ________________________________________________
Why? Computing shortest distances to __________________________________, ________________________
Attractive Field
Conic well potential
__________________________________________
Page 2 of 4
Combination Well potential:
1 2
𝜁𝑖 ‖𝑜𝑖 (𝑞) − 𝑜𝑖 (𝑞𝑓 )‖ ‖𝑜𝑖 (𝑞) − 𝑜𝑖 (𝑞𝑓 )‖ ≤ 𝑑
𝑈𝑎𝑡𝑡,𝑖 (𝑞) = { 2
1
𝑑𝜁𝑖 ‖𝑜𝑖 (𝑞) − 𝑜𝑖 (𝑞𝑓 )‖ − 𝜁𝑖 𝑑 2 ‖𝑜𝑖 (𝑞) − 𝑜𝑖 (𝑞𝑓 )‖ > 𝑑
2
1 1 1
𝜂 ( − ) 𝜌(𝑜𝑖 (𝑞)) ≤ 𝜌0
𝑈𝑟𝑒𝑝,𝑖 (𝑞) = { 2 𝜌(𝑜𝑖 (𝑞)) 𝜌0
0 𝜌(𝑜𝑖 (𝑞)) > 𝜌0
1 1 1
𝐹𝑟𝑒𝑝,𝑖 (𝑞) = −𝛻𝑈𝑟𝑒𝑝,𝑖 (𝑞) = −𝜂𝑖 ( − ) 2 ∇𝜌(𝑜𝑖 (𝑞))
𝜌(𝑜𝑖 (𝑞)) 𝜌0 𝜌 (𝑜𝑖 (𝑞))
Page 3 of 4
Intro to Robotics
Class Worksheet – Preparation for Lecture 23
1. Download the Matlab code for potential fields, PotentialFieldNavigation.m. Set the
parameters so it does not converge. Print a screen shot.
https://www.mathworks.com/matlabcentral/fileexchange/73617-robot-arm-potential-
field-navigation (or www.mathworks.com/matlabcentral/fileexchange/73617 )
1 1 1
3. Verify 𝐹𝑟𝑒𝑝_𝑖 (𝑞) = −𝛻𝑈𝑟𝑒𝑝,𝑖 (𝑞) = −𝜂𝑖 (𝜌(𝑜 (𝑞)) − 𝜌 ) 𝜌2(𝑜 (𝑞)) ∇𝜌(𝑜𝑖 (𝑞))
𝑖 0 𝑖
Page 4 of 4