place_object_with_point()
- 1 Minute to read
place_object_with_point()
- 1 Minute to read
Article Summary
Share feedback
Thanks for sharing your feedback!
place_object_with_point()
Places the currently held object at a specified set of coordinates(x,y,z).
Reference
Arguments
Arguments | Type | Default value | |
---|---|---|---|
point_to_place | list | Target where to place the object. Format: [x, y, z]. | |
height_object | float | Height of the object to place, in meters. | |
arm | str | Arm to execute place | |
callback_feedback | function | None | Function to be called throughout the placement procedure. |
callback_finish | function | None | Function to be called once object is placed. |
wait | bool | False | If True , program will wait until object is placed before continuing with other code. If False , program will continue running asynchronously. |
Callback Arguments
callback_feedback
Argument | Type | |
---|---|---|
state | str | Information about progress of object placement procedure. |
callback_finish
Argument | Type | |
---|---|---|
error | int | Code for the type of error encountered (0 if no error). |
error_msg | str | Details regarding the error (empty if no error). |
Return
None
Exceptions
Exception | Condition |
---|---|
RayaNotMoving | Grasping 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?