This file contains 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
extra_url=`pip config get global.extra-index-url 2>/dev/null`; url="<new-extra-url>"; if [[ ! $extra_url =~ $url ]]; then pip config set global.extra-index-url "$extra_url $url"; fi |
This file contains 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
#!/bin/bash | |
LIBFRANKA_VER="0.9.1" | |
sudo apt install build-essential cmake git libpoco-dev libeigen3-dev | |
# For legacy versions, use my patched repository | |
repo="https://github.com/frankaemika/libfranka.git" | |
if [[ "$LIBFRANKA_VER" == "0.7.1" || "$LIBFRANKA_VER" == "0.8.0" ]]; then | |
repo="https://github.com/JeanElsner/libfranka.git" |
This file contains 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
#!/bin/bash | |
# Check if the correct number of arguments are passed | |
if [ "$#" -eq 0 ] || [ "$#" -gt 2 ]; then | |
echo "Usage: $0 <master0_device> [device_modules]" | |
exit 1 | |
fi | |
# Assign command-line arguments to variables | |
master0_device="$1" |
This file contains 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 | |
from collections import deque | |
import time | |
import mujoco | |
import numpy as np | |
from PySide6.QtWidgets import (QApplication, QWidget, QMainWindow, | |
QVBoxLayout, QCheckBox, QGroupBox, QHBoxLayout) | |
from PySide6.QtCore import QTimer, Qt | |
from PySide6.QtOpenGLWidgets import QOpenGLWidget | |
from PySide6.QtOpenGL import QOpenGLWindow |