code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
APPDIR=`dirname $0`;
java -cp "$APPDIR/src:$APPDIR/bin:/home/palba/java/gwt-linux-1.2.22/gwt-user.jar:/home/palba/java/gwt-linux-1.2.22/gwt-dev-linux.jar" com.google.gwt.dev.GWTCompiler -out "$APPDIR/www" "$@" es.entel.youroute.Youroute;
| Shell |
#!/bin/sh
APPDIR=`dirname $0`;
java -cp "$APPDIR/src:$APPDIR/bin:/home/palba/java/gwt-linux-1.2.22/gwt-user.jar:/home/palba/java/gwt-linux-1.2.22/gwt-dev-linux.jar" com.google.gwt.dev.GWTShell -out "$APPDIR/www" "$@" es.entel.youroute.Youroute/Youroute.html;
| Shell |
#!/bin/bash
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... | Shell |
#!/bin/sh
while [ 1 ]
do
svn update && python fetcher.py && python voter.py
echo Next update in 5 minutes
sleep 300
done
| Shell |
#!/usr/bin/env bash
#
# Run this shell script if you would like to automatically UN-install ysmgr.sh
# and the soft link in the default location.
#
# EXAMPLE:
#
# [user:-bash]$ ./uninstall_ysmgr
#
echo
echo "Automatically UN-installing YSMGR..."
echo
echo " ...removing soft link ~/bin/ysmgr"
rm ~/bin/ysmgr
echo ... | Shell |
#!/usr/bin/env bash
#
# Run this shell script if you would like to automatically install ysmgr.sh and
# create a pretty command link in the default location.
#
# EXAMPLE:
#
# [user:-bash]$ ./install_ysmgr
#
echo
echo "Automatically installing YSMGR..."
echo
echo " ...moving ./ysmgr.sh to ~/bin/ysmgr.sh"
mkdir -pv... | Shell |
#!/usr/bin/env bash
echo
echo "Verifying installation of YSMGR in default ~/bin location:"
ls -l ~/bin/ysmgr ~/bin/ysmgr.sh
echo "exiting... goodbye!"
echo
| Shell |
#!/usr/bin/env bash
#
# Run this shell script if you would like to automatically UN-install ysmgr.sh
# and the soft link in the default location.
#
# EXAMPLE:
#
# [user:-bash]$ ./uninstall_ysmgr
#
echo
echo "Automatically UN-installing YSMGR..."
echo
echo " ...removing soft link ~/bin/ysmgr"
rm ~/bin/ysmgr
echo ... | Shell |
#!/usr/bin/env bash
################################################################################
# YourSpace CLI Manager Utility
# http://yourspace-cli.googlecode.com/svn/trunk/manager/
#
# NAME
# ysmgr -- manage yourspace versions
#
# SYNOPSIS
# ysmgr [-v] [file ...]
#
# DESCRIPTION
# Enter a bare-b... | Shell |
#!/usr/bin/env bash
#
# Run this shell script if you would like to automatically install ysmgr.sh and
# create a pretty command link in the default location.
#
# EXAMPLE:
#
# [user:-bash]$ ./install_ysmgr
#
echo
echo "Automatically installing YSMGR..."
echo
echo " ...moving ./ysmgr.sh to ~/bin/ysmgr.sh"
mkdir -pv... | Shell |
#!/usr/bin/env bash
echo
echo "Verifying installation of YSMGR in default ~/bin location:"
ls -l ~/bin/ysmgr ~/bin/ysmgr.sh
echo "exiting... goodbye!"
echo
| Shell |
#!/usr/bin/env bash
################################################################################
# YourSpace CLI Manager Utility
# http://yourspace-cli.googlecode.com/svn/trunk/manager/
#
# NAME
# ysmgr -- manage yourspace versions
#
# SYNOPSIS
# ysmgr [-v] [file ...]
#
# DESCRIPTION
# Enter a bare-b... | Shell |
#!/usr/bin/env bash
#
# A BASH translation of the YourSpace application.
#
# Note: switch to straight POSIX? Nah, bash is cool.
#
echo
echo "YourSpace CLI: BASH Variant"
echo
echo "Not yet."
| Shell |
#!/usr/bin/env bash
#
# A BASH translation of the YourSpace application.
#
# Note: switch to straight POSIX? Nah, bash is cool.
#
echo
echo "YourSpace CLI: BASH Variant"
echo
echo "Not yet."
| Shell |
#!/bin/bash -x
rosbag record /adl_wrench_posearray /netft_gravity_zeroing/wrench_zeroed /netft_gravity_zeroing/wrench_markers /pr2_netft/wrench_raw /frame/ellipse_frame /frame/l_gripper_shaver45_frame /frame/torso_lift_link -O $1
| Shell |
#!/bin/bash
dir=`rospack find hrl_head_tracking`/bag
rosrun hrl_head_tracking clickable_pc bag/kelsey_face_$1.bag bag/kelsey_face_$1.click
| 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
# 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
python src/hrl_rfid/ros_M5e.py -d inhand -p 2850
| 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/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
# 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
# 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
# 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_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
./../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
sudo modprobe raw1394
sudo chmod 666 /dev/raw1394
| Shell |
# /bin/bash
rosdep install phantom_omni
unzip OpenHapticsAE_Linux_v3_0.zip
#firefox http://dsc.sensable.com/3dtouch/OpenHaptics_Academic_linux/downloadFile.asp?file=3dtouch/OpenHapticsAE_Linux_v3_0.zip
sudo dpkg -i "OpenHapticsAE_Linux_v3_0/PHANTOM Device Drivers/32-bit/phantomdevicedrivers_4.3-3_i386.deb"
sudo dpkg -i... | Shell |
#!/bin/bash
roslaunch ./pr2_param.launch &
sleep 10
gazebo ./pr2_arm.world &
sleep 15
roslaunch ./pr2_controller.launch
| 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
#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
#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/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 -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 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
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
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
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
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
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
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
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
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 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
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
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
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
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 -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 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
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 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
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
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
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 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
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 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
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
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
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
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
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
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
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
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
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
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 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
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 interactive_ellipse base_link ellipse_frame 20 $dir/${people[$1]}_ellipsoid_registration.bag
| 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
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
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 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
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]}_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
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
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 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
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 analyze_pr2_interaction.py $dir/${people[$1]}_${tools[$2]}_pr2_treatment_train.bag
| 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
#
# Copyright (c) 2009, Georgia Tech Research Corporation
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# ... | Shell |
#!/bin/bash
#
# Copyright (c) 2009, Georgia Tech Research Corporation
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# ... | Shell |
#!/bin/bash
if [ "$1" = "" ]; then
echo Give an experiment number
exit
fi
mkdir $1
python ../handheld_hook/initialise_experiment.py
python collect_data.py
mv mechanism_info*.pkl poses_dict.pkl ft_log*.pkl spring_scale*.pkl $1
mv *.png $1
| Shell |
cd aggregated_pkls
rm -vf *open_open*
rm -vf *open_close*
rm -vf *close_open*
rm -vf *close_close*
cd ..
python mechanism_analyse_advait.py -d aggregated_pkls --rearrange
cd aggregated_pkls/HSI_kitchen_cabinet_right
mv *aaron* ../HSI_kitchen_cabinet_right_aaron/
mv *hai* ../HSI_kitchen_cabinet_right_hai/
mv *tiffany... | Shell |
#!/bin/bash -x
if [ "$1" = "" ]; then
echo Give mechanism name
exit
fi
A=`pwd`
#roslaunch sturm_kinematics.launch &
#sleep 30
#roslaunch modeling_forces checkerboard.launch &
#sleep 30
for f in `ls $1/0*/ -d`
do
if [ -f $f/poses_dict.pkl ]
then
echo $f already has poses from pngs
else
... | Shell |
#!/bin/bash -x
if [ "$1" = "" ]; then
echo Give mechanism name
exit
fi
for f in `ls $1/*/ -d`
do
if [ -f $f/00000.png ]
then
echo $f already has pngs from avi
else
python log_images.py -d $f -c
fi
done
| Shell |
#!/bin/bash -x
# uses avi_to_pngs.sh and pngs_to_pose_pkl.sh to go from avis to the
# pkls with force, mechanism angle etc. for multiple mechanisms.
#
# This script will take a very long time to run. You want to let it
# run overnight. (it can take longer than that too)
#
# Usage: ./avi_to_pkls_multiple_mechanism.sh... | Shell |
#!/bin/bash -x
#
# Usage: ./annotate_multiple.sh <mechanism 1 directory> <directory 2> ...
#
ARGC=$#
if [ $ARGC = 0 ]; then
echo "Usage: ./annotate_multiple.sh <mechanism 1 directory> <directory 2> ..."
exit
fi
for d in $@
do
python annotate_images.py -d $d
done
| Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.