- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
- They are the people who get things done. Effective Engineers produce results.
| # rotation.py - rotation methods for GPR | |
| # Many methods borrow heavily or entirely from transforms3d | |
| # eventually some of these may be upstreamed, but credit to transforms3d | |
| # authors for implementing the many of the formulations we use here. | |
| import numpy as np | |
| ''' | |
| Rotations | |
| ========= |
| #!/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 |
| #include <iostream> | |
| #include <iomanip> | |
| #include "filearray.h" | |
| using namespace std; | |
| // flags for opening a file that already exists | |
| static const ios::open_mode readWriteMode = ios::in | ios::out | ios::binary; | |
| // flags for creating a file that does not yet exist |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include "ros/ros.h" | |
| #include "std_msgs/MultiArrayLayout.h" | |
| #include "std_msgs/MultiArrayDimension.h" | |
| #include "std_msgs/Int32MultiArray.h" |
| # alias | |
| alias l='ls -ClA' | |
| alias 'grep=grep --color=auto' | |
| alias rsync='rsync -rvzpP --chmod=Du=rwx,Dgo=rx,Fu=rw,Fgo=r' | |
| alias rsyncr='rsync -rvzpP --chmod=Du=rwx,Dgo=rx,Fu=rw,Fgo=r -e "ssh -p 31415"' | |
| alias sshrsub='ssh -R 52698:localhost:52698' | |
| alias rm='rm -i' | |
| alias mv='mv -i' | |
| alias cp='cp -i' | |
| alias cls='printf "\033c"' |
| gui: | |
| expandFocusedSidePanel: true | |
| nerdFontsVersion: '3' | |
| sidePanelWidth: 0.2 | |
| splitDiff: always | |
| theme: | |
| selectedRangeBgColor: | |
| - green | |
| - bold | |
| git: |
| username="kd" | |
| apps=("python3" "python3-pip" "git" "curl" "wget" "lsb-release" "stow" "trash-cli" "silversearcher-ag" "fd-find" "ripgrep" "unzip" "fzf" "duf" "ncdu" "tmux" "jq" "zsh" "python3-venv") | |
| apps_to_configure=("git" "tmux" "zsh" "coc") | |
| architecture=$(uname -m) | |
| install_apt_apps() { | |
| for app in "${apps[@]}"; do | |
| check_and_install $app | |
| done | |
| } |