Every day new technology appears. In the field of legged robots, it is not otherwise. LIDAR vision, artificial intelligence, computing power and new drives help to improve the state of legged robots. One of the unsolved problems is still terrain navigation, such as locomotion in resistive terrain. To determine the correct locomotion, research must be carried out. In this paper, we compare two different situations, where a six-legged robot walks through variable resistive terrain with different gait in the first one and with different leg trajectories in the swing phase in the second one.