lucky-bai / watisrain Goto Github PK
View Code? Open in Web Editor NEWMobile app to get around campus without going outside
License: MIT License
Mobile app to get around campus without going outside
License: MIT License
The current script to generate location data is not very well written. Refactor this to be a coherent standalone tool.
Some nice to have features:
Have some way of toggling between rain (stay inside at all cost) and sunshine (ok to go outside)
The initial instructions are to "touch the map to select destination" but actually the first touch selects start location.
Didn't expect this to be a problem, but there is no campus map with STC in it anywhere online. I am emailing UW helpdesk about this.
If that doesn't work, the backup plan is photoshop STC into current map.
ie, the location of the red circle does not correspond with the center of the building. This is a problem because the route is always drawn to the center of the red circle.
Major offenders: B1, TC
Minor offenders: ML, SCH
Optimistic time estimate: 6-8 weeks
While studying for the cs341 final, it occurred to me that my implementation of Dijkstra is bad and runs in quadratic time. It should be O(n log n) if we use priority queue like we're supposed to. Not super high priority to fix because performance is fast enough in most cases, but adding to to-do list.
Also iOS should be updated as well, of course.
Maybe some combination of images, color, bold, HTML.
Eventually, tapping a direction should make the map zoom to it.
When going from CPH to DWE something weird happens: you have to go up to floor 3 of CPH, cross over to DWE (you're on the eastern half of DWE) and immediately go down to floor 2 of DWE to continue. The way I'll probably handle this (for now) is link CPH:3 to DWE:2 but this solution is not entirely satisfactory (note also you can't go from CPH:2 to DWE:2)
Problem is, we don't have a node for the eastern half of DWE, only for DWE as a whole. So where does the stair-descending take place? Not in CPH for sure, because CPH:2 is not connected to DWE:2. Doing it in DWE is confusing due to the way stair climbing is drawn on the map. So best for now is to leave out the stair-descending and link CPH:3 to DWE:2.
Later maybe we can investigate more complicated infrastructure to handle cases like this but this will do for now.
Every path must have a natural set of waypoints between them. This is about 50% done.
Hey, I'm not sure if you have it for ios or not.. but it seems like you do and whenever i click to download it it says it isn't available in Canada.
If the device screen size is really small, the map is covered up by the directions pane. It should be collapsable somehow.
When we find a path between MC:4 and DC:1, there are three potential paths:
Right now, they are weighted all the same and the algorithm picks one at random. It should prefer 2,3 over 1 because it climbs down 2 stairs at once.
A common complaint is that the directions panel tends to block the map. This is because the app was initially intended for tablets, and I didn't realize this would be a problem for phones. Now that most of the users are using phones, this is a pretty important improvement.
I'm not sure what's the best way to fix this. Some possibilities:
This needs some more investigation to determine the best solution. Make sure that the solution works for phones and tablets, for portrait and landscape modes.
Otherwise, the route appears thicker when the map is zoomed out.
How the hell is this app not available for Canadian App Store?
Currently the best route from MC to EIT is MC-C2-ESC-EIT. But the MC-C2 tunnel is at level -1 so this requires traversing at least 3 sets of stairs.
Better is MC-QNC-B2-ESC-EIT which can be done with 1 set of stairs.
I installed this app so that I could find the shortest route from MC to OPT, but it seems like it's cut off by the map (I'm not able to find OPT and click on it).
There also may be other locations that also have been cut off or simply not included.
I'm thinking of 2 states:
also click events are not detected
Things to investigate:
(connecting floor numbers)
ESC-EIT
ESC-C2
EIT-PHY
And of course, SW corner
Need an android icon, currently using the default robot
Namely, C2, TC, AL seem to be 0 indexed instead of 1 indexed like everything else.
A new building STC (Science Teaching Complex) is under construction right now. It is connected to B1 and NH, but I'm not sure which floors exactly. Also there seems to be a one-way underground tunnel from STC to ring road (this definitely requires a code change to the pathfinding algorithm to support one-way paths but I think it's not difficult).
The current map doesn't even have the STC building labelled, so we need to swap in a new map. Make sure that the new map is calibrated correctly, and look for any building labels that has shifted as well.
This modal dialog should allow you to specify:
Currently, the only differentiation between edges of the graph is inside vs outside. We should differentiate at least between the following:
This is not always true, you can have a path from V1 to REV for instance. Need a specific marker to mark a path as indoors or not.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.