function getDecisionState(){ cat $1 | grep -a ":drive_state_child:" | sed s/"<trace.*_child:"//g > state.txt }