Viam is the fastest way to build a robot. In this free, hands-on course, you’ll build a real robotics application in simulation and learn the fundamentals of Viam, no hardware or prior robotics experience required. By the end, you’ll be ready to build your own robot from scratch.
async def main(): objects = await vision.get_object_point_clouds("cam-1") obj = max(objects, key=lambda o: len(o.point_cloud)) obj_pose = PoseInFrame( reference_frame="cam-1", pose=obj.geometries.geometries[0].center ) await gripper.open() await motion.move( component_name="gripper-1", destination=obj_pose )