A Distributed Optimization Framework for Localization and Formation Control: Applications to Vision-Based Measurements | Synapse