Skip to content

Instantly share code, notes, and snippets.

View hawesie's full-sized avatar

Nick Hawes hawesie

View GitHub Profile
@hawesie
hawesie / short bash prompt
Created August 9, 2018 12:05
Terminal config stuff
if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}[\W]\$ '
else
PS1='${debian_chroot:+($debian_chroot)}[\W]\$ '
fi
-- fe10a49483339bc4a20be98d486d2650687b2e04/kinetic/lcas-dist.yaml
+++ fe10a49483339bc4a20be98d486d2650687b2e04/kinetic/lcas-dist.yaml
@@ -31,8 +31,6 @@
status: developed
coordination_oru_ros:
release:
- packages:
- - coordination_oru_ros
tags:
release: release/kinetic/{package}/{version}
- meta:
map: tsc20160523
node: ChargingPoint
pointset: tsc_1611
tag:
- SafeNode
node:
edges:
- action: undocking
edge_id: ChargingPoint_Station
{    
"accessories": [        {            
"accessory": "Sonos",
            "name": "KITCHEN Speakers",
            "room": "KITCHEN"        
}],
"platforms": [        {            
"platform": "HarmonyHub",
"name": "MediaCentre"
}]
@hawesie
hawesie / nxtcam-viewer
Created February 3, 2016 15:18
nxtcam-viewer
#!/bin/csh
# make sure we have java enabled
#setup Java
# this is where we get our stuff from
setenv NXTCAM_HOME /bham/pd/packages/nxtcam-viewer/1.7
java -Djava.library.path="${NXTCAM_HOME}/lib" -classpath /usr/share/java/jdom1.jar:${NXTCAM_HOME}/lib/RXTXcomm.jar:${NXTCAM_HOME}/classes: avr.swing.JAVRCamFrame
Started by timer
Building in workspace /var/lib/jenkins/sharedspace
[sharedspace] $ /bin/bash -xe /tmp/hudson7997412746895247432.sh
+ export PATH=/usr/local/cuda-5.5/bin:/opt/bin:/opt/strands/strands_catkin_ws/devel/bin:/opt/ros/hydro/bin:/usr/local/cuda-5.5/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/opt/strands/bin:/opt/MIRA/bin
+ PATH=/usr/local/cuda-5.5/bin:/opt/bin:/opt/strands/strands_catkin_ws/devel/bin:/opt/ros/hydro/bin:/usr/local/cuda-5.5/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/opt/strands/bin:/opt/MIRA/bin
+ export LD_LIBRARY_PATH=/usr/local/cuda-5.5/lib64:/opt/strands/strands_catkin_ws/devel/lib:/opt/ros/hydro/lib:/usr/local/cuda-5.5/lib64:/opt/MIRA/lib
+ LD_LIBRARY_PATH=/usr/local/cuda-5.5/lib64:/opt/strands/strands_catkin_ws/devel/lib:/opt/ros/hydro/lib:/usr/local/cuda-5.5/lib64:/opt/MIRA/lib
+ export MIRA_PATH=/opt/MIRA
+ MIRA_PATH=/opt/MIRA
+ export LD_LIBRARY_PATH=/usr/local/cuda-5.5/lib64:/opt/strands/strands_catkin_ws/devel/lib:/opt/ros/hydro/lib:/usr
@hawesie
hawesie / patroller-1.log
Last active December 21, 2015 10:59
Patroller battery charge issue
[rospy.client][INFO] 2013-08-21 15:40:19,154: init_node, name[/patroller], pid[15325]
[xmlrpc][INFO] 2013-08-21 15:40:19,155: XML-RPC server binding to 0.0.0.0:0
[xmlrpc][INFO] 2013-08-21 15:40:19,156: Started XML-RPC server [http://bob:42892/]
[rospy.impl.masterslave][INFO] 2013-08-21 15:40:19,157: _ready: http://bob:42892/
[rospy.registration][INFO] 2013-08-21 15:40:19,158: Registering with master node http://localhost:11311
[rospy.init][INFO] 2013-08-21 15:40:19,158: ROS Slave URI: [http://bob:42892/]
[xmlrpc][INFO] 2013-08-21 15:40:19,158: xml rpc node: starting XML-RPC server
[rospy.init][INFO] 2013-08-21 15:40:19,159: registered with master
[rospy.rosout][INFO] 2013-08-21 15:40:19,160: initializing /rosout core topic
[rospy.rosout][INFO] 2013-08-21 15:40:19,167: connected to core topic /rosout
@hawesie
hawesie / MORSE output
Last active December 20, 2015 03:49
MORSE segfault with DepthCamera on OSX
banks:strands_catkin_ws nah$ roslaunch strands_morse bham_cs_morse.launch
... logging to /Users/nah/.ros/log/c46db4e8-f498-11e2-8e17-28cfe9150749/roslaunch-banks.local-46002.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
DEPRECATED IN HYDRO:
The <include> tag should be prepended with 'xacro' if that is the intended use
of it, such as <xacro:include ...>. Use the following script to fix incorrect
xacro includes:
sed -i 's/<include/<xacro:include/g' `find . -iname *.xacro`
@hawesie
hawesie / gist:5639206
Created May 23, 2013 20:32
MORSE on OSX rendering error
* Loading simulation </Users/nah/code/morse_tuts/robot_scene.py>.
* morse 1.0-169-gd208-dirty
* MORSE has only been tested on Linux. It may work
on other operating systems as well, but without any guarantee
* Blender emitted errors during launch:
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
@hawesie
hawesie / gist:3697551
Created September 11, 2012 10:48
Process sample from over-active CalendarAgent on Mountain Lion
Sampling process 20306 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling CalendarAgent (pid 20306) every 1 millisecond
Process: CalendarAgent [20306]
Path: /System/Library/PrivateFrameworks/CalendarAgent.framework/Executables/CalendarAgent
Load Address: 0x10f760000
Identifier: CalendarAgent
Version: 1.0 (47)
Code Type: X86-64 (Native)
Parent Process: launchd [234]