Abstract
Legged robots offer several benefits over standard wheeled vehicles when operating in tough and unstructured terrain. These benefits include increased speed, improved fuel efficiency, increased mobility, improved isolation from uneven terrain, and reduced environmental harm. This paper presents the modeling of an eight-legged robot that was simulated using Simscape Multibody toolbox in MATLAB, where the robot consists of eight legs, and each leg contains three links, and each link contains a PID controller, meaning it contains a total of 24 controllers. This controller was used to control the robot’s gait and make it more stable. To obtain the optimal and most stable gait for the robot and to travel a longer distance, an optimization algorithm should be used, so that in this paper the genetic algorithm (GA) is used to obtain those points. To test the robustness of the proposed controllers, different weights are added (1 kg and 3 kg) as a load to the body of the legged robot, the obtained results show the efficiency of the proposed controllers.