Skip to content

Instantly share code, notes, and snippets.

View DanielTakeshi's full-sized avatar
🎯
Focusing

Daniel Seita DanielTakeshi

🎯
Focusing
View GitHub Profile
@DanielTakeshi
DanielTakeshi / Gist for Plotting A2C
Last active May 2, 2022 23:55
For plotting some A2C results from OpenAI baselines.
"""
Quick script I ran to visualuze some A2C results. Just run `python plot.py` in the same directory
as where the stuff in `files` is located.
"""
import argparse, csv, os, pickle, sys, matplotlib
from os.path import join
matplotlib.use('Agg')
import matplotlib.pyplot as plt
plt.style.use('seaborn-darkgrid')
import numpy as np
"""
Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
NVIDIA CORPORATION and its licensors retain all intellectual property
and proprietary rights in and to this software, related documentation
and any modifications thereto. Any use, reproduction, disclosure or
distribution of this software and related documentation without an express
license agreement from NVIDIA CORPORATION is strictly prohibited.
Franka Cube Pick
@DanielTakeshi
DanielTakeshi / Reporting_Errors.md
Last active January 8, 2024 04:45
Guide to Reporting Software Errors

Guide to Reporting Errors (CSCI 545, Spring 2024)

Note: this guide has been written for CSCI 545, Introduction to Robotics, taught by Daniel Seita in Spring 2024. We have a policy that students must state that they have read this guide before requesting software help. This is designed for the benefit of both the course staff but also for the students.

This is a short guide on how to report code-related errors. If you run into errors, following these guidelines will increase the chances that your issue gets quickly resolved. Otherwise, it might result in a protracted

@DanielTakeshi
DanielTakeshi / UR5_IK.py
Last active January 31, 2024 16:37
Isaac Gym, UR5 Inverse Kinematics to target, CPU vs GPU differences
"""
Runs IK to get the UR5 end-effector to reach a target. Inspect CPU vs GPU mode.
Use a yellow sphere to show the tip of the end-effector, and a blue sphere to
show the target. These spheres are only used for debugging / visualization.
"""
from isaacgym import gymapi
from isaacgym import gymutil
from isaacgym import gymtorch
from isaacgym.torch_utils import (quat_conjugate, quat_mul, quat_apply)
import numpy as np