Skip to content

Instantly share code, notes, and snippets.

Avatar

Dave Coleman davetcoleman

View GitHub Profile
View brew install pygtk output
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 Feb 20, 2012
Terminator Formula
View terminator.rb
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'
View IKFast Output
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 Dec 10, 2012
Catkin Conversion Issue
View CMakeList.txt
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)
View Console Output
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 Dec 11, 2012
MoveIt Demo Launch File Output
View console 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 Dec 17, 2012
move_group launch console output
View 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 Dec 18, 2012
move_group console output and gdb backtrack during planning for simple pose
View Console Output
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 Feb 15, 2013
Remove warning from actionlib
View actionlib.patch
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__)
View gist:5905731
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
========