This is the simple function to avoid running colcon build
in the directory which is not contain folder named 'src/'
(which might infer the place which is not the colcon workspace)
i know that removing build/ install/ logs/ is so painful !
#!/usr/bin/env python3 | |
""" | |
Triplet Dataset | |
- torchvision ImageFolder with Triplet Data | |
""" | |
# Author : Tutorgaming <[email protected]> | |
# Date : 2-Sept-2024 | |
##################################################################### | |
# Imports | |
##################################################################### |
#! /bin/bash | |
icon_size=$1 | |
defaults -currentHost read -globalDomain NSStatusItemSpacing; defaults -currentHost read -globalDomain NSStatusItemSelectionPadding | |
echo "Changing icon to size $icon_size" | |
defaults -currentHost write -globalDomain NSStatusItemSpacing -int $icon_size; defaults -currentHost write -globalDomain NSStatusItemSelectionPadding -int $icon_size |
<?xml version="1.0"?> | |
<launch> | |
<node pkg="test_pkg" type="quick_publisher.py" name="my_talker_1" output="screen" /> | |
<node pkg="test_pkg" type="quick_publisher.py" name="my_talker_2" output="screen" /> | |
<node pkg="test_pkg" type="quick_publisher.py" name="my_talker_3" output="screen" /> | |
<node pkg="test_pkg" type="quick_publisher.py" name="my_talker_4" output="screen" /> | |
</launch> |
#!/usr/bin/python | |
""" | |
RTSP Stream Reader Class for Jetson Xavier AGX | |
Requirement : Jetpack, OpenCV 4.4 with CUDA-Enabled | |
Tested RTSP Stream from | |
- HIKVISION DS-2CD2021-IAX [1280*720 Main-Stream Selected] | |
CPU Used : 20-35% on Jetson AGX |
call plug#begin() | |
Plug 'tpope/vim-fugitive' | |
Plug 'vim-airline/vim-airline' | |
Plug 'vim-airline/vim-airline-themes' | |
Plug 'tpope/vim-sensible' | |
Plug 'fratajczak/one-monokai-vim' | |
Plug 'gosukiwi/vim-atom-dark' | |
Plug 'https://github.com/junegunn/vim-github-dashboard.git' | |
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } |
# Reference | |
# http://planning.cs.uiuc.edu/node659.html | |
# Author : C3MX <[email protected]> | |
# Global Variables | |
odom_x = 0.0 | |
odom_y = 0.0 | |
odom_theta = 0.0 | |
# Wheel&Encoder Config |
The initial goal of this project is to use the raspberry pi in place of my Wireless Range Extender and then going from 3 wireless networks (2.4ghz, 2.4ghz extended, 5ghz) at home to only one (5ghz). This way I'm reducing the exposition to radio waves for the whole familly at home.
Ok, enough drama for now, let's go technical. 😁
FILE=/boot/wifi-setup.yaml | |
if [[ -f "$FILE" ]]; then | |
# Do the copy and apply the netplan profile | |
echo "$FILE exists." | |
fi |
#!/usr/bin/python | |
import subprocess | |
import time | |
def bash_command(cmd): | |
subprocess.Popen(cmd) | |
def gnome_terminal_open_tab(cmd_list): | |
""" | |
Open The Command in tabs |