# Fanta Challenge - 4 Robots

**URL:** <https://tech-community.robotics.abb.com/t/fanta-challenge-4-robots/7567>\
**Category:** RobotStudio\
**Tags:** multitasking, multimove, coordinated-motion, multimove-fanta-challenge\
**Created:** [February 9, 2017, 9:51pm UTC](https://tech-community.robotics.abb.com/t/fanta-challenge-4-robots/7567 "2017-02-09T21:51:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexRad](https://avatars.discourse-cdn.com/v4/letter/a/a4c791/32.png) [@AlexRad](https://tech-community.robotics.abb.com/u/AlexRad)\
**Post date:** [February 9, 2017, 9:51pm UTC](https://tech-community.robotics.abb.com/t/fanta-challenge-4-robots/7567/1 "2017-02-09T21:51:19Z")

</div>

Hi,

I want to program the Fanta Challenge, but I want to use 4 robots instead of three.

 ![image.png](https://europe1.discourse-cdn.com/flex005/uploads/robotics1/original/2X/3/34bbe5e1d79606b1d7a6ca491c70191cc2aa11c8.png)

The way I set up the sistem is this:

1. Create robtarget Start\_Pos for ROB\_1
2. Define movable workobject attached to ROB\_1
3. Create robtargets for path of ROB\_3 (using the ROB\_1 attached workobject)
4. Define movable workobject attached to ROB\_3
5. Create robtargets for path of ROB\_4 (using the ROB\_3 attached workobject)
6. Repeat process for ROB\_2 (using an attached workobject for ROB\_4)
7. Have each robot follow the same exact path but referencing the its predecessor workobject.

The thing is that I want the robtargets for the paths for ROB\_3/ROB\_4/ROB\_2 to be generated only using the Start\_Pos for ROB\_1 (so I can reuse the code).  
I managed to get all the robtargets defining the paths for each robot using a structure of multi dimensional arrays.

The problem is that it seams “It is not allowed to have chain coordinated frames. Arrange mechanical units so all mechanical units follow one unit”. ANY WAY AROUND THIS??

Defining a movable workobject for ROB\_1/ROB\_3/ROB\_4 and then running the same path in the new workobject seems the simplest way to me.

Is there a way to work around this? Any ideas how to achieve the whole coordinated system using only 1 Start\_Pos (for 1 robot) robtarget? I want the whole system to be parametric so I can only change the Start\_Pos robtarget and all robots would adapt.

Thanks much,

Alex
