Skip to content

Instantly share code, notes, and snippets.

# coding: utf-8
# In[79]:
get_ipython().magic('matplotlib inline')
from pyrr import Quaternion, Matrix44, Vector3
import math
from math import sin, cos
import numpy as np
import matplotlib.pyplot as plt
function example()
clf
clear all
FREQ_INTERVAL = [3, 100];
N_INTERVAL = [10, 1000];
fun=@(x) sinc(x);
N = 10;
Fc = 5;
@clynamen
clynamen / gist:441b41efcc643039ff89
Created October 18, 2014 21:32
working ft_sensor
<joint name="rover_amalia_joint_chassis_leg_f_r" type="revolute">
<child>rover_amalia_leg_bar_f_r</child>
<parent>rover_amalia_chassis</parent>
<axis>
<xyz>0 1 0</xyz>
<dynamics/>
</axis>
<physics>
<ode>
</ode>
<joint name="rover_amalia_joint_chassis_leg_f_r" type="revolute">
<child>rover_amalia_leg_bar_f_r</child>
<parent>rover_amalia_chassis</parent>
<axis>
<xyz>0 1 0</xyz>
<dynamics/>
</axis>
<physics>
<ode>
<provide_feedback>true</provide_feedback>
#!/usr/bin/env ruby
#
# Sort files in cwd by the date expressed in the filename
#
require 'chronic'
require 'optparse'
options = {}
optparse = OptionParser.new do |opts|
#!/bin/bash
###############################################################################
### Find all the window listed in emuWindows and saves/loads their geometry ###
### ###
### note: Check saved geometry values, WM and virtual desktop may ###
### create some offsets ###
###############################################################################
# Strangely xdotool seems to report doubled value on read for x and y