An integrated framework for simultaneous robot and sensor network localization