Skip to main content
. 2018 Mar 17;18(3):895. doi: 10.3390/s18030895
Algorithm 2: CP Estimation on LOSL(i) based on Geometric Formulation.
Initialization: Obtain the coordinates of all wireless sensor nodes, as well as the topology information of all LOSLs, that is, their formulas; roughly know the pedestrian speed vknw;
  • Step 1.

    Launch the algorithm when LOSL(i+1) is triggered;

  • Step 2.

    Find the unique possible segment where the CP may be located as the restricted region;

  • Step 3.

    Build the matching model in Equation (9) between the ASL and measured distances travelled vknw·T(i) and vknw·T(i+1);

  • Step 4.

    Optimize the model (9) to determine the best-fitting ASL;

  • Step 5.

    Obtain the intersection of the best-fitting ASL and LOSL(i) as the estimated CP.