Skip to content

Instantly share code, notes, and snippets.

View LimHyungTae's full-sized avatar
🎯
Focusing on the next paper!

Hyungtae Lim LimHyungTae

🎯
Focusing on the next paper!
View GitHub Profile
@LimHyungTae
LimHyungTae / ubuntu_setup.sh
Last active April 20, 2024 14:43
2023 version of ubuntu 20.04 setting (only Korean Available)
# First, CUDA and its driver should be installed
# for saving time
# 1. Set off the nouveau
# (reference: https://support.huawei.com/enterprise/de/doc/EDOC1100165479/93fe5683/how-to-disable-the-nouveau-driver-for-different-linux-systems)
a) Create the /etc/modprobe.d/blacklist-nouveau.conf file and add the following information to the file.
```
blacklist nouveau
options nouveau modeset=0
```
@p3jitnath
p3jitnath / install-docker.sh
Last active June 22, 2024 11:56
Docker and Nvidia Docker installation in Ubuntu 20.04 LTS
# WARNING : This gist in the current form is a collection of command examples. Please exercise caution where mentioned.
# Docker
sudo apt-get update
sudo apt-get remove docker docker-engine docker.io
sudo apt install docker.io
sudo systemctl start docker
sudo systemctl enable docker
docker --version
@dongbum
dongbum / cmake-tutorial.md
Created September 25, 2019 17:38 — forked from luncliff/cmake-tutorial.md
CMake 할때 쪼오오금 도움이 되는 문서

CMake를 왜 쓰는거죠?
좋은 툴은 Visual Studio 뿐입니다. 그 이외에는 전부 사도(邪道)입니다 사도! - 작성자

주의

  • 이 문서는 CMake를 주관적으로 서술합니다
  • 이 문서를 통해 CMake를 시작하기엔 적합하지 않습니다
    https://cgold.readthedocs.io/en/latest/ 3.1 챕터까지 따라해본 이후 기본사항들을 속성으로 익히는 것을 돕기위한 보조자료로써 작성되었습니다
@phausamann
phausamann / complementary_filter.py
Created November 19, 2018 09:41
IMU orientation estimation with complementary filter
import numpy as np
from scipy.signal import filtfilt, butter
from quaternion import quaternion, from_rotation_vector, rotate_vectors
def estimate_orientation(a, w, t, alpha=0.9, g_ref=(0., 0., 1.),
theta_min=1e-6, highpass=.01, lowpass=.05):
""" Estimate orientation with a complementary filter.
Fuse linear acceleration and angular velocity measurements to obtain an
#include <pcl/filters/random_sample.h>
pcl::PointCloud<pcl::PointXYZRGB>::Ptr cloud_;
pcl::PointCloud<pcl::PointXYZRGB>::Ptr track_cloud(new pcl::PointCloud<pcl::PointXYZRGB>);
pcl::RandomSample <pcl::PointXYZRGB> random;
random.setInputCloud(cloud_);
random.setSeed (std::rand ());
random.setSample((unsigned int)(100));