Skip to content

Instantly share code, notes, and snippets.

View jon-weisz's full-sized avatar

Jonathan Weisz jon-weisz

  • Columbia University
  • New York, New York
View GitHub Profile
class ViewMeta(type):
def __new__(cls, name, parents, dct):
if 'uic_file' in dct:
uic_form, uic_base = #magic uic loading
parents_extended = [p for p in parents] + [uic_form, uic_base]
return super(InterfaceMeta, cls).__new__(cls, name, parents_extended, dct)
class ViewClass(object):
__metaclass__ = ViewMeta
uic_file=path_to_uic
diff --git a/setup.py b/setup.py
index 75e5b38..fe6f1f4 100644
--- a/setup.py
+++ b/setup.py
@@ -62,7 +62,7 @@ setup(name="fsmtest",
"tests.*",
"tests"]),
- scripts=["bin/fsmt", "bin/fsmt_iniparser", "bin/fsmt_vd_wrapper"],
+ scripts=["bin/fsmt", "bin/fsmt_iniparser", "bin/fsmt_vd_wrapper", "bin/fsmt_exouttimed"],
@jon-weisz
jon-weisz / gist:146082b79e7835568157
Created September 2, 2015 20:14
openrave make -j1 build failure.
Started by upstream project "distribution-buildflow-cca-lwr-testing-nightly" build number 1
originally caused by:
Started by user jenkins
Building in workspace /tmp/jenkins/jobs/openrave-master-toolkit-cca-lwr-testing-nightly/workspace
Cloning the remote Git repository
Cloning repository https://github.com/rdiankov/openrave.git
> git init /tmp/jenkins/jobs/openrave-master-toolkit-cca-lwr-testing-nightly/workspace # timeout=10
Fetching upstream changes from https://github.com/rdiankov/openrave.git
> git --version # timeout=10
> git -c core.askpass=true fetch --tags --progress https://github.com/rdiankov/openrave.git +refs/heads/*:refs/remotes/origin/*
@jon-weisz
jon-weisz / jaco_comm_set_finger_position_error
Created October 6, 2014 00:04
State when jaco comm refuses to close fingers.
JacoComm::setFingerPositions::jaco_position:
Limitiations:
accelerationParameter1: 0
accelerationParameter2: 0
accelerationParameter3: 0
forceParameter1: 0
forceParameter2: 0
forceParameter3: 0
speedParameter: 10
speedParameter: 20