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 python2 | |
# Author: Chris Dellin <[email protected]> | |
# Date: 2016-09-14 | |
# Script to scrape a working OAuth code from Google | |
# using the approach from dequis and hastebrot | |
# for use with hangups, purple-hangouts, etc. | |
# Requires packages python-gi and gir1.2-webkit-3.0 on Ubuntu 16.04. |
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
def yaml_fast_load(fp): | |
collision_dict = {} | |
planner = None | |
planner_dict = None | |
number = None | |
number_dict = None | |
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
<?xml version="1.0" encoding="utf-8"?> | |
<!-- TWO WAM ARMS ORIENTED UPRIGHT AND NEXT TO ONE ANOTHER --> | |
<KinBody name="WAM7"> | |
<!-- ============= RIGHT ARM ==================== --> |
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
$ grep -C4 vectorfield_planner, src/herbpy/src/herbpy/herbrobot.py | |
actual_planner = Sequence( | |
# First, try the straight-line trajectory. | |
self.snap_planner, | |
# Then, try a few simple (and fast!) heuristics. | |
#self.vectorfield_planner, | |
#self.greedyik_planner, | |
# Next, try a trajectory optimizer. | |
self.trajopt_planner or self.chomp_planner | |
) |
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 python2 | |
from __future__ import print_function | |
from __future__ import unicode_literals | |
from __future__ import absolute_import | |
from __future__ import division | |
import atexit | |
import subprocess | |
import openravepy | |
# what resource_retriever.get_filename(url, use_protocol=False) should be! |
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 python2 | |
from __future__ import print_function | |
from __future__ import unicode_literals | |
from __future__ import absolute_import | |
from __future__ import division | |
import atexit | |
import subprocess | |
import numpy | |
import openravepy |
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
-- Using PYTHON_EXECUTABLE: /usr/bin/python | |
-- Python version: 2.7 | |
-- Using Debian Python package layout | |
-- Using CATKIN_ENABLE_TESTING: ON | |
-- Call enable_testing() | |
-- Using CATKIN_TEST_RESULTS_DIR: /home/cdellin/ws-tableclearing/build/test_results | |
-- Found gtest sources under '/usr/src/gtest': gtests will be built | |
-- catkin 0.5.89 | |
-- BUILD_SHARED_LIBS is on | |
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
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
#!/bin/sh | |
# 2015-01-12 Chris Dellin <[email protected]> | |
# example catkin environment hook to manage the OPENRAVE_DATA path | |
# on a per-package basis | |
# determine if we're in the devel or install space | |
if [ "@DEVELSPACE@" = "True" -o "@DEVELSPACE@" = "true" ] | |
then | |
DATA=@CMAKE_CURRENT_SOURCE_DIR@/ordata | |
else |
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 python2 | |
import atexit | |
import openravepy | |
import orcdchomp.orcdchomp | |
# create openrave robot | |
openravepy.RaveInitialize(True, level=openravepy.DebugLevel.Info) | |
atexit.register(openravepy.RaveDestroy) | |
e = openravepy.Environment() | |
atexit.register(e.Destroy) |