This tutorial demonstrates how to start the 5-step behavior demo implemented in the Boston Dynamics Atlas Behavior Library. Assuming DRCSim 2.7 or above was installed on your system, Atlas simulation behavior library documentations can be found locally, simply point your browser here. See also the Keyboard teleop walking tutorial.
Click to see the instructions for installing the DRC simulator and associated utilities. This tutorial requires drcsim-2.7 or later.
Launch the simulator using the atlas.launch
source /usr/share/drcsim/setup.sh VRC_CHEATS_ENABLED=1 roslaunch drcsim_gazebo atlas.launch
with the environment variable
VRC_CHEATS_ENABLED set to 1.
The robot should start with individual joints position PID controlled:
To start the walking behavior, within a separate terminal, execute:
source /usr/share/drcsim/setup.sh rosrun drcsim_gazebo 5steps.py
The robot will execute a simple 5 step behavior.
mode.publish("harnessed") control_mode.publish("stand-prep") rospy.sleep(5.0) mode.publish("nominal") rospy.sleep(0.3) control_mode.publish("stand") rospy.sleep(1.0) control_mode.publish("walk")
The basic sequence includes:
harnessed: Tell the
VRCPluginto tether the robot inertially with its feet slight off the ground.
stand-prep: Tell the controller within
AtlasPluginto go into a passive stance pose.
nominal: Instructs the
VRCPluginto release the robot from its inertial tether. Atlas will fall the the ground.
stand: Instructs the controller within
AtlasPluginto begin its active balancing stand-behavior.
walk: Instructs the controller within
AtlasPluginto begin its 5 step walking behavior.