0
Answered

Stop MU on conveyor by stopper

Andreas F 1 month ago in realvirtual.io Starter and Professional updated by Preliy 2 days ago 11

How can I prevent a jumping MU on a (guided) conveyor?

For this I used the invisible conveyor system from your demo project "Guided Transport".

The MU stops at the stopper but starts jumping up and down immediatetly. 

Is there an easy way to prevent this? 


I played around with the Rigidbody parameters and realised it stops if I activate "Is Kinematic". I guess I could do this by writing a scripts that activates this parameter at collision with transport layer.

Image 1118

Answer

Answer
Answered

Hallo,

anbei die Antworten zu Ihren Fragen:


Im Umlaufsystem stapeln sich die WTs ab einer Staulänger von 4 Wts. Wie kann ich das verhindern?
Bitte verwenden Sie ausschließlich guided Transport. Die Kombination aus normaler Transportsurface und guided Transport wird nicht funktionieren.


Wie kann ich ein "Transport Guided (Script)" unterbrechen (durch zB einen Heber) und danach wieder fortführen?
Hier gibt eine Umsetzung in der Demoszene zum guidedTransport, welche als Vorlage genutzt werden kann. (realvirtual/Scenes/DemoGuidedTransport)

Wie kann ich eine "Guideline" bei einem Transportsystem mit zwei "Transport Surfaces" einfügen?
Ein System wie in ihrem Beispiel wird immer nur mit einer Transportsurface umgesetzt, damit kann einfach eine Guideline ergänzt werden. Unity betrachtet immer nur eine "Collision".


Unter main/realvirtual/ui/button1 wird ein image verwendet. Wo finde ich die Datei?
Button-GameObject in der Hierarchie auswählen und im Inspector auf das definierte Bild klicken. Es wird dann im Projekt angezeigt.

Roboter bewegen sich zu bestimmten Positionen deutlich langsamer. Warum ist das so?
Die Bewegung richtet sich nach der langsamsten Achse.


