Here is another robot that can teach you a thing or two about programming. The Hiwonder Tankbot comes ready for STM32 programming. It has ultrasonic, sound, accelerometer and line follower sensors and can be controlled with an app and glove.
This robot has a 6DOF robotic arm. It can stand after a rollover, keep its distance, and follow lines. It is ready for teleoperation.