Spaces:
Sleeping
Sleeping
File size: 423 Bytes
96da58e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# Utilities functions for working with robots
from robosuite.robots import BIMANUAL_ROBOTS
def check_bimanual(robot_name):
"""
Utility function that returns whether the inputted robot_name is a bimanual robot or not
Args:
robot_name (str): Name of the robot to check
Returns:
bool: True if the inputted robot is a bimanual robot
"""
return robot_name.lower() in BIMANUAL_ROBOTS
|