get_gait
Signature:
BoosterRobot.get_gait() -> RobotGaitName
Description:
Get the robot's current gait. Returns the gait name most recently set via set_gait(), defaults to "default" if never set; independent of the current mode and can be called even in non-"walk" mode.
Parameters:
No parameters.
Returns:
RobotGaitName, see "Robot Metadata / RobotGaitName"
Raises:
None.
Example:
from boosteros.robots.booster import BoosterRobot
robot = BoosterRobot()
gait = robot.get_gait()
print(gait)
# Example output: default