GVFObstacle
An obstacle vector field (\(\mathcal{X}_{\mathcal{R}_i}\) eq. 4) as described in this paper.
gvf should be a closed loop, and the tangent (in Phi.tangent) should point counterclockwise by default.
Note: For both map functions, an input of 0 means the query point is fully outside \(\mathcal{R}_i\), and an input of 1 means the query point is fully inside \(\mathcal{Q}_i\).
Parameters
The distance to inset \(\mathcal{R}_i\) to define \(\mathcal{Q}_i\). This makes the smooth bump functions much easier to implement.
a smooth function with domain [0, 1]
and range [0, 1]
. An output of 1 means fully weighting the path vector. Inputs of 0 and 1 should give outputs of 0 and 1, respectively.
a smooth function with domain [0, 1]
and range [0, 1]
. An output of 1 means fully weighting the obstacle vector. Inputs of 0 and 1 should give outputs of 0 and 1,
respectively.