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.

Note

Caution: joint_names may be rearranged.

Parameters

other (Configuration) – 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.