Skip to content

Instantly share code, notes, and snippets.

@s-tian
s-tian / ssg48.py
Last active December 26, 2024 20:45
import numpy as np
import time
import Spectral_BLDC as Spectral
class SSG48Gripper:
OPEN_CLOSE_MARGIN = 2
import Box2D
import Box2D.b2 as b2
class b2Separator:
"""
* Convex Separator for Box2D Flash
*
* This code has been ported to Python by Stephen Tian from the Java port by Chad Palsulich of the Flash original written by Antoan Angelov.