Skip to content

Instantly share code, notes, and snippets.

View sjchoi86's full-sized avatar
🇰🇷
Making robots smarter

Sungjoon sjchoi86

🇰🇷
Making robots smarter
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sjchoi86
sjchoi86 / 00_check_cpu_cuda_mps.ipynb
Created February 26, 2026 16:52
foundation_model_notebooks
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
class SitePositionIKSolver(object):
"""
Inverse Kinematics (IK) solver for site position targets using Damped Least Squares (DLS) method.
This class provides methods to set up IK targets, configure solver parameters, and compute joint updates to achieve desired site positions.
Usage:
------
# Create IK solver (use all rev joints by default)
ik_solver = SitePositionIKSolver(
@sjchoi86
sjchoi86 / g1_contact_handling_explained.ipynb
Created October 20, 2025 10:49
Uploaded from jupyterlab
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sjchoi86
sjchoi86 / g1_contact_model_explained.ipynb
Created October 20, 2025 10:49
Uploaded from jupyterlab
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sjchoi86
sjchoi86 / coupled_ik_allex.ipynb
Created September 4, 2025 15:10
Uploaded from jupyterlab
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sjchoi86
sjchoi86 / traj_shape.ipynb
Created August 28, 2025 07:20
Uploaded from jupyterlab
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"cells": [
{
"cell_type": "markdown",
"id": "49b65cc2-ef99-4768-a8dc-48cc3bec2e9b",
"metadata": {},
"source": [
"### Trajectory shaping"
]
},
@sjchoi86
sjchoi86 / main.py
Created August 27, 2025 13:01
Static plot widget
# Plot graph
fig = StaticPlotWidget(
title = 'Constant-velocity Interpolated Joint Position Trajectories',
x_offset = 0,
y_offset = 0,
window_width = int(0.5*env.monitor_width),
window_height = int(1.0*env.monitor_height),
x_label = 'time (sec)',
legend = True,
legend_loc = 'top-right'