Skip to content
Snippets Groups Projects
Commit 930afdb6 authored by Valerij Wittenbeck's avatar Valerij Wittenbeck
Browse files

MovePlatformTest: deleted/changed obsolete scripts

parent f4836688
No related branches found
No related tags found
No related merge requests found
setting colored console to deactivated
# ==================================================================
# ArmarX properties
# ==================================================================
# ArmarX.CachePath: Path for cache files
# Attributes:
# - Default: .cache
# - Case sensitivity: no
# - Required: no
# ArmarX.CachePath = .cache
# ArmarX.DataPath: Semicolon-separated search list for data files
# Attributes:
# - Default: ""
# - Case sensitivity: no
# - Required: no
# ArmarX.DataPath = ""
# ArmarX.Verbosity: Global logging level for whole application
# Attributes:
# - Default: Verbose
# - Case sensitivity: no
# - Required: no
# - Possible values: {Debug, Error, Fatal, Important, Info, Undefined, Verbose, Warning}
# ArmarX.Verbosity = Verbose
# ArmarX.DisableLogging: Turn logging off in whole application
# Attributes:
# - Default: 0
# - Case sensitivity: no
# - Required: no
# - Possible values: {0, 1, false, no, true, yes}
# ArmarX.DisableLogging = 0
# ArmarX.ApplicationName: Application name
# Attributes:
# - Default: ""
# - Case sensitivity: no
# - Required: no
# ArmarX.ApplicationName = ""
# ArmarX.Config: Comma-separated list of configuration files
# Attributes:
# - Default: ""
# - Case sensitivity: no
# - Required: no
# ArmarX.Config = ""
# ==================================================================
# ArmarX.RobotStateComponent properties
# ==================================================================
# ArmarX.RobotStateComponent.RobotFileName: Filename of VirtualRobot robot model (e.g. robot_model.xml)
# Attributes:
# - Case sensitivity: no
# - Required: yes
ArmarX.RobotStateComponent.RobotFileName =Armar3/data/robotmodel/ArmarIII.xml
# ArmarX.RobotStateComponent.RobotNodeSetName: Set of nodes that is controlled by the KinematicUnit
# Attributes:
# - Case sensitivity: no
# - Required: yes
ArmarX.RobotStateComponent.RobotNodeSetName =Robot
# ArmarX.RobotStateComponent.MinimumLoggingLevel: Local logging level only for this component
# Attributes:
# - Default: Undefined
# - Case sensitivity: no
# - Required: no
# - Possible values: {Error, Fatal, Info, Undefined, Verbose, Warning}
# ArmarX.RobotStateComponent.MinimumLoggingLevel = Undefined
# ArmarX.RobotStateComponent.ObjectName: Name of IceGrid well-known object
# Attributes:
# - Default: ""
# - Case sensitivity: no
# - Required: no
# ArmarX.RobotStateComponent.ObjectName = ""
export CORE_PATH=../../../Core
export GUI_PATH=../../../Gui
export VISIONX_PATH=../..././VisionX
export ARMAR4_PATH=../../../Armar4
export HUMANOIDROBOTAPI_PATH=../../../RobotAPI
export SCRIPT_PATH=$CORE_PATH/build/bin
export SIMULATION_PATH=../../../SimulationX
export CORE_BIN_PATH=$CORE_PATH/build/bin
export GUI_BIN_PATH=$GUI_PATH/build/bin
export VISIONX_BIN_PATH=$VISIONX_PATH/build/bin
export ARMAR4_BIN_PATH=$ARMAR4_PATH/build/bin
export HUMANOIDROBOTAPI_BIN_PATH=$HUMANOIDROBOTAPI_PATH/build/bin
export GLOBAL_CONFIG=./configs/Global.cfg
# armarx components
$SIMULATION_PATH/scenarios/startScenario.sh
$SCRIPT_PATH/startApplication.sh $CORE_BIN_PATH/PlatformUnitObserverRun --Ice.Config=$GLOBAL_CONFIG,./configs/PlatformUnitObserver.cfg &
$SCRIPT_PATH/startApplication.sh $CORE_BIN_PATH/SystemObserverRun --Ice.Config=$GLOBAL_CONFIG &
$SCRIPT_PATH/startApplication.sh $CORE_BIN_PATH/RobotStateComponentRun --Ice.Config=$SIMULATION_PATH/scenarios/SimulatorGui/configs/Armar3KinematicUnit.cfg,./configs/RobotStateComponent.cfg &
$SCRIPT_PATH/startApplication.sh $CORE_BIN_PATH/RobotControlRun --Ice.Config=$GLOBAL_CONFIG &
$SCRIPT_PATH/startApplication.sh $CORE_BIN_PATH/ConditionHandlerRun --Ice.Config=$GLOBAL_CONFIG &
$SCRIPT_PATH/startApplication.sh $HUMANOIDROBOTAPI_BIN_PATH/MovePlatformAppRun --Ice.Config=$GLOBAL_CONFIG &
......@@ -18,7 +18,6 @@ export GLOBAL_CONFIG=./configs/Global.cfg
# armarx components
$SCRIPT_PATH/startApplication.sh $CORE_BIN_PATH/PlatformUnitObserverRun --Ice.Config=$GLOBAL_CONFIG,./configs/PlatformUnitObserver.cfg &
$SCRIPT_PATH/startApplication.sh $CORE_BIN_PATH/SystemObserverRun --Ice.Config=$GLOBAL_CONFIG &
$SCRIPT_PATH/startApplication.sh $CORE_BIN_PATH/RobotStateComponentRun --Ice.Config=$SIMULATION_PATH/scenarios/SimulatorGui/configs/Armar3KinematicUnit.cfg,./configs/RobotStateComponent.cfg &
$SCRIPT_PATH/startApplication.sh $CORE_BIN_PATH/RobotControlRun --Ice.Config=$GLOBAL_CONFIG &
$SCRIPT_PATH/startApplication.sh $CORE_BIN_PATH/ConditionHandlerRun --Ice.Config=$GLOBAL_CONFIG &
$SCRIPT_PATH/startApplication.sh $HUMANOIDROBOTAPI_BIN_PATH/MovePlatformAppRun --Ice.Config=$GLOBAL_CONFIG &
skill ()
{
STR=`ps aux | grep -re "$1 --Ice.Default" | grep -v grep | awk '{print $2}'`
if [ ${#STR} == 0 ]
then
echo skipping $1
else
echo killing $1
kill -s $2 `ps aux | grep -re "$1 --Ice.Default" | grep -v grep | awk '{print $2}'`
fi
}
echo SENDING SIGINT TO ALL PROCESSES
../../../SimulationX/scenarios/stopScenario.sh
skill PlatformUnitObserverRun 2
skill SystemObserverRun 2
skill ConditionHandlerRun 2
skill RobotStateComponentRun 2
skill RobotControlRun 2
skill MovePlatformAppRun 2
sleep 1
echo SENDING SIGKILL TO ALL PROCESSES
skill PlatformUnitObserverRun 9
skill SystemObserverRun 9
skill ConditionHandlerRun 9
skill RobotStateComponentRun 9
skill RobotControlRun 9
skill MovePlatformAppRun 9
......@@ -15,7 +15,6 @@ echo SENDING SIGINT TO ALL PROCESSES
skill PlatformUnitObserverRun 2
skill SystemObserverRun 2
skill ConditionHandlerRun 2
skill RobotStateComponentRun 2
skill RobotControlRun 2
skill MovePlatformAppRun 2
......@@ -26,7 +25,6 @@ echo SENDING SIGKILL TO ALL PROCESSES
skill PlatformUnitObserverRun 9
skill SystemObserverRun 9
skill ConditionHandlerRun 9
skill RobotStateComponentRun 9
skill RobotControlRun 9
skill MovePlatformAppRun 9
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment