Skip to content

Instantly share code, notes, and snippets.

View moriarty's full-sized avatar

Alex Moriarty moriarty

View GitHub Profile
[ WARN] [1386943605.784200723]: Cannot read gripper values: Unable to get parameter: ActualPosition from the gripper
[ WARN] [1386943606.203998542]: Cannot read gripper values: Unable to get parameter: ActualPosition from the gripper
[ INFO] [1386943606.402182388]: Configuration file path: /home/robocup/hydro/src/youbot_driver/config
Info: Initializing EtherCAT on eth0 with communication thread
Info: 9 EtherCAT slaves found
Info: BaseLeftFront Controller Type: 174 Firmware version: 148
Info: BaseRightFront Controller Type: 174 Firmware version: 148
Info: BaseLeftBack Controller Type: 174 Firmware version: 148
Info: BaseRightBack Controller Type: 174 Firmware version: 148
[ INFO] [1386943607.373512105]: Base is initialized.
@moriarty
moriarty / git-set-user.sh
Created November 29, 2013 13:18
script to set ~/.gitconfig to students gitconfig written for youbot
#!/usr/bin/env bash
#
# This is a shared machine. I have added this
# quick script to set the git config variables
#
# If you want this to work add
#
if [ -d ~/gitconfig ]; then
@moriarty
moriarty / gist:7648386
Created November 25, 2013 20:33
stanford_wbc catkin_make error
[100%] Performing update step (git fetch) for 'wbc'
[100%] Performing configure step for 'wbc'
-- Build files have been written to: /home/alex/workspace/ros_ws/hydro/catkin_ws/build/mas_third_party_software/stanford_wbc/wbc/src/wbc-build
[100%] Performing build step for 'wbc'
Built target wbc_tinyxml
/home/alex/workspace/ros_ws/hydro/catkin_ws/build/mas_third_party_software/stanford_wbc/wbc/src/wbc/jspace/jspace/test/util.cpp: In function ‘std::string jspace::test::create_tmpfile(const char*, const char*)’:
/home/alex/workspace/ros_ws/hydro/catkin_ws/build/mas_third_party_software/stanford_wbc/wbc/src/wbc/jspace/jspace/test/util.cpp:201:66: error: ‘write’ was not declared in this scope
/home/alex/workspace/ros_ws/hydro/catkin_ws/build/mas_third_party_software/stanford_wbc/wbc/src/wbc/jspace/jspace/test/util.cpp:204:18: error: ‘close’ was not declared in this scope
/home/alex/workspace/ros_ws/hydro/catkin_ws/build/mas_third_party_software/stanford_wbc/wbc/src/wbc/opspace/src/testFactory.cpp: In member function
@moriarty
moriarty / gist:7593197
Created November 22, 2013 01:26
UG students should know how to kill a process, and when to give up
moriarty@bluenose:~$ ps aux --sort=%mem,%cpu | tail -n 6
root 32766 0.2 0.3 116172 112944 ? S Oct31 72:19 /var/ossec/bin/ossec-syscheckd
connorw 22893 99.8 0.0 3668 440 ? R Nov13 12274:11 ? ? ? ? ? ? ? ? ? ? ? ?
connorw 3812 99.9 0.0 3668 448 ? R Nov12 13275:12 /users/cs/connorw/connorw/a5/a
rkhis 20093 99.9 0.0 3668 436 ? R Nov05 23537:37 /users/cs/rkhis/csci2132/labs/lab6/dice dice
rkhis 20237 99.9 0.0 3668 436 ? R Nov05 23532:34 /users/cs/rkhis/csci2132/labs/lab6/dice dice
trudolph 22642 99.9 0.0 3668 392 ? Rs Nov13 11464:21 ./a.out
@moriarty
moriarty / gist:7357575
Last active December 27, 2015 16:49
vtk errors
########## some output from catkin_make
-- ==> add_subdirectory(mas_industrial_robotics/mir_calibration/mir_kinect_calibration)
-- Boost version: 1.49.0
-- Found the following Boost libraries:
-- system
-- filesystem
-- thread
-- date_time
-- iostreams
@moriarty
moriarty / gist:7083771
Created October 21, 2013 13:20
Recent BashRC
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
HISTCONTROL=ignoredups:ignorespace
@moriarty
moriarty / RC@W notes
Last active December 24, 2015 11:19
RoboCup @ Work scratch pad
Notes From RoboCup 2013 in Eindhoven Netherlands
5 issues assigned to me:
* 'proper' Param parsing for all scenerios
* unify launch scritps for PC1 & PC2. Or for new PC...
* Gripper Software Setup & Config
* Gripper HW testing
* Integrate Arm Planning
For proper param parsing. Currently we have one param, "--simulation"
@moriarty
moriarty / RC@Work Post WC2013
Created June 30, 2013 11:28
RoboCup@Work Post World Cup 2013 Meeting Minutes
1. colour and speed of the convayor belt.
2. Network situation.
3. Referee Box
4. Cableing.
5. Arena free of junk at all time.
6. Power and Network cables around the arena provided & shared.
(Currently we all use our and it's a mess.)
7. Arena feedback
8. Video feeds set up for audence.
9. Networking official set up.
@moriarty
moriarty / readSomeData.py
Created May 29, 2013 20:34
python get some data from file via command line arg
#!/usr/bin/env python
import numpy as np
import sys
import argparse
from argparse import ArgumentParser
import os
def extant_file(x):
"""
'Type' for argparse -checks that the file exists
@moriarty
moriarty / all-bib-entries.tex
Created May 28, 2013 14:22
Print all abstracts from a bibtex database
\documentclass{article}
% The biblatex package with reading includes abstracts in the bibliography
\usepackage[style=reading]{biblatex}
\addbibresource{myISW.bib} % the bib
\nocite{*} % nocite{*} adds all references to bibliography even if they're not cited
\begin{document}
Collection of Papers, Bib info and Abstracts for BRSU ISW MAS1