This paper presents a memristor-based differential neuromorphic computing method for enabling robots to adapt to unstructured environments. The method mimics human low-level perception mechanisms, achieving real-time adaptation and high-level reactions. Its effectiveness is demonstrated in object grasping and autonomous driving scenarios, achieving 94% accuracy in autonomous driving decision-making.