MCPcopy Create free account
hub / github.com/FlightGear/flightgear / get_values

Function get_values

scripts/python/recordreplay.py:578–586  ·  view source on GitHub ↗

Returns /value[] as a list.

(path)

Source from the content-addressed store, hash-verified

576 show_values('/sim/replay/log-raw-speed-multiplayer-post-user-absolute-distance')
577
578 def get_values(path):
579 '''
580 Returns <path>/value[] as a list.
581 ''&#x27;
582 ret = []
583 for item in fg.fg.ls(path):
584 if item.name == 'value':
585 ret.append(item.value)
586 return ret
587
588 # Check that distance between user and mp is constant.
589 #

Callers 1

test_motionFunction · 0.85

Calls 2

lsMethod · 0.45
appendMethod · 0.45

Tested by 1

test_motionFunction · 0.68