Grüße Christin

  • How can I prevent WTs from stacking up after a queue length of 4 WTs in the circulation system?

    Use only guided transport. Combining normal transport surfaces with guided transport will not work.

  • How can I interrupt a "Transport Guided (Script)" (e.g., by a lift) and then resume it?

    There is an implementation in the demo scene for guided transport that can be used as a template. (realvirtual/Scenes/DemoGuidedTransport)

  • How can I add a "Guideline" to a transport system with two "Transport Surfaces"?

    A system like the one in your example is always implemented with a single transport surface, allowing an easy addition of a guideline. Unity only considers one "Collision".

  • Where can I find the file used for the image under main/realvirtual/ui/button1?

    Select the Button-GameObject in the hierarchy and click on the defined image in the Inspector. It will then be displayed in the project.

  • Why do robots move significantly slower to certain positions?

    The movement speed is determined by the slowest axis.

  • Regards Christin


    GOOD, I'M SATISFIED

    I didn't find the solution for my second question in the demo "DemoGuidedTransport". 

    I'm using only TransportGuided (Script) instead of mixing it up but if I lift the MU in front of the stopper then the MU is shaking/jumping on the lifter. Even if the Drive is stopped. 

    If I change the property "Raycast Length" of "Guided MU (Script)" to 0.1 then it works better but after lowering the lifter again the MU doesn't get moved by the transport system anymore. 

    The "configurable joint" component of the MU gets destroyed during lifting and doesn't get created after lowering back on the transportsystem in this case.


    Any advice would be greatly appreciated.

    Satisfaction mark by Andreas F 4 days ago

    As can be seen in the illustration, the part jumps onto the stopper because the stopper pushes the part upwards and at the same time the rigid body joint tries to keep the part on the projected line on the conveyor surface. 


    To avoid this, the stopper should collide with the side edge of the workpiece and act as a barrier to movement along the motion axis. In more specialized applications, the collision stopper and the collision part should be placed on separate layer in the collision matrix.

    With kind regards, Viktor

    Image 1119


    Thank you for you reply, Viktor.

    Your video shows exactly what I am trying to achieve.

    It works with only one MU on the conveyor but with several MUs in a row they're starting to jump around on each other when blocked by the stopper. 

    Image 1120

    The stopper is on layer rvTransport and the MUs on layer rvMU.

    Did you change "Box Collider" or "Rigidbody" properties in your example?

    Under review

    Maybe you should check  the collider on your MUs. Is it a box collider. Maybe making it bigger (in height) might help.

    I just realised your reply, thank you.

    Adjusting the height did help a bit but if there are a lot of MUs in a line, they are still jumping on each other.

    Can you upload your model to https://realvirtual.io/send and we will check?

    Sure, thank you very much. I just uploaded my model.

    Answer
    Answered

    Hallo,

    anbei die Antworten zu Ihren Fragen:


    Im Umlaufsystem stapeln sich die WTs ab einer Staulänger von 4 Wts. Wie kann ich das verhindern?
    Bitte verwenden Sie ausschließlich guided Transport. Die Kombination aus normaler Transportsurface und guided Transport wird nicht funktionieren.


    Wie kann ich ein "Transport Guided (Script)" unterbrechen (durch zB einen Heber) und danach wieder fortführen?
    Hier gibt eine Umsetzung in der Demoszene zum guidedTransport, welche als Vorlage genutzt werden kann. (realvirtual/Scenes/DemoGuidedTransport)

    Wie kann ich eine "Guideline" bei einem Transportsystem mit zwei "Transport Surfaces" einfügen?
    Ein System wie in ihrem Beispiel wird immer nur mit einer Transportsurface umgesetzt, damit kann einfach eine Guideline ergänzt werden. Unity betrachtet immer nur eine "Collision".


    Unter main/realvirtual/ui/button1 wird ein image verwendet. Wo finde ich die Datei?
    Button-GameObject in der Hierarchie auswählen und im Inspector auf das definierte Bild klicken. Es wird dann im Projekt angezeigt.

    Roboter bewegen sich zu bestimmten Positionen deutlich langsamer. Warum ist das so?
    Die Bewegung richtet sich nach der langsamsten Achse.


    Grüße Christin

  • How can I prevent WTs from stacking up after a queue length of 4 WTs in the circulation system?

    Use only guided transport. Combining normal transport surfaces with guided transport will not work.

  • How can I interrupt a "Transport Guided (Script)" (e.g., by a lift) and then resume it?

    There is an implementation in the demo scene for guided transport that can be used as a template. (realvirtual/Scenes/DemoGuidedTransport)

  • How can I add a "Guideline" to a transport system with two "Transport Surfaces"?

    A system like the one in your example is always implemented with a single transport surface, allowing an easy addition of a guideline. Unity only considers one "Collision".

  • Where can I find the file used for the image under main/realvirtual/ui/button1?

    Select the Button-GameObject in the hierarchy and click on the defined image in the Inspector. It will then be displayed in the project.

  • Why do robots move significantly slower to certain positions?

    The movement speed is determined by the slowest axis.

  • Regards Christin


    I didn't find the solution for my second question in the demo "DemoGuidedTransport".

    I changed it to only TransportGuided (Script) instead of mixing it up but if I lift the MU in front of the stopper then the MU is shaking/jumping on the lifter. Even if the Drive is stopped.

    If I change the property "Raycast Length" of "Guided MU (Script)" to 0.1 then it works better but after lowering the lifter again the MU doesn't get moved by the transport system anymore.

    The "configurable joint" component of the MU gets destroyed during lifting and doesn't get created after lowering back on the transportsystem in this case.

    Any advice would be greatly appreciated.

    Hello Andreas,

    I have a few points that may also help:
    1. Distance between both Rigidbodies in Configurable Joint should be almost zero. Therefore, please check if Part Transform is on the conveyor surface, as in the picture below. 

    Image 1138

    2. For movements with parts such as lifts, I use a reperenting practice. When lift surface collides with part, part is placed as a child of lift. When collider exits part is moved back to pull.

    Image 1139


    If you can't find a solution, you can contact me at buktop2402@gmail.com

    Hello, in this example Box collider and Rigidbody have the default settings. Box collider is not trigger and Rigidbody is not Kinematic. I am not sure how the Guided Transport works now in current version. Please contact the development team directly.

    That's the same what I did.

    I couldn't make it work with WP lifters and stoppers and using the "Guided Transport (Script)". 

    I made a work-around with "Transport Surfaces (Script)" and a little own script for alligning the WPs when lifted.

    Anyway thank you for your help.