#! /bin/bash

LIB_DIR="$HOME/TangoApps/TangoxRos/app/src/main/libs/armeabi-v7a"
DEST_DIR="/data/local/tmp"

CMD="adb push $LIB_DIR/libtango_ros_android.so $DEST_DIR/"
echo $CMD
$CMD

CMD="adb push $LIB_DIR/libtango_ros_native.so $DEST_DIR/"
echo $CMD
$CMD

CMD="adb push $LIB_DIR/libtango_support_api.so $DEST_DIR/"
echo $CMD
$CMD

CMD="adb push $LIB_DIR/test_tango_ros_native $DEST_DIR/"
echo $CMD
$CMD

CMD="adb shell chmod 775 $DEST_DIR/test_tango_ros_native"
echo $CMD
$CMD

CMD="adb shell LD_LIBRARY_PATH=$DEST_DIR $DEST_DIR/test_tango_ros_native"
echo $CMD
$CMD
Add script to push and run test on device
Add script to push and run test on device
