Skip to content

Instantly share code, notes, and snippets.

View davetcoleman's full-sized avatar

Dave Coleman davetcoleman

View GitHub Profile
brew install pygtk
==> Installing pygtk dependency: jpeg
==> Downloading http://www.ijg.org/files/jpegsrc.v8d.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/jpeg/8d
==> make install
ln: libjpeg.dylib: Permission denied
Error: The linking step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using `brew link jpeg'
@davetcoleman
davetcoleman / terminator.rb
Created February 20, 2012 02:30
Terminator Formula
require 'formula'
class Terminator < Formula
url 'http://launchpad.net/terminator/trunk/0.96/+download/terminator_0.96.tar.gz'
homepage 'http://www.tenshu.net/p/terminator.html'
md5 '070e3878336b341c9e18339d89ba64fe'
depends_on 'gettext' => :build, 'intltool' => :build
depends_on 'pygtk'
depends_on 'vte'
@davetcoleman
davetcoleman / IKFast Output
Created December 4, 2012 00:16
IKFast 7DOF Issues
INFO: moved translation [0, 0, -1/10000] to right end
INFO: moved translation [0, 0, 41/1000] to left end
INFO: moved translation on intersecting axis [0, 0, 0] to left
INFO: [[1, 0, 0, 0],[0, 1, 0, 0],[0, 0, 1, 91/1000]]
INFO: [[cos(j0), -sin(j0), 0, 0],[sin(j0), cos(j0), 0, 0],[0, 0, 1, 0]]
INFO: [[0, -1, 0, 0],[0, 0, 1, 21/10000],[-1, 0, 0, 0]]
INFO: [[cos(j1), -sin(j1), 0, 0],[sin(j1), cos(j1), 0, 0],[0, 0, 1, 0]]
INFO: [[0, 0, -1, -603/5000],[0, 1, 0, 0],[1, 0, 0, -1/500]]
INFO: [[cos(j2), -sin(j2), 0, 0],[sin(j2), cos(j2), 0, 0],[0, 0, 1, 0]]
INFO: [[0, 0, 1, 0],[20637527*250425907520675729**(1/2)/250425907520675729, -500000000*250425907520675729**(1/2)/250425907520675729, 0, 0],[500000000*250425907520675729**(1/2)/250425907520675729, 20637527*250425907520675729**(1/2)/250425907520675729, 0, 7/200]]
@davetcoleman
davetcoleman / CMakeList.txt
Created December 10, 2012 23:45
Catkin Conversion Issue
cmake_minimum_required(VERSION 2.8.3)
project(clam_controller)
# Load catkin and all dependencies required for this package
find_package(catkin REQUIRED COMPONENTS
roscpp
rospy
dynamixel_hardware_interface
std_msgs
sensor_msgs)
@davetcoleman
davetcoleman / Console Output
Created December 11, 2012 02:36
OpenCV Ouput Error
Linking CXX executable /home/dave/ros/clam/devel/lib/clam_vision/calibrate_kinect_checkerboard
CMakeFiles/calibrate_kinect_checkerboard.dir/src/detect_calibration_pattern.cpp.o: In function `PatternDetector::detectPattern(cv::Mat&, Eigen::Matrix<float, 3, 1, 0, 3, 1>&, Eigen::Quaternion<float>&, cv::Mat&)':
detect_calibration_pattern.cpp:(.text+0x427): undefined reference to `cv::SimpleBlobDetector::Params::Params()'
detect_calibration_pattern.cpp:(.text+0x446): undefined reference to `cv::SimpleBlobDetector::SimpleBlobDetector(cv::SimpleBlobDetector::Params const&)'
detect_calibration_pattern.cpp:(.text+0x4a7): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
detect_calibration_pattern.cpp:(.text+0x4d0): undefined reference to `cv::findCirclesGrid(cv::_InputArray const&, cv::Size_<int>, cv::_OutputArray const&, int, cv::Ptr<cv::FeatureDetector> const&)'
detect_calibration_pattern.cpp:(.text+0x536): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
detect_calibration_p
@davetcoleman
davetcoleman / console output
Created December 11, 2012 05:19
MoveIt Demo Launch File Output
core service [/rosout] found
process[joint_state_publisher-1]: started with pid [27263]
process[robot_state_publisher-2]: started with pid [27271]
/opt/ros/groovy/lib/robot_state_publisher/robot_state_publisher
WARN ros.kdl_parser: The root link base_footprint has an inertia specified in the URDF, but KDL does not support a root link with an inertia. As a workaround, you can add an extra dummy link to your URDF.
process[move_group-3]: started with pid [27290]
ERROR ros.rosconsole_bridge.console_bridge: Semantic description is not specified for the same robot as the URDF
ERROR ros.rosconsole_bridge.console_bridge: Link 'head_mount_kinect_ir_link' is not known to URDF. Cannot disable collisons.
ERROR ros.rosconsole_bridge.console_bridge: Link 'head_mount_kinect_rgb_link' is not known to URDF. Cannot disable collisons.
ERROR ros.rosconsole_bridge.console_bridge: Link 'head_mount_link' is not known to URDF. Cannot disable collisons.
@davetcoleman
davetcoleman / move_group launch console output
Created December 17, 2012 22:34
move_group launch console output
dev:roslaunch clam_moveit_config move_group.launch
... logging to /home/dave/.ros/log/b294026e-4899-11e2-a9c7-d43d7e05aeaf/roslaunch-ros_monster-2339.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://ros_monster:36871/
SUMMARY
========
@davetcoleman
davetcoleman / Console Output
Created December 18, 2012 00:43
move_group console output and gdb backtrack during planning for simple pose
DEBUG ros.moveit_ros_planning.actionlib: The action server has received a new goal request
DEBUG ros.moveit_ros_planning.actionlib: A new goal has been recieved by the single goal action server
DEBUG ros.moveit_ros_planning.actionlib: Accepting a new goal
DEBUG ros.moveit_ros_planning.actionlib: Accepting goal, id: /clam_moveit_experimental_node_1355791148301711467-1-1355791149.46716580, stamp: 1355791149.05
DEBUG ros.moveit_ros_planning.actionlib: Publishing feedback for goal, id: /clam_moveit_experimental_node_1355791148301711467-1-1355791149.46716580, stamp: 1355791149.05
DEBUG ros.moveit_ros_planning.actionlib: Publishing feedback for goal with id: /clam_moveit_experimental_node_1355791148301711467-1-1355791149.46716580 and stamp: 1355791149.05
DEBUG ros.moveit_ros_planning: Running 'Fix Workspace Bounds'
DEBUG ros.moveit_ros_planning: It looks like the planning volume was not specified. Using default values.
DEBUG ros.moveit_ros_planning: Running 'Fix Start State Bounds'
DEBUG ros.moveit_ros_planning: Ru
@davetcoleman
davetcoleman / actionlib.patch
Created February 15, 2013 15:45
Remove warning from actionlib
diff --git a/include/actionlib/client/simple_action_client.h b/include/actionlib/client/simple_action_client.h
index 653d51e..abce582 100644
--- a/include/actionlib/client/simple_action_client.h
+++ b/include/actionlib/client/simple_action_client.h
@@ -46,11 +46,12 @@
#include "actionlib/client/simple_client_goal_state.h"
#include "actionlib/client/terminal_state.h"
-
-#if defined(__GNUC__)
@davetcoleman
davetcoleman / gist:5905731
Created July 1, 2013 23:55
moveit/demo.launch
roslaunch baxter_moveit_config demo_baxter.launch
... logging to /home/dave/.ros/log/c8c54b28-e246-11e2-b980-90b11ca7a7bf/roslaunch-eve-6095.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://eve.local:48416/
SUMMARY
========