Can the orientation of a source be set variably?

I am working on a palletising simulation ( with an IRB6640) in which the object sinks and then respawns just before it is placed on the pallet. To make the object respawn, I use a source block (smart component). Is it possible to make the orientation in that source block variable? So that the object can always obtain the orientation of the gripper. 

Answers

  • mandolas
    mandolas
    edited November 6
    Hi...

    I didn't quite understand... but...

    In a simulation, the more realistic your "frames" are, the better your results will be.
    I suggest that the object to be created be on a stationary base. With the robot, use the "Attacher" component to attach the object to its gripper, positioned on the "Detacher" pallet, so when you detach the object it will have the same orientation as the gripper, therefore different orientations for the object.
    I don't know of a way to make the orientation variable.
    Without seeing the application, it's difficult to offer other suggestions.

    Good Job

  • Yes, you need to find a way to get the target orientation you want to use, make it a Vector3 type and then connect it to the property 'Orientation' of the source block.

    If the orientation of the gripper means the orientation of gripper TCP, you can use default SmartComponent 'RapidVariable' to get it.