place_object_with_point()
  • 1 Minute to read

place_object_with_point()


Article Summary

place_object_with_point()

Places the currently held object at a specified set of coordinates(x,y,z).

Reference

Arguments

ArgumentsTypeDefault value
point_to_placelistTarget where to place the object. Format: [x, y, z].
height_objectfloatHeight of the object to place, in meters.
armstrArm to execute place
callback_feedbackfunctionNoneFunction to be called throughout the placement procedure.
callback_finishfunctionNoneFunction 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.

Callback Arguments

callback_feedback

ArgumentType
statestrInformation about progress of object placement procedure.

callback_finish

ArgumentType
errorintCode for the type of error encountered (0 if no error).
error_msgstrDetails regarding the error (empty if no error).

Return

None

Exceptions

ExceptionCondition
RayaNotMovingGrasping already in execution.

See the complete list of Raya Exceptions.

Examples

See the Grasping Place Object With Point Example to see how to place an object using target point coordinates.


Was this article helpful?