Skip to content

Instantly share code, notes, and snippets.

View moriarty's full-sized avatar

Alex Moriarty moriarty

View GitHub Profile
@moriarty
moriarty / gist:5525013
Created May 6, 2013 13:11
git config for RoboCupAtWork
#
# You can modify by hand REPO/.git/config or probably best to use
# $ git remote add NAME_OF_REMOTE USER@ADDRESS:/TO/REPO.git
#
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
{
"metadata": {
"name": "brsu_mrc_assignment_003"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@moriarty
moriarty / bash_ros_stuff
Last active October 13, 2015 16:58
My bash ros stuff
## These are variables you might change often
_ROS_DISTRO=hydro
_PRINT=true # display ROS info in new bash sessions
_FANCY=true
export ROBOT=youbot-brsu-2
export ROBOT_ENV=brsu-c025
export ROS_MASTER_URI=http://localhost:11311
## These are used to locate your catkin_ws/devel/setup.bash
_ROS_WS=$HOME/workspace/ros_ws
@moriarty
moriarty / move_arm_example.py
Created October 24, 2012 05:38
Python ROS example
#!/usr/bin/python
import time
import roslib
roslib.load_manifest('raw_arm_cmds')
import rospy
import actionlib
from simple_script_server import *
@moriarty
moriarty / linefollower.py
Created October 24, 2012 05:36
Python Line Follower NXT
"""
Line Follower
By: Alex Moriarty (alexander@dal.ca)
Location:
"""
from nxt.locator import *
from nxt.motor import *
from nxt.sensor import *