mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-16 09:09:48 +00:00
license + peft-dep + init groot + flat import layering utils dataset
This commit is contained in:
@@ -25,33 +25,6 @@ from lerobot.utils.import_utils import is_package_available
|
||||
|
||||
DEVICE = os.environ.get("LEROBOT_TEST_DEVICE", str(auto_select_torch_device()))
|
||||
|
||||
AVAILABLE_ROBOTS = [
|
||||
"koch",
|
||||
"koch_bimanual",
|
||||
"aloha",
|
||||
"so100",
|
||||
"so101",
|
||||
]
|
||||
AVAILABLE_CAMERAS = [
|
||||
"opencv",
|
||||
"intelrealsense",
|
||||
]
|
||||
AVAILABLE_MOTORS = [
|
||||
"dynamixel",
|
||||
"feetech",
|
||||
]
|
||||
|
||||
TEST_ROBOT_TYPES = []
|
||||
for robot_type in AVAILABLE_ROBOTS:
|
||||
TEST_ROBOT_TYPES += [(robot_type, True), (robot_type, False)]
|
||||
|
||||
TEST_CAMERA_TYPES = []
|
||||
for camera_type in AVAILABLE_CAMERAS:
|
||||
TEST_CAMERA_TYPES += [(camera_type, True), (camera_type, False)]
|
||||
|
||||
TEST_MOTOR_TYPES = []
|
||||
for motor_type in AVAILABLE_MOTORS:
|
||||
TEST_MOTOR_TYPES += [(motor_type, True), (motor_type, False)]
|
||||
|
||||
# Camera indices used for connecting physical cameras
|
||||
OPENCV_CAMERA_INDEX = int(os.environ.get("LEROBOT_TEST_OPENCV_CAMERA_INDEX", 0))
|
||||
|
||||
Reference in New Issue
Block a user