This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
# | |
# Usage: | |
# Any arguments to this script are passed along to `catkin build` | |
# | |
# i.e.: | |
# ./race.zsh # Run with default number of jobs | |
# ./race.zsh -p 1 # Run with only one job | |
# | |
# Description: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am cmansley on github. | |
* I am cmansley (https://keybase.io/cmansley) on keybase. | |
* I have a public key whose fingerprint is 67FD FE29 1E3C AFDD 6591 375F 8AA6 9BD5 71CA 52A1 | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
names = [x for x in os.listdir(samples_dir + "/left/") if ".yaml" in x] | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import math | |
import random | |
from cvxopt import matrix | |
from cvxopt import solvers | |
solvers.options['show_progress'] = False | |
def dot(T,V): | |
return sum([T[i]*V[i] for i in range(len(V))]) |