# Linear Movement

**URL:** <https://tech-community.robotics.abb.com/t/linear-movement/5427>\
**Category:** UpFeed\
**Created:** [March 14, 2013, 12:25pm UTC](https://tech-community.robotics.abb.com/t/linear-movement/5427 "2013-03-14T12:25:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![abyss](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@abyss](https://tech-community.robotics.abb.com/u/abyss)\
**Post date:** [March 14, 2013, 12:25pm UTC](https://tech-community.robotics.abb.com/t/linear-movement/5427/1 "2013-03-14T12:25:30Z")

</div>

Hi,

I have been trying to create Smart\_Component which can move multiple objects at the same time or one after another. Is there any way to do it? Queue component is not really working that well. I am adding objects to queue, then i move, for example 5 objects, after i have done it i have 0 objects in Queue because i have to Dequeue, to access next object. Then i move away 1 object with robot, and create new at the end of the queue, but even then i got only 1 object. Only way i can again fill the queue is to do it manually by setting Back object and enqueue it. If i want to do it automatically, then its not working. is there any way how can i access array of objects not actually removeing them from array?

I hope i made my idea clear enough :).

Any help will be appreciate, Best Regards

---

<div class="post-metadata">

**Author:** ![Anders\_S](https://avatars.discourse-cdn.com/v4/letter/a/ce7236/32.png) [@Anders\_S](https://tech-community.robotics.abb.com/u/Anders_S)\
**Post date:** [March 20, 2013, 8:36am UTC](https://tech-community.robotics.abb.com/t/linear-movement/5427/2 "2013-03-20T08:36:58Z")

</div>

Hi,  
Instead of the queue you can add the objects you should move together into a “Component Group”. To do that you should use the base Component “SetParent”.  
In the Pack&Go “RandomSource demo statio” I have put on RobotApps-Pack & Go, I do this to move objects on an out feeder.

---

<div class="post-metadata">

**Author:** ![Jordyboy1992](https://avatars.discourse-cdn.com/v4/letter/j/858c86/32.png) [@Jordyboy1992](https://tech-community.robotics.abb.com/u/Jordyboy1992)\
**Post date:** [May 5, 2022, 3:04pm UTC](https://tech-community.robotics.abb.com/t/linear-movement/5427/3 "2022-05-05T15:04:29Z")

</div>

Hi I am Having this exact issue. Could you send me the pack and Go so can see how to use the “SetParent” component? Thank you
