Navigation system for a smart wheelchair