Skip to content

Instantly share code, notes, and snippets.

View allenh1's full-sized avatar

Hunter L. Allen allenh1

  • Apex.AI
  • Media, PA
View GitHub Profile
allenh1@tuxbox ~/CS/rosdep/test $ nosetests
rosdep detected OS: [funtoo], aliasing it to [gentoo]
rosdep detected OS: [funtoo], aliasing it to [gentoo]
....rosdep detected OS: [funtoo], aliasing it to [gentoo]
rosdep detected OS: [funtoo], aliasing it to [gentoo]
rosdep detected OS: [funtoo], aliasing it to [gentoo]
..................rosdep detected OS: [funtoo], aliasing it to [gentoo]
./home/allenh1/CS/rosdep/src/rosdep2/rep3.py:56: PreRep137Warning: deprecated, use rosdistro instead
warnings.warn("deprecated, use rosdistro instead", PreRep137Warning)
/home/allenh1/CS/rosdep/src/rosdep2/gbpdistro_support.py:72: PreRep137Warning: deprecated: see REP137 and rosdistro
@allenh1
allenh1 / parameter.ii
Created June 19, 2017 05:24
Processor Output
This file has been truncated, but you can view the full file.
# 1 "/home/allenh1/ros2_ws/src/ros2/rclcpp/rclcpp/src/rclcpp/parameter.cpp"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 1 "<command-line>" 2
# 1 "/home/allenh1/ros2_ws/src/ros2/rclcpp/rclcpp/src/rclcpp/parameter.cpp"
# 15 "/home/allenh1/ros2_ws/src/ros2/rclcpp/rclcpp/src/rclcpp/parameter.cpp"
# 1 "/home/allenh1/include/c++/8.0.0/ostream" 1 3
# 36 "/home/allenh1/include/c++/8.0.0/ostream" 3
@allenh1
allenh1 / scope_exit.cpp
Created October 1, 2017 04:47
This is a dank file
#include <functional>
#include <iostream>
#include <memory>
template<typename Callable>
struct ScopeExit
{
explicit ScopeExit(Callable _callable)
: m_callable(_callable) {}
~ScopeExit() { m_callable(); }
+++ Building 'fastrtps'
Running cmake because arguments have changed.
==> '. /home/allenh1/ros2_ws/build/fastrtps/cmake__build.sh && /usr/bin/cmake /home/allenh1/ros2_ws/src/eProsima/Fast-RTPS -DPYTHON_INSTALL_DIR=install/lib/python3.5/site-packages -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_CXX_FLAGS=-v -save-temps -DCMAKE_INSTALL_PREFIX=/home/allenh1/ros2_ws/install' in '/home/allenh1/ros2_ws/build/fastrtps'
-- The C compiler identification is GNU 8.0.0
-- The CXX compiler identification is GNU 8.0.0
-- Check for working C compiler: /home/allenh1/bin/gcc
-- Check for working C compiler: /home/allenh1/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
@allenh1
allenh1 / bblayers.conf
Last active January 31, 2018 19:50
Open Embedded Raspberry Pi
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
BBLAYERS ?= " \
/home/${USER}/work/poky/meta \
@allenh1
allenh1 / CONSOLE_BRIDGE logger macro OE issue
Created December 26, 2017 20:26
This is the output from the Open Embedded compilation failing at rosbag
allenh1@hunter-laptop ~/work/poky/rpi-build $ bitbake rpi-basic-image
WARNING: Host distribution "gentoo" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |#################################################################| Time: 0:00:01
Loaded 4922 entries from dependency cache.
Parsing recipes: 100% |###############################################################| Time: 0:00:28
Parsing of 4084 .bb files complete (2616 cached, 1468 parsed). 4929 targets, 85 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
/home/allenh1/work/poky/meta-cloud-services/meta-openstack/recipes-extended/libvirt/libvirt_1.%.bbappend
/home/allenh1/work/poky/meta-cloud-services/meta-openstack/recipes-httpd/apache2/apache2_2.4.%.bbappend
NOTE: Resolving any missing task queue dependencies
@allenh1
allenh1 / catkin_output.txt
Created January 3, 2018 22:54
native catkin, Open Embedded
root@raspberrypi2:~# mkdir -p catkin_ws/src && cd catkin_ws/src
root@raspberrypi2:~/catkin_ws/src# source /opt/ros/lunar/setup.bash
root@raspberrypi2:~/catkin_ws/src# catkin_init_workspace
Creating symlink "/home/root/catkin_ws/src/CMakeLists.txt" pointing to "/opt/ros/lunar/share/catkin/cmake/toplevel.cmake"
root@raspberrypi2:~/catkin_ws/src# cd ../
root@raspberrypi2:~/catkin_ws# ls
src
root@raspberrypi2:~/catkin_ws# catkin_make
Base path: /home/root/catkin_ws
Source space: /home/root/catkin_ws/src
allenh1@hunter-laptop ~/work/poky/rpi-build $ bitbake rpi-basic-image
WARNING: Host distribution "gentoo" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Parsing recipes: 100% |##########################################| Time: 0:01:33
Parsing of 4211 .bb files complete (0 cached, 4211 parsed). 5090 targets, 85 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
/home/allenh1/work/poky/meta-cloud-services/meta-openstack/recipes-extended/libvirt/libvirt_1.%.bbappend
/home/allenh1/work/poky/meta-cloud-services/meta-openstack/recipes-httpd/apache2/apache2_2.4.%.bbappend
NOTE: Resolving any missing task queue dependencies
Build Configuration:
allenh1@hunter-laptop /tmp/rpi/opt/ros/lunar/lib/python2.7/site-packages/catkin $ ls
builder.py environment_cache.py __init__.py package_version.py test_results.py workspace.py
builder.pyc environment_cache.pyc __init__.pyc package_version.pyc test_results.pyc workspace.pyc
cmake.py find_in_workspaces.py init_workspace.py terminal_color.py tidy_xml.py workspace_vcs.py
cmake.pyc find_in_workspaces.pyc init_workspace.pyc terminal_color.pyc tidy_xml.pyc workspace_vcs.pyc
@allenh1
allenh1 / gist:3e81e2a6fb28b728dc24416826e99af9
Created January 19, 2018 04:53
tf2_py with Lunar and Python 3.5
hunter-laptop ~ # PYTHON_TARGETS="python3_5" emerge ros-lunar/tf2_py
* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
Calculating dependencies... done!
!!! The following installed packages are masked:
- dev-libs/libmcs-0.7.2::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask: