place_object_with_reference()
  • 1 Minute to read

place_object_with_reference()


Article summary

Places the currently held object at a specified distance from a reference object.

Reference

Arguments

ArgumentsTypeDefault value
detector_modelstr-Name of the detection model that will be used to recognize and localize the reference object.
sourcestr-Name of the camera that will be sourced to recognize the target object.
object_namestr-Name of the reference, as recognizable by the detection model.
height_objectfloat-Height of the object to place, in meters.
armstr-Arm to execute place
distancefloat-Distance to place the object from the reference object, in meters.
callback_feedbackcallableNoneFunction to be called throughout the placement procedure.
callback_finishcallableNoneFunction to be called once object is placed.
waitboolFalseIf true, program will wait until object is placed before continuing with other code. If false, program will continue running asynchronously.

Return

None

Exceptions

ExceptionCondition
RayaNotMovingManipulation process already in execution.

See the complete list of manipulation exceptions.


Was this article helpful?