Skip to main content
. 2024 Jul 8;24(13):4424. doi: 10.3390/s24134424
Algorithm 3 Pitch–Pitch only step climbing
  • Require: robot is set longitudinally perpendicular to the stair;

  • Ensure: the step’s height has been acquired;

  •  Calculate L modules to rise;

  • for i=N; iL; ido             ▹ Pushing modules up

  •      Raise ith module;

  •      Approach;

  • end for

  • do                       ▹ Pulling modules up

  •      Approach;

  •      Place nth module on top of the step;

  •      nn1;

  • while  n>1

  • Ensure: the robot is correctly positioned;