Skip to content

Instantly share code, notes, and snippets.

View Kyungpyo-Kim's full-sized avatar
😁

Kyungpyo Kim Kyungpyo-Kim

😁
View GitHub Profile
@Kyungpyo-Kim
Kyungpyo-Kim / gpu_stress_test.sh
Created October 28, 2021 07:52
Jetson GPU stress test script
#!/bin/bash
# cd /usr/local/cuda-10.2/samples/0_Simple/matrixMul
# make
while [1];
do
/usr/local/cuda-10.2/samples/0_Simple/matrixMul/matrixMul -wA=3200 -hA=320 -wB=640 -hB=3200
done
@Kyungpyo-Kim
Kyungpyo-Kim / debian_from_ros_pkg.md
Last active August 23, 2021 05:42 — forked from awesomebytes/debian_from_ros_pkg.md
How to create a debian from a ROS package
@Kyungpyo-Kim
Kyungpyo-Kim / boost_uninstall.sh
Created June 23, 2021 02:02
boost uninstall script
#!/bin/bash
echo "clear build version boost"
sudo rm -r /usr/local/lib/cmake/Boost*
sudo rm -r /usr/local/lib/cmake/boost*
sudo rm -r /usr/local/lib/libboost*
sudo rm -r /usr/local/include/boost

Void Linux on the MSI Prestige 14 (A10SC)

Pretty much everything is working out of the box. The screen is beautiful and the keyboard is nice to type on.

The battery life when just doing using the laptop as a portable laptop is pretty good. It's light, thin.

I look forwarding to testing its for some light gaming, but until then, here's what I did to get everything working on it.

Basic Installation

@Kyungpyo-Kim
Kyungpyo-Kim / Install PyQt5 on Ubuntu with python3 .md
Created April 10, 2021 12:51 — forked from r00tdaemon/Install PyQt5 on Ubuntu with python3 .md
Install PyQt5 on Ubuntu with python3. Steps to set up PyQt5 (ubuntu). With python code generation

Installation

pip3 install --user pyqt5  
sudo apt-get install python3-pyqt5  
sudo apt-get install pyqt5-dev-tools
sudo apt-get install qttools5-dev-tools

Configuring to run from terminal

@Kyungpyo-Kim
Kyungpyo-Kim / xavier.source.list
Created April 9, 2021 08:28
xavier.source.list
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ports.ubuntu.com/ubuntu-ports/ bionic main restricted
# deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://ports.ubuntu.com/ubuntu-ports/ bionic-updates main restricted
# deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic-updates main restricted
@Kyungpyo-Kim
Kyungpyo-Kim / bag_to_csv.py
Created June 19, 2020 08:11
bag_to_csv.py
'''
This script saves each topic in a bagfile as a csv.
Accepts a filename as an optional argument. Operates on all bagfiles in current directory if no argument provided
Written by Nick Speal in May 2013 at McGill University's Aerospace Mechatronics Laboratory
www.speal.ca
Supervised by Professor Inna Sharf, Professor Meyer Nahon
@Kyungpyo-Kim
Kyungpyo-Kim / bag_to_csv.py
Created June 19, 2020 08:11
bag_to_csv.py
'''
This script saves each topic in a bagfile as a csv.
Accepts a filename as an optional argument. Operates on all bagfiles in current directory if no argument provided
Written by Nick Speal in May 2013 at McGill University's Aerospace Mechatronics Laboratory
www.speal.ca
Supervised by Professor Inna Sharf, Professor Meyer Nahon
@Kyungpyo-Kim
Kyungpyo-Kim / curvature_calculation.py
Last active June 18, 2020 06:22
curvature calcuation
import numpy as np
def fn_radius_cal(x, y):
"""
@function: calcuate radius from x, y
@input: x, y of trajectory
@internal: curvature
@output: radius of trajectory
reference: https://stackoverflow.com/questions/28269379/curve-curvature-in-numpy
"""
@Kyungpyo-Kim
Kyungpyo-Kim / CMakeLists.txt
Created February 14, 2020 06:34 — forked from dirk-thomas/CMakeLists.txt
CMakeLists.txt example with ament
cmake_minimum_required(VERSION 2.8.3)
project(foo)
if(NOT WIN32)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall")
endif()
# find dependencies