smach.user_data module

class smach.user_data.Remapper(ud, input_keys=[], output_keys=[], remapping={})

Bases: object

Key-remapping proxy to a SMACH userdata structure.

keys()
update(other_userdata)
class smach.user_data.UserData

Bases: object

SMACH user data structure.

extract(keys, remapping)
keys()
merge(ud, keys, remapping)
update(other_userdata)

Combine this userdata struct with another. This overwrites duplicate keys with values from C{other_userdata}.