Skip to content

Instantly share code, notes, and snippets.

View chrox's full-sized avatar

Huang Xin chrox

  • Berlin, Germany
  • 15:28 (UTC +01:00)
View GitHub Profile
@chrox
chrox / ros-kinetic-macosx.md
Last active December 24, 2016 05:08 — forked from plusk01/ros-kinetic-macosx.md
Installing ROS Kinetic on Mac OS X El Capitan (10.11.6)

Installing ROS Kinetic on Mac OS X - El Capitan

Having rather painlessly installed ROS Indigo on El Capitan using Mike Purvis's script, I attempted to upgrade to ROS Kinetic. This gist outlines the problems I encoutered and how I solved them. Hopefully this guide will help others attempting to install ROS Kinetic / Gazebo 7 on El Capitan.

ROS Install OSX

Start with Mike Purvis's script, which currently is setup to install ROS Indigo. In order to install Kinetic instead of Indigo, make sure to set the ROS_DISTRO environment variable: export ROS_DISTRO=kinetic.

After you get through rosdep errors, it's quickest to just work with the catkin config ... and catkin build ... commands directly. In fact, I found it most helpful to leave my catkin workspace terminal open at ros-install-osx/kinetic_desktop_full_ws and then opening a new terminal to go tr

@chrox
chrox / koreader-nightlybuild.sh
Created March 25, 2013 13:12
build script for koreader
#!/bin/sh
SUMMARY="koreader-nightly-`date +%Y%m%d`"
PROJECT="koreader-package"
USER="******@gmail.com"
PASSWORD="************"
echo "clone koreader to dev directory"
cd ~/dev
rm -rf koreader
@chrox
chrox / kpv-nightlybuild-touch.sh
Created February 17, 2013 10:29
build script for KPV touch
#!/bin/sh
SUMMARY="kindlepdfviewer-touch-nightly-`date +%Y%m%d`"
PROJECT="kindlepdfviewer-touch-package"
USER="**********@gmail.com"
PASSWORD="**************"
echo "clone kindlepdfviewer to dev directory"
cd ~/dev
rm -rf kindlepdfviewer-touch
@chrox
chrox / github2googlecode.py
Created January 22, 2013 14:50
migrate github downloads to google code downloads
#!/usr/bin/python
import os
import time
import subprocess
from github import Github
GITHUB_USER_TOKEN = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
GITHUB_REPO = "xxxx"
GOOGLE_CODE_USER = "xxxxxxxx@gmail.com"
@chrox
chrox / KPVBooklet.java
Created December 6, 2012 13:22
run KPV as a kindle booklet
package com.github.chrox.kpvbooklet;
import java.io.IOException;
import java.lang.reflect.Field;
import java.net.URI;
import java.util.Date;
import org.json.simple.JSONObject;
import org.json.simple.JSONArray;
@chrox
chrox / BookletPatch.java
Last active October 13, 2015 12:07
Just another KPV launcher
package com.mobileread.chrox.patch.kpw.kpvlauncher;
import java.io.PrintStream;
import java.security.AllPermission;
import java.security.Permission;
import java.util.Date;
import java.util.Map;
import java.util.Arrays;
import java.net.URI;
@chrox
chrox / github-upload.py
Created November 2, 2012 15:34
build and upload customupdate of kindlepdfviewer automatically
#!/usr/bin/python
import os
import sys
import time
from datetime import datetime,timedelta
import subprocess
from github import Github
PROXY = "http://192.168.1.101:7071"
USER_TOKEN = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"