ucdavis/wayfinding

Accessible is not showing correct route.

Closed this issue · 4 comments

Hello,
As per your comment specified, "accessible route takes the elevator rather than the stairs even though the path is longer". This saying is true but violated in some cases. For example, If route is from reception to R201 or lobby to R201, result is correct that is if accessible is true path uses elevator and if accessible is false path uses stair case. But when route is from conference room to R201, result is incorrect. Path is using only elevator in both the cases(accessible or non accessible). Same issue with route from reception to R202 or lobby to R202 or conference room to R202, in any case result is from elevator only.
Can you please help to solve this issue?

Thank You.

How are you measuring the length?

On Fri, Oct 30, 2015, 11:07 PM mayuriJ notifications@github.com wrote:

Hello,
As per your comment specified, "accessible route takes the elevator rather
than the stairs even though the path is longer". This saying is true but
violated in some cases. For example, If route is from reception to R201 or
lobby to R201, result is correct that is if accessible is true path uses
elevator and if accessible is false path uses stair case. But when route is
from conference room to R201, result is incorrect. Path is using only
elevator in both the cases(accessible or non accessible). Same issue with
route from reception to R202 or lobby to R202 or conference room to R202,
in any case result is from elevator only.
Can you please help to solve this issue?

Thank You.


Reply to this email directly or view it on GitHub
#33.

For measuring the length and finding the path, I am using same calculation logic given in this jquery plugin. No any change.

Hello,
I am measuring length using this formula
Distance = sqrt{(x_2 -x_1)^2 + (y_2- y_1)^2}

Given the way that I set the paths in the demo it is shorter to take the
elevator from the conference room to 201.

On Tue, Nov 3, 2015 at 12:28 AM mayuriJ notifications@github.com wrote:

Hello,
I am measuring length using this formula
{ Distance } = sqrt{(x_2 -x_1)^2 + (y_2- y_1)^2}


Reply to this email directly or view it on GitHub
#33 (comment).