Skip to content

Instantly share code, notes, and snippets.

View eric-schleicher's full-sized avatar

Eric Schleicher eric-schleicher

View GitHub Profile
@eric-schleicher
eric-schleicher / .txt
Created May 5, 2017 02:03
tsdf_cpu - output
rosuser@capture-bot:~/cpu_tsdf/build$ ./integrate --in "/home/rosuser/Documents/RTAB-Map/sub/singles-pcd/" --out "/home/rosuser" --verbose
Found PCD files with prefix: /home/rosuser/Documents/RTAB-Map/sub/singles-pcd/sub-, poses with prefix: /home/rosuser/Documents/RTAB-Map/sub/singles-pcd/sub- poses
Reading in ascii pose files
Pose[0]
0.975231 -0.175469 0.134663 0.078172
-0.128078 0.04838 0.990583 0.003318
-0.180332 -0.983295 0.024708 0.03718
0 0 0 1
Pose[1]
0.952983 -0.111976 0.281577 0.098527
@eric-schleicher
eric-schleicher / gamepadtest.html
Created May 16, 2017 00:07
example script showing gamepad enumeration with and without vr displays
<html>
<head>
<meta charset="UTF-8">
<script src="//code.jquery.com/jquery-3.2.1.min.js"></script>
<title>Test Gamepads</title>
</head>
<body>
<script>
$(function(){
//bind functions to keep track to gamepads
#!/usr/bin/env python
import roslib
# roslib.load_manifest('lighthouse_tf')
import rospy
import tf
import geometry_msgs
def handle_static_tf_topic(msg, frames):
@eric-schleicher
eric-schleicher / log
Created June 29, 2017 22:13
npm install issue with greyhound
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install' ]
2 info using [email protected]
3 info using [email protected]
4 silly loadCurrentTree Starting
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 silly install normalizeTree
@eric-schleicher
eric-schleicher / txt
Created June 29, 2017 22:15
Console Output for error running npm install for greyhound on a system with known working nodegyp (rebuild)
C:\Users\user\Documents\Git\fork\greyhound>npm install
> [email protected] install C:\Users\user\Documents\Git\fork\greyhound
> node-gyp rebuild
C:\Users\user\Documents\Git\fork\greyhound>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
bindings.cpp
session.cpp
@eric-schleicher
eric-schleicher / .launch
Created July 12, 2017 01:21
ros-kinfu launch (default kinfu2.launch)
rosuser@capture-bot:~/catkin_ws$ roslaunch kinfu kinfu2.launch
... logging to /home/rosuser/.ros/log/cb78eaf0-669f-11e7-918f-34f39a77e43a/roslaunch-capture-bot-18170.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://capture-bot:46463/
SUMMARY
========
@eric-schleicher
eric-schleicher / catkin_make
Created September 7, 2017 05:20
workspace make with ros_kinfu
rosuser@capture-bot:~/catkin_ws$ catkin_make -DCMAKE_BUILD_TYPE=RelWithDebInfo
Base path: /home/rosuser/catkin_ws
Source space: /home/rosuser/catkin_ws/src
Build space: /home/rosuser/catkin_ws/build
Devel space: /home/rosuser/catkin_ws/devel
Install space: /home/rosuser/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/rosuser/catkin_ws/build"
####
####
Script started on Thu 21 Sep 2017 05:31:15 PM PDT
rosuser@capture-bot:~/src$ tar -xvf ../v4.2-006r2.tar.gz
Vrui-4.2-006r2/
Vrui-4.2-006r2/AL/
Vrui-4.2-006r2/AL/ALContextData.cpp
Vrui-4.2-006r2/AL/ALContextData.h
Vrui-4.2-006r2/AL/ALGeometryWrappers.h
Vrui-4.2-006r2/AL/ALObject.cpp
Vrui-4.2-006r2/AL/ALObject.h
Vrui-4.2-006r2/AL/ALTemplates.h
@eric-schleicher
eric-schleicher / vive-tracker-ubuntu-instructions.md
Created October 11, 2017 18:26 — forked from DanielArnett/vive-tracker-ubuntu-instructions.md
How to use the HTC Vive Trackers in Ubuntu using Python 3.6.

This tutorial will guide you through the setup of the HTC Vive Tracker in Python 3.6 on Ubuntu 14.04.

Prerequesites

Up to date graphics drivers

x86 architecture

SteamVR requires >4GB disk space

@eric-schleicher
eric-schleicher / .launch
Created January 10, 2018 19:43
launch file
<launch>
<!-- Choose visualization -->
<arg name="rviz" default="false" />
<arg name="rtabmapviz" default="true" />
<!-- Corresponding config files -->
<arg name="rtabmapviz_cfg" default="-d $(find rtabmap_ros)/launch/config/rgbd_gui.ini" />
<arg name="rviz_cfg" default="-d $(find rtabmap_ros)/launch/config/rgbd.rviz" />