Path: blob/main/tools/neteditTestFunctions/frames/data/meanData.py
169686 views
# -*- coding: utf-8 -*-1# Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo2# Copyright (C) 2009-2025 German Aerospace Center (DLR) and others.3# This program and the accompanying materials are made available under the4# terms of the Eclipse Public License 2.0 which is available at5# https://www.eclipse.org/legal/epl-2.0/6# This Source Code may also be made available under the following Secondary7# Licenses when the conditions for such availability set forth in the Eclipse8# Public License 2.0 are satisfied: GNU General Public License, version 29# or later which is available at10# https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html11# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later1213# @file meanData.py14# @author Pablo Alvarez Lopez15# @date 28-05-251617# imports18from ...general.functions import focusOnFrame19from ...input.keyboard import typeKey202122def createMeanData():23"""24@brief create mean data25"""26# focus current frame27focusOnFrame()28# go to create mean data29for _ in range(5):30typeKey('tab')31# create mean data32typeKey('space')333435def deleteMeanData():36"""37@brief delete mean data38"""39# focus current frame40focusOnFrame()41# go to delete mean data42for _ in range(6):43typeKey('tab')44# delete mean data45typeKey('space')464748def copyMeanData():49"""50@brief copy mean data51"""52# focus current frame53focusOnFrame()54# go to copy mean data55for _ in range(7):56typeKey('tab')57# copy mean data58typeKey('space')596061