This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
from __future__ import division | |
import sys | |
from numpy import * | |
import scikits.audiolab as al | |
import pyaudio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
import rosbag | |
import sys | |
import os | |
from optparse import OptionParser | |
parser = OptionParser() | |
parser.add_option('-f', '--file', dest='list_file', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
import rospy | |
import tf2_ros | |
from geometry_msgs.msg import PoseWithCovarianceStamped | |
rospy.init_node('initialpose_publisher') | |
buf = tf2_ros.Buffer() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DIALOGUE='' | |
TONE='neutral' | |
while getopts 'hf:t:' flag; do | |
case "$flag" in | |
f) | |
DIALOGUE=$OPTARG | |
;; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
import rospy | |
import tf | |
import tf2_ros | |
import tf.transformations | |
from visualization_msgs.msg import Marker, MarkerArray | |
from geometry_msgs.msg import PoseStamped | |
import copy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!-- https://www.w3schools.com/colors/colors_xkcd.asp --> | |
<robot> | |
<material name="acidgreen" > | |
<color rgba="0.5607843137254902 0.996078431372549 0.03529411764705882 1.0" /> | |
</material> | |
<material name="adobe" > | |
<color rgba="0.7411764705882353 0.4235294117647059 0.2823529411764706 1.0" /> | |
</material> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
KEEP_TAR='false' | |
TAR_FILE='' | |
while getopts 'hkt:' flag; do | |
case "$flag" in | |
k) | |
KEEP_TAR='true' | |
;; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
/* | |
* This program illustrates why using default arguments in a constructor is | |
* bad. Without explicitly defining an operator+(const float k), a Vector2D | |
* with y being 0 is created. | |
*/ | |
struct Vector2D { | |
/// default constructor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
KEEP_TAR='false' | |
TAR_FILE='' | |
VERSION='latest' | |
while getopts 'hkt:v:' flag; do | |
case "$flag" in | |
k) | |
KEEP_TAR='true' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export BASH_PRE_CD_HOOK=( | |
) | |
export BASH_POST_CD_HOOK=( | |
'__auto_source_ros_ws' | |
'__update_last_ros_ws' | |
) | |
# Automatically source ROS workspace you were last in | |
# Empty to disable | |
export ROS_UTIL_LAST_WS_FILE="$HOME/.cache/ros/last_ws.txt" | |
export ROS_UTIL_AUTO_ROS_WS="true" |
OlderNewer