class SpatialObject(UaObject):
Constructor: SpatialObject(name, position_frame, **kwargs)
Spatial Object contains a PositionFrame and further CartesianFrame can be attached.
See OPC UA Relative Spatial Location specification.
| Method | __init__ |
Cooperative constructor. |
| Async Method | add |
Add a new CartesianFrame with given pose to the spatial object as an AlternativeFrame. |
| Async Method | add |
Add a new CartesianFrame with given pose to the spatial object as an AttachPoint. |
| Async Method | add |
Add a new CartesianFrame with given pose to the spatial object as an InternalFrame. |
| Async Method | lifecycle |
Initialize the spatial object. |
| Instance Variable | alternative |
Undocumented |
| Instance Variable | attach |
Undocumented |
| Instance Variable | internal |
Undocumented |
| Instance Variable | position |
Undocumented |
| Async Method | _get |
Undocumented |
| Instance Variable | _identifier |
Undocumented |
Pose, *, name: str = 'SpatialObject', initial_base: CartesianFrame | ua.NodeId | None = None) -> CartesianFrame:
¶
Add a new CartesianFrame with given pose to the spatial object as an AlternativeFrame.
Alternative frames are used to provide additional location information with respect to other coordinate
systems described within the same SpatialObjectList.
| Parameters | |
initialPose | Initial pose of the new frame. |
name:str | (Optional) name of the new frame. |
initialCartesianFrame | ua.NodeId | None | (Optional) initial base of the new frame. None means to use the PositionFrame of the spatial object. |
| Returns | |
CartesianFrame | Undocumented |
Pose, *, name: str = 'SpatialObject', initial_base: CartesianFrame | ua.NodeId | None = None) -> CartesianFrame:
¶
Add a new CartesianFrame with given pose to the spatial object as an AttachPoint.
Attach points define positions on the parent object where other objects can be attached.
| Parameters | |
initialPose | Initial pose of the new frame. |
name:str | (Optional) name of the new frame. |
initialCartesianFrame | ua.NodeId | None | (Optional) initial base of the new frame. None means to use the PositionFrame of the spatial object. |
| Returns | |
CartesianFrame | Undocumented |
Pose, *, name: str = 'SpatialObject', initial_base: CartesianFrame | ua.NodeId | None = None) -> CartesianFrame:
¶
Add a new CartesianFrame with given pose to the spatial object as an InternalFrame.
Internal frames define positions or frames, which are of interest for the parent object, but may not be used as AttachPoints.
| Parameters | |
initialPose | Initial pose of the new frame. |
name:str | (Optional) name of the new frame. |
initialCartesianFrame | ua.NodeId | None | (Optional) initial base of the new frame. None means to use the PositionFrame of the spatial object. |
| Returns | |
CartesianFrame | Undocumented |