Skip to content

Instantly share code, notes, and snippets.

View garbear's full-sized avatar
🚀
Blasting off

Garrett Brown garbear

🚀
Blasting off
View GitHub Profile
<?xml version="1.0" ?>
<buttonmap>
<device name="SDL Game Controller" provider="sdl" buttoncount="15" axiscount="6">
<configuration />
<controller id="game.controller.default">
<feature name="a" button="0" />
<feature name="b" button="1" />
<feature name="back" button="6" />
<feature name="guide" button="14" />
<feature name="leftbumper" button="4" />
<?xml version="1.0" ?>
<buttonmap>
<device name="Wireless Controller" provider="directinput" vid="054C" pid="09CC" buttoncount="14" hatcount="1" axiscount="6">
<configuration>
<axis index="4" center="-1" range="1" />
</configuration>
<controller id="game.controller.default">
<feature name="a" axis="-3" />
<feature name="back" axis="+3" />
<feature name="start" button="6" />
#include <iostream>
using namespace std;
class String
{
public:
String() { }
~String()
{
@garbear
garbear / default.py
Created February 20, 2013 02:47
Addons.GetAddons( { "enabled": "uninstalled" } ) and xbmcaddon.Addon(installedOnly=False) test
import os, sys
import xbmc, xbmcaddon
import json
def log(msg):
xbmc.log('GETADDONS TEST: ' + str(msg), level=xbmc.LOGDEBUG)
if ( __name__ == "__main__" ):
installedAddons = []
installedJson = xbmc.executeJSONRPC('{ "jsonrpc": "2.0", "id": 1, "method": "Addons.GetAddons", "params": { "type": "xbmc.gameclient", "enabled": "all" } }')
Instructions for installing UCLA-Robomagellan software
This guide assumes you have just installed ROS on a fresh copy of Ubuntu.
1. Install the other pre-requisites:
sudo apt-get install git-core
2. Install Eclipse CDT: Open Software Center, search for and install the eclipse-cdt program
3. Follow the steps here to create a ROS workspace