code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
adb shell pm clear com.google.android.apps.iosched | Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
MAC_UNAME="Darwin"
if [[ "`uname`" == ${MAC_UNAME} ]]; then
DATE_FORMAT="%Y-%m-%dT%H:%M:%S"
else
DATE_FORMAT="%Y-%m-%d %H:%M:%S"
fi
if [ -z "$1" ]; then
NOW_DATE=$(date "+${DATE_FORMAT}")
echo Please provide a mock time in the format \"${NOW_DATE}\" or \"d\" to del... | Shell |
#!/bin/sh
# Remember VERBOSE only works on debug builds of the app
adb shell setprop log.tag.iosched_SyncHelper VERBOSE
adb shell setprop log.tag.iosched_SessionsHandler VERBOSE
adb shell setprop log.tag.iosched_BitmapCache VERBOSE
| Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
$ADB shell "echo '$*' | sqlite3 -header -column /data/data/com.google.android.apps.iosched/databases/schedule.db" | Shell |
#!/bin/sh
# Sessions list
#adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/sessions
# Vendors list
#adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/vendors
# Session detail
#adb shell am start -a... | Shell |
#!/usr/bin/env bash
##############################################################################
##
## Gradle start up script for UN*X
##
##############################################################################
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to ... | Shell |
#/bin/sh
gnuplot createGraph.plt
gs -sDEVICE=pdfwrite -sOutputFile=out.pdf -dNOPAUSE -dBATCH *.ps
| Shell |
#!/bin/sh
#
# Detects OS we're compiling on and outputs a file specified by the first
# argument, which in turn gets read while processing Makefile.
#
# The output will set the following variables:
# PLATFORM_LDFLAGS Linker flags
# PLATFORM_SHARED_EXT Extension for shared libraries
# PLATFORM_S... | Shell |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| Shell |
#! /bin/sh
#
# Created by configure
LIBS='-lrt -lpthread ' \
'./configure' \
'--disable-option-checking' \
'--prefix=/usr/local' \
'--enable-dependency-tracking' \
'--cache-file=/dev/null' \
'--srcdir=.' \
"$@"
| Shell |
# ltmain.sh - Provide generalized library-building support services.
# NOTE: Changing this file will not affect anything until you rerun configure.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
# 2007, 2008 Free Software Foundation, Inc.
# Originally by Gordon Matzigkeit <gord@gnu.... | Shell |
#! /bin/sh
# libtoolT - Provide generalized library-building support services.
# Generated automatically by (GNU )
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
# Free Software Foundation, Inc.
#
# Thi... | Shell |
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
# Free Software Foundation, Inc.
timestamp='2008-01-16'
# This file is (in principle) common to ALL GNU software.
# The presence of a ma... | Shell |
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
# Free Software Foundation, Inc.
timestamp='2008-01-23'
# This file is free software; you can redistribute it and/or modify it
# under the... | Shell |
#! /bin/sh
#
# Created by configure
LIBS='-lrt -lpthread ' \
'./configure' \
'--disable-option-checking' \
'--prefix=/usr/local' \
'--enable-dependency-tracking' \
'--cache-file=/dev/null' \
'--srcdir=.' \
"$@"
| Shell |
#! /bin/sh
# libtoolT - Provide generalized library-building support services.
# Generated automatically by (GNU )
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
# Free Software Foundation, Inc.
#
# Thi... | Shell |
g++ SimpleServer.cpp -lcrypto -lssl -o Server
g++ SimpleClient.cpp -lcrypto -lssl -o Client
| Shell |
#!/bin/sh
python ~/opt/google_appengine/appcfg.py update ./src
| Shell |
#!/bin/bash
for file in `svn st -q | cut -c 8-`
do
tkdiff $file
done
| Shell |
#!/bin/bash
echo "Generating the content epoch..."
./generate_epoch.sh
echo "Cleaning build..."
rm -rf bin
echo "Installing..."
ant reinstall
| Shell |
#!/bin/bash
./create_demo.sh
EPOCH="assets/epoch.txt"
ALL_FILES=`find -L assets | grep -v \~ | grep -v \.svn | grep -v \.drop`
rm $EPOCH
cat $ALL_FILES | sha1sum > $EPOCH
| Shell |
#!/bin/bash
for file in `svn st -q | cut -c 8-`
do
tkdiff $file
done
| Shell |
#!/bin/bash
echo "Generating the content epoch..."
./generate_epoch.sh
echo "Cleaning build..."
rm -rf bin
echo "Installing..."
ant reinstall
| Shell |
#!/bin/bash
(jarsigner -verbose -keystore release-key.keystore -certs bin/.LevelSelectActivity-unsigned.apk release-key &&
mv bin/.LevelSelectActivity-unsigned.apk bin/alienbloodbath-release.apk)
| Shell |
#!/bin/bash
(jarsigner -verbose -keystore release-key.keystore -certs bin/.LevelSelectActivity-unsigned.apk release-key &&
mv bin/.LevelSelectActivity-unsigned.apk bin/alienbloodbath-release.apk)
| Shell |
#!/bin/bash
./create_demo.sh
EPOCH="assets/epoch.txt"
ALL_FILES=`find -L assets | grep -v \~ | grep -v \.svn | grep -v \.drop`
rm $EPOCH
cat $ALL_FILES | sha1sum > $EPOCH
| Shell |
#!/bin/bash
roslaunch ./pr2_param.launch &
sleep 10
gazebo ./pr2_arm.world &
sleep 15
roslaunch ./pr2_controller.launch
| Shell |
#!/bin/bash
# usage: ./insert_license.sh <path to ros package>
# e.g. ./insert_license.sh code_publications/2010_icra_epc_pull
if [ "$1" = "" ]; then
echo "Usage: ./insert_license.sh <path to ros package>"
exit
fi
for f in `find $1 -name "*.py" -and ! -name "__init__.py"`
do
sed -i '1i \\' $f
sed -i '... | Shell |
# /bin/bash
wget ftp://ftp.cs.unc.edu/pub/packages/GRIP/vrpn/old_versions/vrpn_07_28.zip
unzip vrpn_07_28.zip
cd vrpn
mkdir build
cd build
cmake ..
make
sudo make install
cd ../..
# you might want to remove these files, or might not.
#rm -rf vrpn
#rm -f vrpn_07_28.zip
| Shell |
#!/bin/sh
#rxplot -b 20 /accelerometer/l_gripper_motor/samples[0]/x:y:z &
#rxplot -b 20 /accelerometer/r_gripper_motor/samples[0]/x:y:z &
#roslaunch pr2_omni_teleop c_jt_c1.launch &
#rxplot -b 20 /l_cart/state/F/force/x:y:z &
#rxplot -b 20 /r_cart/state/F/force/x:y:z &
#roslaunch pr2_omni_teleop stereo_omni_pr2.launch ... | Shell |
#!/bin/bash
# sample call: ./cap_pose.sh 2.0 1.0 0.0 1.570796
echo 'Called with args: ' $1 $2 'as <x,y>'
rosservice call /rotate_backup/navstack $1 $2 0.0 0.0
rosservice call /rfid_orient/bag "['rosbag', 'record', '/tf', '/rfid/ears_reader_arr', '-o', '/u/travis/svn/robot1/src/projects/rfid_people_following/src/rfid... | Shell |
#!/bin/bash
rosservice call /rfid_orient/bag "['rosbag', 'record', '/tf', '/rfid/ears_reader_arr', '-o', '/u/travis/svn/robot1/src/projects/rfid_people_following/src/rfid_people_following/data/OnMetal/']"
rosservice call /rfid_orient/flap "'OnMetal '"
rosservice call /rfid_orient/bag "[]"
| Shell |
#!/bin/bash
./../process_friis_plots.py --yaml friis_plot_shoulder_table_both_OrangeMedBot.yaml
./../process_friis_plots.py --yaml friis_plot_shoulder_table_both_OnMetalKeys.yaml
./../process_friis_plots.py --yaml friis_plot_shoulder_table_both_SpectrMedBot.yaml
./../process_friis_plots.py --yaml friis_plot_shoulder_t... | Shell |
#!/bin/bash
# Note: You should run this script twice. The first pass just caches the data analysis portions for faster re-runs.
./../process_friis_plots.py --yaml friis_plot_combined.yaml
./../process_friis_plots.py --yaml friis_plot_head_combined.yaml
./../process_friis_plots.py --yaml friis_plot_head_datacap.yaml... | Shell |
#!/bin/bash
# To see a breakdown...
./process_dir_estimate.py --yaml dir_est_head_combined.yaml | tee dir_est_head_combined_results.txt
./process_dir_estimate.py --yaml dir_est_head_datacap.yaml | tee dir_est_head_datacap.txt
./process_dir_estimate.py --yaml dir_est_head_datacap2.yaml | tee dir_est_... | Shell |
#!/bin/bash
# Note: You should run this script twice. The first pass just caches the data analysis portions for faster re-runs.
./../process_radpat_plots.py --yaml rad_plot_combined.yaml
./../process_radpat_plots.py --yaml rad_plot_head_combined.yaml
./../process_radpat_plots.py --yaml rad_plot_head_datacap.yaml
./... | Shell |
#!/bin/bash
# NOT TRUE ANY MORE:
# $1 => tagid stripped (eg. 'person')
# $2 => capture number (eg. 0 for "best position")
# $3 => actual tagid (eg. 'person ')
# $4 => explore_radius in cm (eg. 400)
# python sm_head_capture.py --fname hrl_$4_$1_$2_headpre
# ./sm_servo_capture.py --fname hrl_$4_$1_$2 --tag "$3" #... | Shell |
#!/bin/bash
python -m cProfile -o $2.profile $1.py
python gprof2dot.py -f pstats $2.profile | dot -Tpng -o $2.profile.png
eog $2.profile.png &
runsnake $2.profile &
| Shell |
#!/bin/sh
python src/hrl_rfid/ros_M5e.py -d inhand -p 2850
| Shell |
#!/bin/bash
#Provide setup for wouse
echo 'SUBSYSTEMS=="usb", ENV{ID_VENDOR_ID}=="214e", ENV{ID_MODEL_ID}=="0001", ENV{ID_INPUT_MOUSE}=="1", NAME="wouse", MODE="0666", OPTIONS+="last_rule"' > /etc/udev/rules.d/wouse.rules
| Shell |
#!/usr/bin/bash
source /opt/ros/fuerte/setup.bash
export ROS_PACKAGE_PATH="/home/pgrice/git/gt-ros-pkg.hrl/wouse:$ROS_PACKAGE_PATH"
export ROS_MASTER_URI=http://monty1.hsi.gatech.edu:11311
python /home/pgrice training_gui.py
| Shell |
#!/bin/bash
source /opt/ros/fuerte/setup.bash
export ROS_PACKAGE_PATH="/home/pgrice/git/gt-ros-pkg/gt-ros-pkg.hrl/wouse:$ROS_PACKAGE_PATH"
export ROS_MASTER_URI=http://monty1.hsi.gatech.edu:11311
python ~/git/gt-ros-pkg.hrl/wouse/scripts/reset_wouse.py
| Shell |
#!/bin/bash
#rosrun rosdoc rosdoc hrl_lib force_torque point_cloud_ros rfid zenither robotis
rosrun rosdoc rosdoc 2009_humanoids_epc_pull force_torque hrl_hokuyo hrl_opencv rfid sample_pkg tele_mobile zenither hrl_camera hrl_lib hrl_tilting_hokuyo point_cloud_ros robotis segway_omni
| Shell |
#!/bin/bash -x
rosrun pr2_controller_manager pr2_controller_manager stop r_arm_controller
rosrun pr2_controller_manager pr2_controller_manager stop l_arm_controller
rosrun pr2_controller_manager pr2_controller_manager unload r_arm_controller
rosrun pr2_controller_manager pr2_controller_manager unload l_arm_controller
... | Shell |
dir=`rospack find hrl_phri_2011`/data
people=( "ERROR" "sub1" "sub2" "sub3" "sub4" "sub5" "sub6" "sub7" "sub8" "sub9" "sub10" "sub11" "sub12" "sub13" "sub14" "sub15" "sub16" "sub17" "sub18" "sub19" "sub20" "kelsey" "tiffany" "phil" "aaron" )
tools=( "wipe_finger" "shaver" )
places=( "cheek" "nose" "chin" "all")
functio... | Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
treatments=( "train" "1" "2" "3" "4" )
set -x
rosrun hrl_phri_2011 convert_pr2_data_to_mat.py $dir/${people[$1]}_${tools[$2]}_pr2_treatment_${treatments[$3]}.bag
| Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
set -x
roslaunch hrl_phri_2011 pc_head_stitcher.launch bag:=$dir/${people[$1]}_pc_captures.bag
| Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
set -x
rosrun hrl_phri_2011 convert_data_to_mat.py $dir/${people[$1]}_${tools[$2]}_${places[$3]}_contacts.bag
| Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
set -x
rosrun hrl_phri_2011 gray_reg_head $dir/${people[$1]}_head_stitched.bag $dir/sub1_ellipsoid_registration.bag $dir/${people[$1]}_head_stitched_gray.bag
| Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
args=("$@")
ccargs=""
for i in `seq 6 $#`
do
ccargs="${dir}/${people[${args[$i-1]}]}_${tools[$1]}_${places[$2]}_${functions[$3]}_ell_face_data_cloud.bag ${ccargs}"
done
set -x
rosrun hrl_phri_2011 gray_reg_head $dir/sub1_head_stitched.ba... | Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
set -x
rosrun hrl_phri_2011 pub_head $dir/${people[$1]}_head_stitched.bag /stitched_head /base_link 1 &
rosrun hrl_phri_2011 interactive_tf base_link /contact_cloud 20 $dir/${people[$1]}_${tools[$2]}_${places[$3]}_contact_registration.bag &
... | Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
set -x
rosbag record /adl2/pose /head/pose /tf /tool_netft/wrench_raw /tool_netft_zeroer/wrench_markers /tool_netft_zeroer/wrench_zeroed -O $dir/${people[$1]}_${tools[$2]}_${places[$3]}_fixed2.bag &
roslaunch hrl_phri_2011 netft_zero_fix.lau... | Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
set -x
rosbag play $dir/${people[$1]}_${tools[$2]}_${places[$3]}.bag
| Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
args=("$@")
ccargs=""
for i in `seq 4 $#`
do
ccargs="${dir}/${people[${args[$i-1]}]}_${tools[$1]}_${places[$2]}_${functions[$3]}_ell_face_data_cloud.bag ${ccargs}"
done
set -x
rosrun hrl_phri_2011 concat_clouds /data_cloud $ccargs ${dir}... | Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
set -x
rosrun hrl_phri_2011 pub_head $dir/${people[$1]}_head_stitched.bag /stitched_head /base_link 1 &
rosrun hrl_phri_2011 interactive_ellipse base_link ellipse_frame 20 $dir/${people[$2]}_ellipsoid_registration.bag $dir/${people[$1]}_elli... | Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
set -x
rosrun hrl_phri_2011 pub_head $dir/${people[$1]}_head_stitched.bag /stitched_head /base_link 20
| Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
types=("cheek_contact_cloud" "nose_contact_cloud" "chin_contact_cloud" "concat_contact_clouds" )
set -x
rosrun hrl_phri_2011 pub_head ${dir}/${people[$1]}_${tools[$2]}_${types[$3]}_colored.bag /contact_cloud /base_link 1
| Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
set -x
rosrun hrl_phri_2011 pub_head $dir/sub1_head_stitched.bag /stitched_head /base_link 1 &
rosrun hrl_phri_2011 interactive_tf base_link /contact_cloud 20 $dir/${people[$1]}_${tools[$2]}_${places[$3]}_contact_registration_new.bag &
rosru... | Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
set -x
for i in `seq 0 4`
do
rosrun hrl_phri_2011 convert_pr2_forces.sh $1 0 ${i}
done
| Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
set -x
rosrun hrl_phri_2011 data_extractor $dir/${people[$1]}_head_stitched.bag $dir/${people[$1]}_${tools[$2]}_${places[$3]}_processed_norms.bag 1 $dir/${people[$1]}_${tools[$2]}_${places[$3]}_contact_registration.bag 1
| Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
set -x
rosbag record /ellipsoid_params -l 1 -O $dir/${people[$1]}_ellipsoid_registration.bag
| Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
set -x
rosrun hrl_phri_2011 function_extractor $dir/${people[$1]}_${tools[$2]}_${places[$3]}_processed.bag ${functions[$4]} $dir/${people[$1]}_${tools[$2]}_${places[$3]}_${functions[$4]}_data_cloud.bag
| Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
types=("cheek_contact_cloud" "nose_contact_cloud" "chin_contact_cloud" "concat_contact_clouds" )
set -x
rosrun hrl_phri_2011 colorize_data_cloud ${dir}/${tools[$1]}_${places[$2]}_${functions[$3]}_concat_ell_clouds.bag ${dir}/${tools[$1]}_${p... | Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
set -x
rosrun hrl_phri_2011 interactive_ellipse base_link ellipse_frame 20 $dir/${people[$1]}_ellipsoid_registration.bag
| Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
set -x
rosrun hrl_phri_2011 pub_head $dir/${people[$1]}_head_stitched.bag /stitched_head /base_link 1 &
rosrun hrl_phri_2011 interactive_ellipse base_link ellipse_frame 20 $dir/${people[$2]}_ellipsoid_registration.bag $dir/${people[$1]}_elli... | Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
set -x
rosrun hrl_phri_2011 data_extractor $dir/${people[$1]}_head_stitched.bag $dir/${people[$1]}_${tools[$2]}_${places[$3]}_contacts.bag 0
rosrun hrl_phri_2011 save_contact_cloud.sh $1 $2 $3
rosrun hrl_phri_2011 color_cloud.sh $1 $2 $3
| Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
set -x
rosbag record -l 1 /stitched_head -O $dir/${people[$1]}_head_stitched.bag
| Shell |
#!/bin/bash -x
rosbag record /tf /tool_netft/wrench_raw /tool_netft_zeroer/wrench_markers /tool_netft_zeroer/wrench_zeroed /head/pose /adl2/pose -O $1
| Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
set -x
rosrun hrl_phri_2011 function_extractor $dir/${people[$1]}_${tools[$2]}_${places[$3]}_processed_norms.bag ${functions[$4]} $dir/${people[$1]}_${tools[$2]}_${places[$3]}_${functions[$4]}_ell_face_data_cloud.bag $dir/${people[$1]}_${too... | Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
set -x
rosrun hrl_phri_2011 data_extractor $dir/${people[$1]}_head_stitched.bag $dir/${people[$1]}_${tools[$2]}_${places[$3]}_processed_norms.bag 0 $dir/${people[$1]}_${tools[$2]}_${places[$3]}_contact_registration_new.bag 0
| Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
types=("cheek_contact_cloud" "nose_contact_cloud" "chin_contact_cloud" "concat_contact_clouds" )
set -x
rosrun hrl_phri_2011 colorize_data_cloud ${dir}/${tools[$1]}_${places[$2]}_${functions[$3]}_concat_ell_face_clouds.bag ${dir}/${tools[$1]... | Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
set -x
rosrun hrl_phri_2011 pub_head $dir/${people[$1]}_head_stitched.bag /stitched_head /base_link 1 &
rosrun hrl_phri_2011 project_pc_ellipsoid $dir/${people[$1]}_head_stitched.bag $dir/${people[$1]}_ellipsoid_registration.bag $dir/${peopl... | Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
set -x
rosrun hrl_phri_2011 fix_gravity.py $dir/${people[$1]}_${tools[$2]}_${places[$3]}.bag
| Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
args=("$@")
ccargs=""
if [ $1 == 0 ]; then
# subjects for wiping:
posh=0.02
ptrim=0.50
study_users=( "${study_users_wiping[@]}" )
echo $study_users
if [ $2 == 0 ]; then
multipliers=( "${cheek_multipliers[@]}"... | Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
set -x
rosrun hrl_phri_2011 convert_data_to_mat.py $dir/${people[$1]}_${tools[$2]}_${places[$3]}_processed_norms.bag
| Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
set -x
rosrun hrl_phri_2011 data_extractor $dir/${people[$1]}_head_stitched.bag $dir/${people[$1]}_${tools[$2]}_${places[$3]}_processed_norms.bag 1 $dir/${people[$1]}_${tools[$2]}_${places[$3]}_contact_registration.bag 0 $dir/${people[$1]}_e... | Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
types=("cheek_contact_cloud" "nose_contact_cloud" "chin_contact_cloud" "all_contact_cloud" )
set -x
rosrun hrl_phri_2011 colorize_data_cloud ${dir}/${people[$1]}_${tools[$2]}_${types[$3]}.bag ${dir}/${people[$1]}_${tools[$2]}_${types[$3]}_co... | Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
set -x
noise=0.001;
if [ $1 == 0 ]; then
# subjects for wiping:
study_users=( "${study_users_wiping[@]}" )
echo $study_users
if [ $2 == 0 ]; then
multipliers=( "${cheek_multipliers[@]}" )
fi
if [ $2 == 1 ]; ... | Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
set -x
rosrun hrl_phri_2011 pub_head $dir/${people[$1]}_head_stitched.bag /stitched_head /base_link 1 &
rosrun hrl_phri_2011 show_contact_cloud $dir/${people[$1]}_${tools[$2]}_${places[$3]}_processed.bag /base_link 1
| Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
args=("$@")
ccargs=""
for i in `seq 2 $#`
do
ccargs="${dir}/${people[$1]}_${tools[$2]}_${places[${args[$i]}]}_contact_cloud.bag ${ccargs}"
done
set -x
rosrun hrl_phri_2011 concat_clouds /contact_cloud $ccargs ${dir}/${people[$1]}_${tools... | Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
set -x
rosrun hrl_phri_2011 analyze_pr2_interaction.py $dir/${people[$1]}_${tools[$2]}_pr2_treatment_train.bag
| Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
set -x
rosrun hrl_phri_2011 function_extractor $dir/${people[$1]}_${tools[$2]}_${places[$3]}_processed_norms.bag ${functions[$4]} $dir/${people[$1]}_${tools[$2]}_${places[$3]}_${functions[$4]}_ell_data_cloud.bag $dir/sub1_ellipsoid_registrat... | Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
set -x
rosbag play $dir/${people[$1]}_${tools[$2]}_${places[$3]}_fixed.bag --topics /tf /adl2/pose /head/pose /tool_netft/wrench_raw
| Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
args=("$@")
ccargs=""
for i in `seq 4 $#`
do
ccargs="${dir}/${people[${args[$i-1]}]}_${tools[$1]}_${places[$2]}_${functions[$3]}_ell_face_data_cloud.bag ${ccargs}"
done
set -x
rosrun hrl_phri_2011 gray_reg_head $dir/sub1_head_stitched.ba... | Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
set -x
rosbag record /tf /head/pose /pr2_antenna/pose /l_cart/x_err /l_cart/state/xd /l_cart/state/x /l_cart/state/tau /l_cart/sensor_raw_ft /l_cart/sensor_ft /l_cart/qd /l_cart/k_effective /l_cart/f_err /l_cart/f_cmd -O $dir/${people[$1]}_$... | Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
set -x
rosrun hrl_phri_2011 save_contact_cloud $dir/${people[$1]}_${tools[$2]}_${places[$3]}_contacts.bag $dir/${people[$1]}_${tools[$2]}_${places[$3]}_contact_cloud.bag
| Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
args=("$@")
ccargs=""
if [ $1 == 0 ]; then
# subjects for wiping:
posh=0.02
ptrim=0.50
study_users=( "${study_users_wiping[@]}" )
echo $study_users
if [ $2 == 0 ]; then
multipliers=( "${cheek_multipliers[@]}"... | Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
args=("$@")
ccargs=""
study_users="4 5 7 8 9 10 11 13"
set -x
for user in `echo $study_users`
do
rosrun hrl_phri_2011 extract_ell_function.sh $user $1 $2 $3
#ccargs="${dir}/${people[${args[$i-1]}]}_${tools[$1]}_${places[$2]}_${functions[... | Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
set -x
rosrun hrl_phri_2011 pub_head $dir/sub1_head_stitched.bag /stitched_head /base_link 5
| Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
args=("$@")
ccargs=""
for i in `seq 4 $#`
do
ccargs="${dir}/${people[${args[$i-1]}]}_${tools[$1]}_${places[$2]}_${functions[$3]}_ell_face_data_cloud.bag ${ccargs}"
done
set -x
rosrun hrl_phri_2011 concat_clouds /data_cloud $ccargs ${dir}... | Shell |
#!/bin/bash
pkg=`rospack find hrl_phri_2011`
source $pkg/scripts/variables.sh
set -x
mv $dir/${people[$1]}_${tools[$2]}_${places[$3]}.bag $dir/${people[$1]}_${tools[$2]}_${places[$3]}.bag.orig
rosbag fix $dir/${people[$1]}_${tools[$2]}_${places[$3]}_fixed2.bag $dir/${people[$1]}_${tools[$2]}_${places[$3]}.bag
| Shell |
#!/bin/bash -x
rosrun pr2_controller_manager pr2_controller_manager stop r_arm_controller
rosrun pr2_controller_manager pr2_controller_manager unload r_arm_controller
rosparam load pr2_arm_controllers_grasp.yaml
rosrun pr2_controller_manager pr2_controller_manager load r_arm_controller
echo "Hit any key to start th... | Shell |
#!/bin/bash -x
rosrun pr2_controller_manager pr2_controller_manager stop r_arm_controller
rosrun pr2_controller_manager pr2_controller_manager stop l_arm_controller
rosrun pr2_controller_manager pr2_controller_manager unload r_arm_controller
rosrun pr2_controller_manager pr2_controller_manager unload l_arm_controller
... | Shell |
#!/bin/bash -x
rosrun pr2_controller_manager pr2_controller_manager stop r_arm_controller
rosrun pr2_controller_manager pr2_controller_manager stop l_arm_controller
rosrun pr2_controller_manager pr2_controller_manager unload r_arm_controller
rosrun pr2_controller_manager pr2_controller_manager unload l_arm_controller
... | Shell |
#!/bin/bash -x
rosrun pr2_controller_manager pr2_controller_manager stop r_arm_controller
rosrun pr2_controller_manager pr2_controller_manager stop l_arm_controller
rosrun pr2_controller_manager pr2_controller_manager unload r_arm_controller
rosrun pr2_controller_manager pr2_controller_manager unload l_arm_controller
... | Shell |
#!/bin/bash -x
rosrun pr2_controller_manager pr2_controller_manager stop r_arm_controller
rosrun pr2_controller_manager pr2_controller_manager stop l_arm_controller
rosrun pr2_controller_manager pr2_controller_manager unload r_arm_controller
rosrun pr2_controller_manager pr2_controller_manager unload l_arm_controller
... | Shell |
#!/bin/bash -x
rosrun pr2_controller_manager pr2_controller_manager stop r_arm_controller
rosrun pr2_controller_manager pr2_controller_manager stop l_arm_controller
rosrun pr2_controller_manager pr2_controller_manager unload r_arm_controller
rosrun pr2_controller_manager pr2_controller_manager unload l_arm_controller
| Shell |
#!/bin/bash -x
rosrun pr2_controller_manager pr2_controller_manager stop r_arm_controller
rosrun pr2_controller_manager pr2_controller_manager stop l_arm_controller
rosrun pr2_controller_manager pr2_controller_manager unload r_arm_controller
rosrun pr2_controller_manager pr2_controller_manager unload l_arm_controller
... | Shell |
#!/bin/bash
if [ "$1" = "" ]; then
echo Give an experiment number
exit
fi
if [ "$2" = "" ]; then
echo Give a position number [1,2,3,4]
exit
fi
if [ "$3" = "" ]; then
echo Give a hook angle
exit
fi
if [ "$4" = "" ]; then
echo Give info string
exit
fi
if [ "$5" = "" ]; then
echo ... | Shell |
#!/bin/bash -x
ARGC=$#
if [ $ARGC = 0 ]; then
echo "Usage: ./aggregate_checker_fail.sh <mechanism 1 directory> <directory 2> ..."
exit
fi
mkdir aggregated_checker_fail
for d in $@
do
for f in `ls $d/*/ -d`
do
python log_images.py -d $f -b
cp $f/checker_fail/* aggregated_checker_fail
... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.