This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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}...") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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) |