Robotics is a multidisciplinary field that combines elements of computer science, mechanical and electrical engineering, and more. In the realm of computer science, robotics is often focused on aspects such as robot programming, artificial intelligence (AI), machine learning, and autonomous systems. This can encompass things like perception (how a robot understands its environment), planning (how a robot decides what actions to take), and control (how a robot executes these actions).
Before jumping into robotics, you should have a good understanding of several key areas: