There is no better way to master coding and robotics than building and programming your own robot. Desert Eye is an interesting military surveillance robot project that can give you a few ideas of your own. It is a tactical robot that can traverse desert environments. It can find enemy locations with its forward facing night vision camera.
In order to build this robot, you are going to need a Raspberry Pi 4, 18i650 batteries, heavy duty motors, a WiFi antenna and some 3D printing knowledge. According to the maker, Desert Eye will get on-board GPS and a better camera lens in the future.