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 |
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 | |
master0_device="94:c6:91:ae:d1:f5" | |
device_modules="generic" | |
sudo apt-get install -y git cmake build-essential autoconf libtool kmod | |
git clone https://gitlab.com/etherlab.org/ethercat.git | |
cd ethercat | |
git checkout stable-1.5 |
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
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 |