Skip to content

Instantly share code, notes, and snippets.

View jdrew1303's full-sized avatar
probably drinking coffee

James Drew jdrew1303

probably drinking coffee
View GitHub Profile

The document provides description on calibration of three Kinect for Microsoft sensors connected to one computer with several usb controllers. Three cameras setup is shown below:

![Figure 1] (http://i.imgur.com/sdOWbVl.jpg)

Intrinsic, extrinsic, and Kinect2Kinect calibration is performed to know the position of each sensor in the space. Our setup is ROS Indigo with Ubuntu 14.04. freenect_launch and camera_pose ROS packages are used. Camera_pose package provides the pipeline to calibrate the relative 6D poses between multiple camera's. freenect_launch package contains launch files for using OpenNI-compliant devices in ROS. It creates a nodelet graph to transform raw data from the device driver into point clouds, disparity images, and other products suitable for processing and visualization. It is installed with catkin as follows:

# Prep
@jdrew1303
jdrew1303 / debian_from_ros_pkg.md
Created December 26, 2019 02:16 — forked from awesomebytes/debian_from_ros_pkg.md
How to create a debian from a ROS package
@jdrew1303
jdrew1303 / Dockerfile
Created December 26, 2019 02:15 — forked from ruffsl/Dockerfile
Small ROS Network Example
FROM ros:indigo-ros-base
# install ros tutorials packages
RUN apt-get update && apt-get install -y \
ros-indigo-ros-tutorials \
ros-indigo-common-tutorials \
&& rm -rf /var/lib/apt/lists/
@jdrew1303
jdrew1303 / bag_to_images.py
Created December 26, 2019 02:13 — forked from wngreene/bag_to_images.py
Extract images from a rosbag.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2016 Massachusetts Institute of Technology
"""Extract images from a rosbag.
"""
import os
import argparse
@jdrew1303
jdrew1303 / 00_cqf_ml_elective.md
Created December 26, 2019 02:13 — forked from yhilpisch/00_cqf_ml_elective.md
Machine Learning for Finance | Dr. Yves J. Hilpisch | CQF Elective | London, 23. May 2017

Machine Learning for Finance

A CQF elective with Dr. Yves J. Hilpisch, The Python Quants GmbH

General resources:

@jdrew1303
jdrew1303 / git-remote-testgit.sh
Created December 4, 2019 05:14
example of a git-remote-helper
#!/bin/sh
# Copyright (c) 2012 Felipe Contreras
# The first argument can be a url when the fetch/push command was a url
# instead of a configured remote. In this case, use a generic alias.
if test "$1" = "testgit::$2"; then
alias=_
else
alias=$1
fi
@jdrew1303
jdrew1303 / DemoApplication.java
Last active February 1, 2024 09:15
Distroless GraalVM Dropwizard
package com.jdrew1303.tinywizard;
import io.dropwizard.Application;
import io.dropwizard.setup.Environment;
public class DemoApplication extends Application<DemoConfiguration> {
public static void main(String[] args) throws Exception {
new DemoApplication().run(args);
}