Command | Keys |
---|---|
To search | super + a |
To close search | alt + f4 |
To switch workspace | super + s |
To toggle windows | alt + tab |
To resize the current window | cltrl + alt + [numpad] |
To shift to right tabs | ctrl +tab |
To shift to left tabs | ctrl +shit +tab |
To close a tab | ctrl + w |
π
This file contains hidden or 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
import cv2 | |
import numpy as np | |
import matplotlib.pyplot as plt | |
def resize_image(image, zoom_factor): | |
height, width = image.shape[:2] | |
new_height, new_width = int(height * zoom_factor), int(width * zoom_factor) | |
return cv2.resize(image, (new_width, new_height), interpolation=cv2.INTER_LINEAR) | |
def register_images(img1, img2): |
This file contains hidden or 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 | |
#findusbdev.sh | |
if [[ "$1" =~ ^(-h|--help)$ ]]; then | |
echo "Find which USB devices are associated with which /dev/ nodes | |
Usage: | |
$0 [-h|--help] [searchString] | |
-h | --help Prints this message |
This file contains hidden or 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
#include <iostream> | |
#include <csignal> | |
#include <stdlib.h> | |
#include <unistd.h> | |
void signalHandler( int signum ) { | |
std::cout << "Interrupt signal (" << signum << ") received.\n"; | |
// cleanup and close up stuff here |
This file contains hidden or 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
# ROS Installation | |
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' | |
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116 | |
sudo apt-get update | |
sudo apt-get install ros-kinetic-desktop-full | |
sudo rosdep init | |
rosdep | |
echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc | |
sudo apt-get install python-rosinstall python-rosinstall-generator python-wstool build-essential |
This file contains hidden or 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
from __future__ import division | |
import sys | |
import sysv_ipc | |
sys.path.append('.') | |
import RTIMU | |
import os.path | |
import time | |
from smbus import SMBus | |
import Adafruit_PCA9685 | |
import math |
This file contains hidden or 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
from non_blocking import * | |
def HigherControl(k, v0): | |
if k == 'w': | |
v = v0 + 0.001 | |
elif k == 's': |
People
![]() :bowtie: |
π :smile: |
π :laughing: |
---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |