sdurw_task module

class sdurw_task.GraspResult

Bases: object

CollisionDuringExecution = 13
CollisionEnvironmentInitially = 12
CollisionFiltered = 10
CollisionInitially = 2
CollisionObjectInitially = 11
Interference = 14
InvKinFailure = 8
ObjectDropped = 4
ObjectMissed = 3
ObjectSlipped = 5
PoseEstimateFailure = 9
SimulationFailure = 7
SizeOfStatusArray = 18
Success = 1
TimeOut = 6
UnInitialized = 0
WrenchInsufficient = 15
property thisown

The membership flag

class sdurw_task.GraspResultPtr(*args)

Bases: object

The Ptr type represents a smart pointer that can take ownership of the underlying object.

If the underlying object is owned by the smart pointer, it is destructed when there is no more smart pointers pointing to the object.

get() → GraspResult *
isNull() → bool

Check if smart pointer is null.

Return type

boolean

Returns

true if smart pointer is null.

isShared() → bool
property thisown

The membership flag

class sdurw_task.GraspTask

Bases: object

clone() → rw::common::Ptr< GraspTask >
getGraspControllerID() → std::string
getGripperID() → std::string
getTCPID() → std::string
static load(*args) → rw::common::Ptr< GraspTask >
static saveRWTask(task: GraspTaskPtr, name: std::string const &) → void
static saveText(task: GraspTaskPtr, name: std::string const &) → void
static saveUIBK(task: GraspTaskPtr, name: std::string const &) → void
setGraspControllerID(id: std::string const &) → void
setGripperID(id: std::string const &) → void
setTCPID(id: std::string const &) → void
property thisown

The membership flag

toCartesianTask() → rw::common::Ptr< Task< rw::math::Transform3D< double > > >
static toString(status: GraspResult::TestStatus) → std::string
class sdurw_task.GraspTaskPtr(*args)

Bases: object

The Ptr type represents a smart pointer that can take ownership of the underlying object.

If the underlying object is owned by the smart pointer, it is destructed when there is no more smart pointers pointing to the object.

clone() → rw::common::Ptr< GraspTask >
get() → GraspTask *
getGraspControllerID() → std::string
getGripperID() → std::string
getTCPID() → std::string
isNull() → bool

Check if smart pointer is null.

Return type

boolean

Returns

true if smart pointer is null.

isShared() → bool
load(*args) → rw::common::Ptr< GraspTask >
saveRWTask(task: GraspTaskPtr, name: std::string const &) → void
saveText(task: GraspTaskPtr, name: std::string const &) → void
saveUIBK(task: GraspTaskPtr, name: std::string const &) → void
setGraspControllerID(id: std::string const &) → void
setGripperID(id: std::string const &) → void
setTCPID(id: std::string const &) → void
property thisown

The membership flag

toCartesianTask() → rw::common::Ptr< Task< rw::math::Transform3D< double > > >
toString(status: GraspResult::TestStatus) → std::string
sdurw_task.GraspTask_load(*args) → rw::common::Ptr< GraspTask >
sdurw_task.GraspTask_saveRWTask(task: GraspTaskPtr, name: std::string const &) → void
sdurw_task.GraspTask_saveText(task: GraspTaskPtr, name: std::string const &) → void
sdurw_task.GraspTask_saveUIBK(task: GraspTaskPtr, name: std::string const &) → void
sdurw_task.GraspTask_toString(status: GraspResult::TestStatus) → std::string
class sdurw_task.TaskSE3

Bases: object

property thisown

The membership flag

class sdurw_task.TaskSE3Ptr(*args)

Bases: object

The Ptr type represents a smart pointer that can take ownership of the underlying object.

If the underlying object is owned by the smart pointer, it is destructed when there is no more smart pointers pointing to the object.

get() → Task< rw::math::Transform3D< double > > *
isNull() → bool

Check if smart pointer is null.

Return type

boolean

Returns

true if smart pointer is null.

isShared() → bool
property thisown

The membership flag

sdurw_task.ownedPtr(*args) → rw::common::Ptr< GraspResult >

Overload 1:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (PropertyMap) – the object to take ownership of.


Overload 2:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (Log) – the object to take ownership of.


