Skip to content

Instantly share code, notes, and snippets.

View wjwwood's full-sized avatar
🙃

William Woodall wjwwood

🙃
View GitHub Profile
roslaunch gazebo_worlds empty_world.launch
... logging to /home/william/.ros/log/f96de812-7344-11df-9c42-001c4217bafa/roslaunch-arepa-ubuntu-19311.log
started roslaunch server http://arepa-ubuntu:56291/
SUMMARY
========
PARAMETERS
* /use_sim_time
@wjwwood
wjwwood / problem_queries.sql
Created December 1, 2010 04:52
My queries
-- Problem 1:
-- <<
SELECT B.Title
FROM Books B
WHERE B.Unit_in_Stock >5
-- >>
-- Problem 2:
mkdir -p bin
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake ..
[rosbuild] Building package pluginlib
[rosbuild] Including /Users/<username>/ros/diamondback/ros_comm/clients/roslisp/cmake/roslisp.cmake
[rosbuild] Including /Users/<username>/ros/diamondback/ros_comm/clients/rospy/cmake/rospy.cmake
[rosbuild] Including /Users/<username>/ros/diamondback/ros_comm/clients/cpp/roscpp/cmake/roscpp.cmake
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/<username>/ros/diamondback/common/pluginlib/build
cd build && make -l4
@wjwwood
wjwwood / rviz bt
Created March 5, 2011 22:07
This is the backtrace form gdb of rviz running on my macbook pro.
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
Ogre::RenderSystem::attachRenderTarget (this=0x118012568, target=@0x0) at /Users/william/ros/diamondback/visualization_common/ogre/build/ogre_src_v1-7-1/OgreMain/src/OgreRenderSystem.cpp:235
235 assert( target.getPriority() < OGRE_NUM_RENDERTARGET_GROUPS );
(gdb) thread apply all bt full
Thread 8 (process 80339):
#0 0x00007fff84188fca in __semwait_signal ()
No symbol table info available.
#1 0x00007fff8418cde1 in _pthread_cond_wait ()
@wjwwood
wjwwood / time_serial.py
Created June 19, 2011 03:10
Serial Port Timer
import serial
import threading
import time
import copy
import math
PORT = "/dev/ttyUSB1"
BAUDRATE = 115200
TARGET = ['\xf0', '\x55', '\xaa']
@wjwwood
wjwwood / output.txt
Created July 28, 2011 04:18
Blender time example
Blender Game Engine Started
1th iteration with time period 0.03333333333333333
2th iteration with time period 0.06666666666666667
3th iteration with time period 0.1
4th iteration with time period 0.13333333333333333
5th iteration with time period 0.16666666666666666
6th iteration with time period 0.2
7th iteration with time period 0.23333333333333334
8th iteration with time period 0.26666666666666666
9th iteration with time period 0.3
@wjwwood
wjwwood / output.txt
Created August 14, 2011 21:32
Out put of test application that fails due to missing file from Homebrew's gtest install
∫ make test
mkdir -p bin
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
@wjwwood
wjwwood / gist:1300026
Created October 19, 2011 23:52
Error building kdl_parser and collada_urdf in robot_model on OS X
∫ make
mkdir -p bin
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake ..
[rosbuild] Building package kdl_parser
[rosbuild] Including /Users/william/ros/ros_comm/clients/roslisp/cmake/roslisp.cmake
[rosbuild] Including /Users/william/ros/ros_comm/clients/rospy/cmake/rospy.cmake
[rosbuild] Including /Users/william/ros/ros_comm/clients/cpp/roscpp/cmake/roscpp.cmake
-- Configuring done
-- Generating done
CMake Warning:
@wjwwood
wjwwood / gist:1311023
Created October 25, 2011 01:20
Recording of uninstalling and installing pyqt, sip, and qwt. Then checking the number of files before and after installing pyqwt.
∫ brew uninstall qwt pyqwt sip pyqt
Uninstalling /usr/local/Cellar/qwt/6.0.1...
Uninstalling /usr/local/Cellar/pyqwt/5.2.0...
Uninstalling /usr/local/Cellar/sip/4.12.4...
Uninstalling /usr/local/Cellar/pyqt/4.8.5...
william@arepa:/usr/local/Cellar (git:pyqwt-5.20:985c3e0)
∫ ls
ack cowsay flann gettext jasper libmikmod libvpx netpbm pcre++ qt smpeg tinyxml yasm
apiextractor cppunit fltk gfortran jpeg libogg libxml2 ode pkg-config readline sqlite unrar zeromq
assimp doxygen freeimage glib lame libqglviewer libyaml opencv portmidi sdl stage vtk
@wjwwood
wjwwood / config.log
Created November 1, 2011 22:20
configure fails with -arch x86_64
∫ cat build/SWIG-1.3.29/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by swig configure 1.3.29, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure --prefix=/Users/william/devel/new_ros/rx/wxswig --disable-dependency-tracking
## --------- ##