dora-idefics2 / tests /test_robomaster.py
haixuantao's picture
initial commit
034b730
raw
history blame
261 Bytes
from robomaster import robot, blaster, led
CONN = "ap"
ep_robot = robot.Robot()
print("Initializing robot...")
assert ep_robot.initialize(conn_type=CONN), "Could not initialize ep_robot"
event = ep_robot.chassis.move(x=0, y=0, z=-90.0, xy_speed=0, z_speed=50)