How to fuse almost anything: Localization and factor graphs