There are already plenty of educational robots that can teach you a thing or two about coding. The Yahboom Transbot is made for more advanced students. It comes with a Silan A1 LiDAR module for scanning and mapping and an optional HD camera with pan/tilt function.
This robot can be controlled in 4 ways, including using a smartphone app or joystick. It comes with everything you need to build a self navigation ROS robot car. This kit is also ready for color recognition, face detection, and other AI apps.