Skip to content

Instantly share code, notes, and snippets.

@rhololkeolke
rhololkeolke / manifest.xml
Created April 18, 2013 05:53
ROS Doc Lite Basic Setup
<export>
<rosdoc config="rosdoc.yaml"/>
</export>
#include "ExampleClass.h"
namespace example
{
ExampleClass::ExampleClass() :
x_(0),
y_(0)
{}
ExampleClass::~ExampleClass()
@rhololkeolke
rhololkeolke / CMakeLists.txt
Created January 31, 2014 01:56
Raspberry Pi ROS Test
cmake_minimum_required(VERSION 2.8.3)
project(driving_msgs)
find_package(catkin REQUIRED COMPONENTS roscpp message_generation)
add_message_files(DIRECTORY msgs)
generate_messages()
catkin_package(
@rhololkeolke
rhololkeolke / Makefile
Created January 31, 2014 05:07
ZeroMQ/Protobuf Test
.PHONY: clean
all: receiver sender SensorStates
SensorStates: SensorStates.proto
protoc --cpp_out=. SensorStates.proto
sender: sender.cpp SensorStates
g++ -o sender sender.cpp SensorStates.pb.cc -lzmq -lprotobuf
@rhololkeolke
rhololkeolke / keybase.md
Created October 18, 2014 03:06
keybase.md

Keybase proof

I hereby claim:

  • I am rhololkeolke on github.
  • I am rhololkeolke (https://keybase.io/rhololkeolke) on keybase.
  • I have a public key whose fingerprint is D61C E444 D788 B4F7 9DD1 285B 08A9 0F0C AC2E 52FC

To claim this, I am signing this object:

@rhololkeolke
rhololkeolke / gist:2961d59974e6bfbb7fd3
Last active August 29, 2015 14:14
Pickle Example
from sympy import Symbol, lambdify
import pickle
def main():
input_symbols = [Symbol('a'), Symbol('b')]
my_equation = Symbol('x') = Symbol('a') + Symbol('b')
save(input_symbols, my_equation, 'random_file')
def save(input_symbols, equation, filename):

Keybase proof

I hereby claim:

  • I am rhololkeolke on github.
  • I am rhololkeolke (https://keybase.io/rhololkeolke) on keybase.
  • I have a public key whose fingerprint is 5EF8 4F54 7292 BFA6 0ACC DCD0 21EF 2D19 AAFE C885

To claim this, I am signing this object:

<gazebo>
<plugin name="kdc_gazebo_velocity_control"
filename="libkdc_gazebo_velocity_control.so">
<linkName>YOUR LINK NAME HERE</linkName>
<ballNamespace>TOPIC NAMESPACE HERE</ballNamespace>
</plugin>
</gazebo>
@rhololkeolke
rhololkeolke / tmux_local_install.sh
Created March 19, 2017 04:46 — forked from ryin/tmux_local_install.sh
bash script for installing tmux without root access
#!/bin/bash
# Script for installing tmux on systems where you don't have root access.
# tmux will be installed in $HOME/local/bin.
# It's assumed that wget and a C/C++ compiler are installed.
# exit on error
set -e
TMUX_VERSION=1.8