Efficient And Lightweight Localization, Perception, And Mapping For Resource-Constrained Uavs