Skip to content

Instantly share code, notes, and snippets.

View jbohren's full-sized avatar

Jonathan Bohren jbohren

View GitHub Profile
#!/usr/bin/env bash
# Play videos from a directory in VLC during work hours
while true ; do
timestamp=$(date +"%T")
if [[ "$timestamp" > "09:00:00" && "$timestamp" < "16:00:00" ]]; then
for i in * ; do
vlc -f --play-and-exit "$1"
done
<?xml version="1.0"?>
<package>
<name>gazebo</name>
<version>0.0.0</version>
<description>The gazebo package</description>
<!-- One maintainer tag required, multiple allowed, one person per tag -->
<!-- Example: -->
<!-- <maintainer email="jane.doe@example.com">Jane Doe</maintainer> -->
<maintainer email="jbohren@todo.todo">jbohren</maintainer>
#!/usr/bin/env bash
# Wrapper script
SCREEN_NAME=RTTLUA
screen -dmS $SCREEN_NAME rttlua "$@"
SCREEN_ID=$(screen -list | grep $SCREEN_NAME | head -n 1 | awk '{print $1}')
cleanup()
{
$pipe <&0
rttlua "$@" <$pipe &
<sdf version='1.4'>
<model name='stereo_cam'>
<link name='bumblebee_mount_link'>
<pose>0 0 1 1.5707 -0 0</pose>
<inertial>
<pose>0 0 0 0 -0 0</pose>
<mass>0.342001</mass>
<inertia>
<ixx>0.000101969</ixx>
<ixy>0</ixy>
[moldy-crow:~/versioned/catkin_tools]$ catkin build -h (metadata-file)
usage: catkin build [-h] [--workspace WORKSPACE] [--profile PROFILE]
[--list-only] [--no-deps] [--start-with PKGNAME]
[--source SOURCE] [--build BUILD] [--devel DEVEL]
[--isolate-devel] [--install-space INSTALL_SPACE]
[--install] [--isolate-install]
[--space-suffix SPACE_SUFFIX] [--extend EXTEND_PATH]
[--tmp-config] [--parallel-jobs PARALLEL_JOBS]
[--force-cmake]
[--cmake-args [CMAKE_ARGS [CMAKE_ARGS ...]]]
#!/usr/bin/env zsh
#
# Usage:
# Any arguments to this script are passed along to `catkin build`
#
# i.e.:
# ./race.zsh # Run with default number of jobs
# ./race.zsh -p 1 # Run with only one job
#
# Description:
...
[build] Finished.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
Build Summary:
Runtime: 1.5 seconds
Built Packages: 3
Built Run-Spaces:
- /home/liza/my_overlay/devel
Based on Run-Spaces:
- /home/liza/my_ws/devel
<sdf version='1.4'>
<model name='sadbot'>
<link name='link_1'>
<pose>0 0 0 0 -0 0</pose>
<inertial>
<pose>0 0 0 0 -0 0</pose>
<mass>1</mass>
<inertia>
<ixx>1</ixx>
<ixy>0</ixy>
<robot name="sadbot" xmlns:xacro="http://ros.org/wiki/xacro">
<link name="base_link">
<inertial>
<mass value="1"/>
<inertia ixx="1" ixy="0" ixz="0" iyy="1" iyz="0" izz="1"/>
</inertial>
</link>
<joint name="joint_1" type="revolute">