← Book overviewKorean

QUAD-01 CH15 Changing four legs and the body pose together (ROLL_PITCH_YAW)

Run video · Q01-15-00

QUAD-01WALKPhysical AI with RoboCo

About this video

A full run controlling the quadruped's body position and its roll, pitch, and yaw in RoboCo on Steam.

By computing how the four foot targets relate to the body pose, the robot's body shifts forward/back, left/right, and up/down, and tilts or turns in three directions.

You can see how one body-pose command is reflected in all four foot coordinates and joint angles.

Keys in this exercise

KeyAction
W / SBody x forward / back
A / DBody y left / right
E / QBody z up / down
J / LRoll down / up
I / KPitch up / down
U / OYaw up / down
1Automatic body-pose test
F1Key help
F2Back to the stand pose
F3Stop the automatic test

Roll is side-to-side tilt, pitch is front-to-back tilt, and yaw is turning in the horizontal plane.

Here you set the target pose directly. Automatic balance correction from IMU readings is covered separately in the BALANCE exercise.

What to watch

  • Whether the feet stay put while the body moves
  • How roll and pitch split leg lengths front/back and left/right
  • The dot on the panel's graph tracking the actual tilt

Exercise details

BookLearning Physical AI with RoboCo: Robot Structure and Gait Control (Korean edition)
SeriesPhysical AI with RoboCo · QUAD-01 (WALK)
ChapterPART 3 · CONTROL · CHAPTER 15
Related chaptersCH15·16·17·18
Practice modelBook-QUAD-01-ROLL_PITCH_YAW
Python start fileq01_body_pose_start.py
Practice files versionv3.5.0 — download
Video IDQ01-15-00
YouTubeyoutu.be/iQcXRLqDBH4 (opens in a new tab)
Continue in the book · PART 3 · CONTROL · CH15

Book and web

RoboCo is a robot building and programming simulation game developed by Filament Games. This video and the practice files are the author's teaching materials, not official RoboCo content.