Overload 3:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (ThreadPool) – the object to take ownership of.


Overload 4:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (ThreadTask) – the object to take ownership of.


Overload 5:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (GeometryData) – the object to take ownership of.


Overload 6:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (Geometry) – the object to take ownership of.


Overload 7:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (WorkCellScene) – the object to take ownership of.


Overload 8:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (Model3D) – the object to take ownership of.


Overload 9:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (IterativeIK) – the object to take ownership of.


Overload 10:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (JacobianIKSolver) – the object to take ownership of.


Overload 11:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (IKMetaSolver) – the object to take ownership of.


Overload 12:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (StateStructure) – the object to take ownership of.


Overload 13:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (Metric< rw::math::Q >) – the object to take ownership of.


Overload 14:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (Metric< rw::math::Transform3D< double > >) – the object to take ownership of.


Overload 15:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (Object) – the object to take ownership of.


Overload 16:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (RigidObject) – the object to take ownership of.


Overload 17:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (DeformableObject) – the object to take ownership of.


Overload 18:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (Device) – the object to take ownership of.


Overload 19:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (JointDevice) – the object to take ownership of.


Overload 20:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (CompositeDevice) – the object to take ownership of.


Overload 21:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (SerialDevice) – the object to take ownership of.


Overload 22:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (ParallelDevice) – the object to take ownership of.


Overload 23:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (TreeDevice) – the object to take ownership of.


Overload 24:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (QSampler) – the object to take ownership of.


Overload 25:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (PlannerConstraint) – the object to take ownership of.


Overload 26:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (QNormalizer) – the object to take ownership of.


Overload 27:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (CollisionDetector) – the object to take ownership of.


Overload 28:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (SensorModel) – the object to take ownership of.


Overload 29:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (std::vector< Timed< rw::math::Q >,std::allocator< Timed< rw::math::Q > > >) – the object to take ownership of.


Overload 30:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (Path< rw::math::Transform3D< double > >) – the object to take ownership of.


Overload 31:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (Path< rw::math::Q >) – the object to take ownership of.


Overload 32:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (Path< Timed< rw::math::Q > >) – the object to take ownership of.


Overload 33:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (Path< Timed< State > >) – the object to take ownership of.


Overload 34:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (Blend< double >) – the object to take ownership of.


Overload 35:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (Blend< rw::math::Vector2D< double > >) – the object to take ownership of.


Overload 36:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (Blend< rw::math::Vector3D< double > >) – the object to take ownership of.


Overload 37:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (Blend< rw::math::Rotation3D< double > >) – the object to take ownership of.


Overload 38:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (Blend< rw::math::Transform3D< double > >) – the object to take ownership of.


Overload 39:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (Blend< rw::math::Q >) – the object to take ownership of.


Overload 40:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (Interpolator< double >) – the object to take ownership of.


Overload 41:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (Interpolator< rw::math::Vector2D< double > >) – the object to take ownership of.


Overload 42:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (Interpolator< rw::math::Vector3D< double > >) – the object to take ownership of.


Overload 43:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (Interpolator< rw::math::Rotation3D< double > >) – the object to take ownership of.


Overload 44:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (Interpolator< rw::math::Transform3D< double > >) – the object to take ownership of.


Overload 45:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (Interpolator< rw::math::Q >) – the object to take ownership of.


Overload 46:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (Trajectory< State >) – the object to take ownership of.


Overload 47:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (Trajectory< double >) – the object to take ownership of.


Overload 48:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (Trajectory< rw::math::Vector2D< double > >) – the object to take ownership of.


Overload 49:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (Trajectory< rw::math::Vector3D< double > >) – the object to take ownership of.


Overload 50:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (Trajectory< rw::math::Rotation3D< double > >) – the object to take ownership of.


Overload 51:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (Trajectory< rw::math::Transform3D< double > >) – the object to take ownership of.


Overload 52:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (Trajectory< rw::math::Q >) – the object to take ownership of.


Overload 53:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (Task< rw::math::Transform3D< double > >) – the object to take ownership of.


Overload 54:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (GraspTask) – the object to take ownership of.


Overload 55:

Construct a smart pointer that takes ownership over a raw object ptr.

Parameters

ptr (GraspResult) – the object to take ownership of.