klampt.model.types module

klampt.model.types.knownTypes()[source]

Returns all known Klampt types

klampt.model.types.make(type, object=None)[source]

Makes a default instance of the given type.

Parameters:
  • type (str) – the name of the desired type
  • object (optional) – If type is ‘Config’, ‘Configs’, ‘Vector’, or ‘Trajectory’, can provide the object for which the new instance will be compatible.
klampt.model.types.objectToTypes(object, world=None)[source]

Returns a string defining the type of the given Python Klamp’t object. If multiple types could be associated with it, then it returns a list of all possible valid types.