lerobot/lerobot/common/robots/lekiwi/lekiwi_app.py

24 lines
551 B
Python

import logging
from lerobot.common.robots.lekiwi.configuration_lekiwi import LeKiwiRobotConfig
from lerobot.common.robots.lekiwi.lekiwi_robot import LeKiwiRobot
def main():
logging.info("Configuring LeKiwiRobot")
robot_config = LeKiwiRobotConfig()
robot = LeKiwiRobot(robot_config)
logging.info("Connecting LeKiwiRobot")
robot.connect()
# Remotely teleoperated
logging.info("Starting LeKiwiRobot teleoperation")
robot.run()
logging.info("Finished LeKiwiRobot cleanly")
if __name__ == "__main__":
main()