Skip to content

Instantly share code, notes, and snippets.

@felix-kolbe
felix-kolbe / single_raw_finder.py
Last active September 1, 2019 19:28
Tool to find remains of digital camera image file pairs (raw and jpg) and offer moving or deleting.
import argparse
import os
from pathlib import Path
path1 = r"c:\Users\Felix\Pictures\NX500c\_for_renaming\USA-2019"
EXTENSIONS_JPG = {'.JPG', '.JPEG'}
EXTENSIONS_RAW = {'.SRW', '.NRW'}
EXTENSIONS = EXTENSIONS_JPG | EXTENSIONS_RAW
#!/bin/bash
# this file is listed in /etc/rc.local to be executed on boot as user root
if [ "$(whoami)" != "root" ]; then
echo "Run me as super user!"
exit 1
fi
#include <boost/thread.hpp>
#include <ros/ros.h>
#include <tf/transform_broadcaster.h>
#include <tf/transform_listener.h>
#include <sensor_msgs/PointCloud2.h>
// PCL specific includes
#include <pcl_ros/point_cloud.h>
#include <pcl/ros/conversions.h>