Configuration.merged

Configuration.merged(other)[source]

Get a new Configuration with this configuration merged with another configuration. The other configuration takes precedence over this configuration in case a joint value is present in both.

Parameters:
otherConfiguration

The configuration to be merged.

Returns:
Configuration

A configuration with values for all included joints.

Raises:
ValueError

If the configuration or the other configuration does not specify joint names for all joint values.

Notes

Caution: joint_names may be rearranged.