Skip to content

Instantly share code, notes, and snippets.

View WT-MM's full-sized avatar

Wesley Maa WT-MM

View GitHub Profile
@WT-MM
WT-MM / disable.py
Last active January 20, 2025 23:57
K-Bot v1 stomp
import pykos
import time
from stomp import joint_name_to_id
def disable_all_motors():
# Initialize KOS connection
kos = pykos.KOS(ip="100.69.185.128")
ac = kos.actuator
# Disable torque for all motors
import pykos
import time
import argparse
import matplotlib.pyplot as plt
from collections import deque
import csv
from datetime import datetime
import asyncio
usb = "192.168.42.1"
@WT-MM
WT-MM / build_gs_usb.md
Created December 14, 2024 11:09
Loading custom modules onto Jetson

Building and Installing the gs_usb Kernel Module from Source

(Instructions assume you're running a Linux for Tegra kernel, but will probably work for other stuff)

Check your kernel version: uname -r

Download the kernel sources from NVIDIA's website that match your L4T/JetPack version.

Install necessary packages: sudo apt-get update sudo apt-get install build-essential libncurses5-dev bc libssl-dev