hulop / NavCogIOS

NavCog is an example app of blelocpp library aimed specifically for the blind to help those people “explore” the world without vision. Now we are developing v3.
https://github.com/hulop/NavCogIOSv3
MIT License
10 stars 8 forks source link

Break state machine away from navigation instruction code #8

Open dsato80 opened 8 years ago

dsato80 commented 8 years ago

From @colegleason on November 19, 2015 1:49

A lot of the distance notifications and instructions do not belong in the state machine code. That should probably be broken away, possibly into an observer pattern. Distance notification and route instructions could then split easily and just subscribe to localization (or state machine) updates.

Copied from original issue: hulop/NavCogIOS-old#5

dsato80 commented 8 years ago

This has been discussing on wiki page https://github.com/hulop/NavCogIOS/wiki/DRAFT---Navigation-Events