def _get_robot_move_command(self): """Build command to move the robot (to be called as subprocess) :returns list containing executable with path and appropriate arguments """ ptp_goal = [ str(x) for x in self.test_data.get_joints(self._PTP_TEST_NAME, _GROUP_NAME) ] movecmd = RosPack().get_path( "pilz_robot_programming" ) + '/test/integrationtests/movecmd.py ptp joint' return movecmd.split(" ") + ptp_goal