Skip to content

Instantly share code, notes, and snippets.

View mikepurvis's full-sized avatar

Mike Purvis mikepurvis

View GitHub Profile
@mikepurvis
mikepurvis / 1. strings
Last active December 23, 2015 01:09
Static analysis for size of the resulting firmware binary created by this example: https://github.com/mikepurvis/rosserial_leonardo_example
$ strings build/rosserial_leonardo_example/firmware/example.elf
std_msgs/Time
cd7166c74c552c311fbcc2fe5a7bc289
rosserial_msgs/TopicInfo
63aa5e8f1bdd6f35c69fe1a1b9d28e9f
rosserial_msgs/Log
11abd731c25933261cd6183bd12d6295
9f0e98bda65981986ddf53afa7a40e49
std_msgs/Bool
8b94c1b53db61fb6aed406028ad6332a
#!/bin/bash
#
# Prerequisites:
# sudo apt-get install python-bloom git-buildpackage
#
# Installation:
# cd ~/bin
# wget https://gist.github.com/mikepurvis/7036293/raw/bloom-local-deb
# chmod +x bloom-local-deb
#
@mikepurvis
mikepurvis / build output
Last active December 26, 2015 08:49
kf/robot.rosinstall, everything but kingfisher CATKIN_IGNORE'd
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
@mikepurvis
mikepurvis / gist:8715769
Created January 30, 2014 18:41
http://build/builders/kingfisher_hydro_precise_amd64_debbuild/builds/17/steps/shell/logs/stdio
(view as text)
cowbuilder-update.py precise amd64 http://packages.ros.org/ros.key http://packages/public.key
in dir /opt/buildbot/rosbuilder2/kingfisher_hydro_precise_amd64_debbuild/build (timeout 1200 secs)
watching logfiles {}
argv: ['cowbuilder-update.py', 'precise', 'amd64', 'http://packages.ros.org/ros.key', 'http://packages/public.key']
environment:
EDITOR=/usr/bin/vim
HOME=/opt/buildbot
LANG=C
LANGUAGE=en_US:
@mikepurvis
mikepurvis / gist:8994782
Created February 14, 2014 02:28
http://build/builders/grizzly_hydro_precise_i386_debbuild/builds/0/steps/grizzly_navigationincludedeb/logs/stdio
(view as text)
reprepro-include.bash ros-hydro-grizzly-navigation ros-hydro-grizzly-navigation_0.1.2-0-20140213-1921--0500precise_i386.deb precise i386
** RUNNING ON BUILDMASTER **
in dir /opt/buildbot/master
argv: ['reprepro-include.bash', 'ros-hydro-grizzly-navigation', 'ros-hydro-grizzly-navigation_0.1.2-0-20140213-1921--0500precise_i386.deb', 'precise', 'i386']
env: {'LESSOPEN': '| /usr/bin/lesspipe %s', 'LOGNAME': 'buildbot', 'USER': 'buildbot', 'PATH': '/opt/buildbot/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HOME': '/opt/buildbot', 'PS1': '(venv)${debian_chroot:+($debian_chroot)}\\u@\\h:\\w\\$ ', 'LANG': 'en_US.UTF-8', 'TERM': 'screen', 'SHELL': '/bin/bash', 'LANGUAGE': 'en_US:', 'SHLVL': '1', 'EDITOR': '/usr/bin/vim', 'SUDO_USER': 'administrator', 'USERNAME': 'buildbot', 'SUDO_UID': '1000', 'VIRTUAL_ENV': '/opt/buildbot/venv', '_': '/opt/buildbot/venv/bin/buildbot', 'SUDO_COMMAND': '/bin/bash', 'SUDO_GID': '1000', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'OLDPWD': '/op
@mikepurvis
mikepurvis / gist:9334306
Created March 3, 2014 20:47
rosserial_msgs/TopicInfo
$ cat src/rosserial/rosserial_msgs/msg/TopicInfo.msg
# special topic_ids
uint16 ID_PUBLISHER=0
uint16 ID_SUBSCRIBER=1
uint16 ID_SERVICE_SERVER=2
uint16 ID_SERVICE_CLIENT=4
uint16 ID_PARAMETER_REQUEST=6
uint16 ID_LOG=7
uint16 ID_TIME=10
# uint16 ID_TX_STOP=11
Description: <short summary of the patch>
TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.
.
ros-indigo-swiftnav (0.13.0-1trusty) trusty; urgency=high
.
* Autogenerated, no changelog for this version found in CHANGELOG.rst.
#!/usr/bin/env python
#
# Issue some random commands to your ROS robot, yay!
import rospy, random
from geometry_msgs.msg import Twist
rospy.init_node("huskytest")
pub = rospy.Publisher("cmd_vel", Twist, queue_size=1)
@mikepurvis
mikepurvis / kinetic-cache.yaml
Created August 31, 2016 17:32
rosdistro_build_cache output
This file has been truncated, but you can view the full file.
distribution_file:
- release_platforms:
debian: [jessie]
fedora: ['23', '24']
ubuntu: [wily, xenial]
repositories:
ackermann_msgs: {doc: {type: git, url: 'https://github.com/ros-drivers/ackermann_msgs.git', version: master}, release: {tags: {release: 'release/kinetic/{package}/{version}'}, url: 'https://github.com/ros-drivers-gbp/ackermann_msgs-release.git', version: 1.0.1-0}, source: {type: git, url: 'https://github.com/ros-drivers/ackermann_msgs.git', version: master}, status: maintained}
actionlib: {doc: {type: git, url: 'https://github.com/ros/actionlib.git', version: indigo-devel}, release: {tags: {release: 'release/kinetic/{package}/{version}'}, url: 'https://github.com/ros-gbp/actionlib-release.git', version: 1.11.6-0}, source: {test_pull_requests: true, type: git, url: 'https://github.com/ros/actionlib.git', version: indigo-devel}, status: maintained}
agvs_common: {doc: {type: git, url: 'https://github.com/RobotnikAutomation/agvs_common.git', version: kinetic-devel}, release:
This file has been truncated, but you can view the full file.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<tagfile>
<compound kind="file">
<name>cstdlib</name>
<filename>cpp/header/cstdlib</filename>
<namespace>std</namespace>
</compound>
<compound kind="file">
<name>csignal</name>
<filename>cpp/header/csignal</filename>