Skip to content

Instantly share code, notes, and snippets.


Hyeonsu Lyu hslyu

  • 77, Cheongam-ro, Nam-gu, Pohang-si, Gyeongsangbuk-do
View GitHub Profile
import argparse
def get_parser():
parser = argparse.ArgumentParser(description="Extract bounding boxes using Detectron2",
help="path to config file",
hslyu /
Created May 14, 2020
DQN cartpole study
# Import packages
import gym
import math
import random
import numpy as np
import matplotlib
import matplotlib.pyplot as plt
from collections import namedtuple
hslyu /
Last active May 11, 2020 — forked from andreyvit/
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

# remap prefix to Control + a
hslyu / git
Last active May 11, 2020
Doodles for practicing git
View git

To be updated

View Drone Simulation Environment

This document covers building a drone simulation envrionment which utilizes PX4. The simulation testbed consists of gazebo, PX4 firmware, and ROS melodic. It reffered to this installation guide and includes includes and integration of each software, and troubleshooting of errors in the building process. This document is tested on nvidia/cuda:10.0-devel-ubuntu18.04 docker image. You can download my image.


  1. Your host OS should be Ubuntu 18.04. Otherwise, this intruction will malfunction.
  2. You should run your container with the environment variable LC_ALL. This locale setting is for the px4 firmware compiling.
docker run [your option] -e LC_ALL=en_US.UTF-8 hslyu/drone:cuda10.0-devel-ubuntu18.04