Skip to content

Instantly share code, notes, and snippets.

View gavanderhoorn's full-sized avatar

G.A. vd. Hoorn gavanderhoorn

View GitHub Profile
@gavanderhoorn
gavanderhoorn / ffmpeg-livestream-to-streaming-sites-vaapi-nvenc.md
Created February 20, 2021 15:15 — forked from Brainiarc7/ffmpeg-livestream-to-streaming-sites-vaapi-nvenc.md
ffmpeg livestreaming to youtube via Nvidia's NVENC and Intel's VAAPI on supported hardware

Streaming your Linux desktop to Youtube and Twitch via Nvidia's NVENC and VAAPI:

Considerations to take when live streaming:

The following best practice observations apply when using a hardware-based encoder for live streaming to any platform:

  1. Set the buffer size (-bufsize:v) equal to the target bitrate (-b:v). You want to ensure that you're encoding in CBR mode.

  2. Set up the encoders as shown:

@gavanderhoorn
gavanderhoorn / kr6r900sixx.urdf
Created October 20, 2020 08:27
kr6r900sixx.urdf
<?xml version="1.0" encoding="utf-8"?>
<!-- =================================================================================== -->
<!-- | This document was autogenerated by xacro from kr6r900sixx.xacro | -->
<!-- | EDITING THIS FILE BY HAND IS NOT RECOMMENDED | -->
<!-- =================================================================================== -->
<robot name="kuka_kr6r900sixx">
<!-- colours based on RAL values given in "FAQ - Colours of robot and robot
controller", version "KUKA.Tifs | 2010-01-21 |YM| DefaultColorsRobotAndController.doc",
downloaded 2015-07-18 from
http://www.kuka.be/main/cservice/faqs/hardware/DefaultColorsRobotAndController.pdf
#!/bin/bash
if [ ! -x "$(command -v aptitude)" ]; then
printf "You don't appear to have aptitude installed, aborting\n" >&2
exit 1
fi
aptitude search \
'?exact-name(camera-calibration-parsers-tools) ~i' \
'?exact-name(catkin) ~i' \
- git:
local-name: cat_laser_scan_qa
uri: https://github.com/Jmeyer1292/cat_laser_scan_qa.git
version: test
- git:
local-name: descartes
uri: https://github.com/gavanderhoorn/descartes.git
version: godel_refactor_omp_fixed_rosconsole
- git:
local-name: godel
@gavanderhoorn
gavanderhoorn / ur10_robot.urdf
Created June 5, 2019 06:33
urdf converted from ur10_robot.urdf.xacro for ROS Answers 324692
<?xml version="1.0" ?>
<!-- =================================================================================== -->
<!-- | This document was autogenerated by xacro from ur10_robot.urdf.xacro | -->
<!-- | EDITING THIS FILE BY HAND IS NOT RECOMMENDED | -->
<!-- =================================================================================== -->
<robot name="ur10" xmlns:xacro="http://wiki.ros.org/xacro">
<!--
Author: Kelsey Hawkins
Contributers: Jimmy Da Silva, Ajit Krisshna N L, Muhammad Asif Rana
-->
@gavanderhoorn
gavanderhoorn / m10_with_eef.xacro
Created May 2, 2019 10:35
Fanuc M-10iA with single link EEF attached to tool0 with an (almost) identity transform
<?xml version="1.0" ?>
<robot name="fanuc_m10ia" xmlns:xacro="http://wiki.ros.org/xacro">
<xacro:include filename="$(find fanuc_m10ia_support)/urdf/m10ia_macro.xacro"/>
<xacro:fanuc_m10ia prefix=""/>
<link name="eef">
<visual>
<origin xyz="0 0 0" rpy="0 0 0"/>
<geometry>
<mesh filename="package://fanuc_m10ia_support/meshes/m10ia/visual/link_6.stl"/>
# SINGULARITY.CONF
# This is the global configuration file for Singularity. This file controls
# what the container is allowed to do on a particular host, and as a result
# this file must be owned by root.
# ALLOW SETUID: [BOOL]
# DEFAULT: yes
# Should we allow users to utilize the setuid program flow within Singularity?
# note1: This is the default mode, and to utilize all features, this option
@gavanderhoorn
gavanderhoorn / Dockerfile
Last active February 17, 2018 03:20
Lunar on Artful Dockerfile
FROM ubuntu:17.10
ENV DEBIAN_FRONTEND=noninteractive
ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
build-essential \
ca-certificates \
# desktop includes everything, excluding the 'perception' variant, which would install PCL 1.7 related packages
FROM osrf/ros:indigo-desktop
# install PCL prerequisites
RUN echo "deb http://ppa.launchpad.net/v-launchpad-jochen-sprickerhof-de/pcl/ubuntu trusty main" >> /etc/apt/sources.list.d/jochen-pcl.list && \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 19274DEF && \
apt-get update && \
apt-get install -y --no-install-recommends \
libeigen3-dev \
<?xml version="1.0" encoding="UTF-8"?>
<COLLADA xmlns="http://www.collada.org/2008/03/COLLADASchema" version="1.5.0">
<asset>
<contributor>
<authoring_tool>URDF Collada Writer</authoring_tool>
</contributor>
<created>2015-03-23T18:27:52.000000</created>
<modified>2015-03-23T18:27:52.000000</modified>
<unit/>
<up_axis>Z_UP</up_axis>