Skip to content

Instantly share code, notes, and snippets.

View lauzadis's full-sized avatar

Matas lauzadis

View GitHub Profile
@lauzadis
lauzadis / teleoperation.py
Created April 24, 2026 01:39
Teleoperation script
# Teleoperation: UARM leader arm -> UR5 follower robot
# File location: LeRobot-Anything-U-Arm/src/uarm/scripts/Uarm_teleop/Feetech_servo
import sys
import numpy as np
import time
from dataclasses import dataclass, field
sys.path.append("..")
from scservo_sdk import *
@lauzadis
lauzadis / test_ur_rtde.py
Created April 24, 2026 01:37
Test RTDE connection to UR robot
#!/usr/bin/env python3
import rtde_control
import rtde_receive
import time
ROBOT_IP = "192.168.1.150"
def test_ur_rtde():
try:
print(f"Connecting to UR5 at {ROBOT_IP}...")
New York City 71
Chicago 34
Dallas 23
Houston 22
San Francisco 19
San Jose 19
Atlanta 16
Minneapolis 16
Washington DC 16
Boston 13
@lauzadis
lauzadis / narr_simple.py
Created March 30, 2020 17:21
CDC Challenge Weather Data Code
import rasterstats as rs
import geopandas as gpd
import os
import pandas as pd
import glob
shape_frame = gpd.read_file('./tl_2017_us_county/tl_2017_us_county.shp')
shape = shape_frame.to_crs('+proj=longlat +datum=WGS84 +no_defs')
shape['GEOID'] = shape['GEOID'].astype(str)