Skip to content

Instantly share code, notes, and snippets.

View jbohren's full-sized avatar

Jonathan Bohren jbohren

View GitHub Profile
#!/usr/bin/env python
from __future__ import print_function
import sys
import os
from multiprocessing import Pool
import rosbag
#!/usr/bin/env python
from __future__ import print_function
import rospy
from concurrent.futures import ThreadPoolExecutor
class AsyncServiceProxy(object):
"""Asynchronous ROS service proxy
#!/usr/bin/perl
#
# On-the-fly adjusting of the font size in urxvt
#
# Copyright (c) 2008 David O'Neill
# 2012 Noah K. Tilton <noahktilton@gmail.com>
# 2012-2013 Jan Larres <jan@majutsushi.net>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
<launch>
<!-- This launchfile should bring up a node that broadcasts a ros image
transport on /videofile/image_raw -->
<arg name="FILENAME"/>
<arg name="LOOP" default="true"/>
<arg name="PUBLISH_FRAME" default="false"/>
<node ns="videofile" name="gscam_driver_v4l" pkg="gscam" type="gscam" output="screen">
<param name="camera_name" value="default"/>

REP: 145 Title: ROS Buildsystem Evolution (post-catkin, ament buildsystem) Author: Thibault Kruse Status: Draft Type: Process Content-Type: text/x-rst Created: 08-Jul-2015 Post-History:

#!/usr/bin/env python
from __future__ import print_function
import glob
import sys
import threading
import time
import traceback
../gazebo/physics/bullet/libgazebo_physics_bullet.so.2.2.2: undefined reference to `btHinge2Constraint::btHinge2Constraint(btRigidBody&, btRigidBody&, btVector3&, btVector3&, btVector3&)'
../gazebo/physics/bullet/libgazebo_physics_bullet.so.2.2.2: undefined reference to `btAlignedAllocInternal(unsigned long, int)'
../gazebo/physics/bullet/libgazebo_physics_bullet.so.2.2.2: undefined reference to `btCollisionObject::~btCollisionObject()'
../gazebo/physics/bullet/libgazebo_physics_bullet.so.2.2.2: undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'
../gazebo/physics/bullet/libgazebo_physics_bullet.so.2.2.2: undefined reference to `btPoint2PointConstraint::btPoint2PointConstraint(btRigidBody&, btVector3 const&)'
../gazebo/physics/bullet/libgazebo_physics_bullet.so.2.2.2: undefined reference to `btAlignedFreeInternal(void*)'
../gazebo/physics/bullet/libgazebo_physics_bullet.so.2.2.2: undefined reference to `vtable for btCollisionObject'
../gazebo/physic
#!/bin/sh
set -e
sudo apt-get install git-buildpackage libudev-dev default-jdk
# set java alternative
java_selection=$(update-alternatives --query java | awk '/^Value: /{print $NF}')
javadoc_selection=$(update-alternatives --query javadoc | awk '/^Value: /{print $NF}')
echo "java: $java_selection"
@jbohren
jbohren / carmine_109.yml
Created April 7, 2015 01:04
primesense carmine 1.09 factory calibration
height: 480
width: 640
distortion_model: plumb_bob
D: [0.0, 0.0, 0.0, 0.0, 0.0]
K: [574.0527954101562, 0.0, 319.5, 0.0, 574.0527954101562, 239.5, 0.0, 0.0, 1.0]
R: [1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0]
P: [574.0527954101562, 0.0, 319.5, 0.0, 0.0, 574.0527954101562, 239.5, 0.0, 0.0, 0.0, 1.0, 0.0]
#!/usr/bin/env python
import rospy
from std_msgs.msg import Empty
def cb(msg, args):
a1, a2, a3 = args
rospy.logwarn('args: %s %d %g' % (a1, a2, a3))