code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
diff -ub safety.brf $1 | less
| 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/bash
/Applications/flexsdk/bin/mxmlc -use-network=false -o ../swf/soundmanager2_flash9.swf -file-specs "SoundManager2_AS3.as"
| Shell |
#!/bin/bash
/Applications/mtasc/mtasc -swf ../swf/soundmanager2.swf -main -header 16:16:30 SoundManager2.as -version 8
| Shell |
#!/bin/bash
#
# Copyright (c) 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 t... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2012 gelin
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) an... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2010 gelin, 2011 mihovilic
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2010 gelin, 2011 mihovilic
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2010 gelin, 2011 mihovilic
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2012 gelin, 2011 mihovilic
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2010 gelin, 2011 mihovilic
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2014 gelin
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) an... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2010 Denis Nelubin aka Gelin
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# ... | Shell |
#!/bin/sh
TARGETS=$*
buildin() {
BASE_DIR=$(pwd)
cd $1
ant $TARGETS
cd $BASE_DIR
}
buildin core
buildin skins/black-text
buildin skins/white-text
buildin skins/black-text-plus
buildin skins/white-text-plus
buildin skins/bigger-text
| Shell |
#!/bin/sh
android update project --name Pano --path .
| Shell |
#!/bin/sh
android update project --name Pano --path .
| Shell |
#
#/**
# * Copyright 2007 The Apache Software Foundation
# *
# * Licensed to the Apache Software Foundation (ASF) under one
# * or more contributor license agreements. See the NOTICE file
# * distributed with this work for additional information
# * regarding copyright ownership. The ASF licenses this file
# * to you... | Shell |
#!/bin/sh
# This file is used to generate the annotation of package info that
# records the user, url, revision and timestamp.
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding c... | Shell |
#!/bin/sh
# This file is used to generate the annotation of package info that
# records the user, url, revision and timestamp.
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding c... | Shell |
#!/usr/bin/env bash
##
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "L... | Shell |
#!/usr/bin/env bash
##
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "L... | Shell |
#!/usr/bin/env bash
#
#/**
# * Copyright 2007 The Apache Software Foundation
# *
# * Licensed to the Apache Software Foundation (ASF) under one
# * or more contributor license agreements. See the NOTICE file
# * distributed with this work for additional information
# * regarding copyright ownership. The ASF licenses ... | Shell |
#!/usr/bin/env bash
# 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 to in writing, s... | Shell |
#!/bin/bash
##
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License")... | Shell |
#!/usr/bin/env bash
# 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 to in writing, s... | Shell |
#!/bin/bash
##
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License")... | Shell |
#!/usr/bin/env bash
#
#/**
# * Copyright 2007 The Apache Software Foundation
# *
# * Licensed to the Apache Software Foundation (ASF) under one
# * or more contributor license agreements. See the NOTICE file
# * distributed with this work for additional information
# * regarding copyright ownership. The ASF licenses ... | Shell |
#
#/**
# * Copyright 2007 The Apache Software Foundation
# *
# * Licensed to the Apache Software Foundation (ASF) under one
# * or more contributor license agreements. See the NOTICE file
# * distributed with this work for additional information
# * regarding copyright ownership. The ASF licenses this file
# * to you... | Shell |
#!/bin/sh
# This file is used to generate the annotation of package info that
# records the user, url, revision and timestamp.
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding c... | Shell |
#!/bin/sh
# This file is used to generate the annotation of package info that
# records the user, url, revision and timestamp.
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding c... | Shell |
#!/usr/bin/env bash
##
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "L... | Shell |
#!/usr/bin/env bash
##
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "L... | Shell |
#!/usr/bin/env bash
#
#/**
# * Copyright 2007 The Apache Software Foundation
# *
# * Licensed to the Apache Software Foundation (ASF) under one
# * or more contributor license agreements. See the NOTICE file
# * distributed with this work for additional information
# * regarding copyright ownership. The ASF licenses ... | Shell |
#!/usr/bin/env bash
# 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 to in writing, s... | Shell |
#!/bin/bash
##
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License")... | Shell |
#!/usr/bin/env bash
# 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 to in writing, s... | Shell |
#!/bin/bash
##
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License")... | Shell |
#!/usr/bin/env bash
#
#/**
# * Copyright 2007 The Apache Software Foundation
# *
# * Licensed to the Apache Software Foundation (ASF) under one
# * or more contributor license agreements. See the NOTICE file
# * distributed with this work for additional information
# * regarding copyright ownership. The ASF licenses ... | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.