Skip to content

Instantly share code, notes, and snippets.

Avatar

Andrew Hundt ahundt

View GitHub Profile
View view_costar_block_stacking_attempt.py
import os
import h5py
import io
import matplotlib.pyplot as plt
import numpy as np
from PIL import Image
def JpegToNumpy(jpeg):
stream = io.BytesIO(jpeg)
@ahundt
ahundt / # glog - 2017-08-01_03-28-15.txt
Last active Aug 1, 2017
glog on macOS 10.11.6 - Homebrew build logs
View # glog - 2017-08-01_03-28-15.txt
Homebrew build logs for glog on macOS 10.11.6
Build date: 2017-08-01 03:28:15
@ahundt
ahundt / # sdformat5 - 2017-06-05_20-38-01.txt
Created Jun 6, 2017
sdformat5 (osrf/simulation/sdformat5) on macOS 10.11.6 - Homebrew build logs
View # sdformat5 - 2017-06-05_20-38-01.txt
Homebrew build logs for osrf/simulation/sdformat5 on macOS 10.11.6
Build date: 2017-06-05 20:38:01
@ahundt
ahundt / # bullet - 2017-05-08_23-34-01.txt
Last active May 9, 2017
bullet on macOS 10.11.6 - Homebrew build logs
View # bullet - 2017-05-08_23-34-01.txt
Homebrew build logs for bullet on macOS 10.11.6
Build date: 2017-05-08 23:34:01
@ahundt
ahundt / atrous_test.py
Created Mar 13, 2017
tf tensorflow atrous convolution aka dilated convolution test
View atrous_test.py
import tensorflow as tf
import numpy as np
dim = 256
kernel_dim = 3
dilation_rate = np.array([2, 2])
input_img_np = np.random.random((1, dim, dim, 1)).astype(np.float32)
kernel = np.random.random((kernel_dim,kernel_dim,1,1)).astype(np.float32)
with tf.Session() as sess:
@ahundt
ahundt / CMakeLists.txt
Last active Jan 11, 2017
boost log error
View CMakeLists.txt
cmake_minimum_required (VERSION 3.5)
project (HELLO)
find_package(Boost COMPONENTS log_setup log)
ADD_DEFINITIONS(-DBOOST_LOG_DYN_LINK)
add_executable(main main.cpp)
target_link_libraries(main ${Boost_LOG_SETUP_LIBRARY} ${Boost_LOG_LIBRARY})
View X_t.txt
Xt_ std::__1::vector<sva::PTransform<double>, std::__1::allocator<sva::PTransform<double> > > size=10
[0] sva::PTransform<double>
E_ sva::PTransform<double>::matrix3_t
Eigen::PlainObjectBase<Eigen::Matrix<double, 3, 3, 0, 3, 3> > Eigen::PlainObjectBase<Eigen::Matrix<double, 3, 3, 0, 3, 3> >
m_storage Eigen::DenseStorage<double, 9, 3, 3, 0>
m_data Eigen::internal::plain_array<double, 9, 0, 0>
array double [9]
[0] double -0.99999999931219463 -0.99999999931219463
[1] double -0.000026226043692152668 -0.000026226043692152668
[2] double 0 0
@ahundt
ahundt / # cmake-basis - 2016-10-26_01-55-15.txt
Created Oct 26, 2016
cmake-basis (ahundt/robotics/cmake-basis) on macOS 10.11.6 - Homebrew build logs
View # cmake-basis - 2016-10-26_01-55-15.txt
Homebrew build logs for ahundt/robotics/cmake-basis on macOS 10.11.6
Build date: 2016-10-26 01:55:15
@ahundt
ahundt / # tasks - 2016-05-19_17-14-36.txt
Created Oct 25, 2016
tasks (ahundt/robotics/tasks) on macOS 10.11.6 - Homebrew build logs
View # tasks - 2016-05-19_17-14-36.txt
Homebrew build logs for ahundt/robotics/tasks on macOS 10.11.6
Build date: 2016-05-19 17:14:36
@ahundt
ahundt / # tasks - 2016-05-19_17-14-36.txt
Created May 19, 2016
tasks (ahundt/robotics/tasks) on Mac OS X 10.11.4 - Homebrew build logs
View # tasks - 2016-05-19_17-14-36.txt
Homebrew build logs for ahundt/robotics/tasks on Mac OS X 10.11.4
Build date: 2016-05-19 17:14:36