Israel
Asked — Edited

Control Two Robots

Hi!

I would like to control two robot at once, I have few questions:

  1. I tried to create two autopositioner controllers according to the tutorial, but even though two JDs are connected, both of controllers control the first robot to be connected. I don't understand where is the place the binding between each robot and autopositioner happens?
  2. each one of them has different servo profile, how can i load different profiles at once?
  3. I want to make interaction between them, besides the autopositioner, can i bind other controls to specific robot in the same project?

Thank you, Orit


ARC Pro

Upgrade to ARC Pro

Stay at the forefront of robot programming innovation with ARC Pro, ensuring your robot is always equipped with the latest advancements.

#1  
  1. Any Movement Panel only works on EZ-B "0". I assume you are using the "autoposition with movement" control (might have the name wrong, not sitting in front of ARC right now) if you can't select which bot to move.

  2. sorry, I will leave this for someone else to answer. I don't think you can, but I am not sure.

  3. Most controls, except movement panels and a small number of rarely used controls can be bound to a specific EZ-B connection, as can virtually all scripts commands.

It used to be possible to run two instances of ARC on the same computer at once, but I don't think that can be done anymore without running one of them in a virtual machine. If you want them interacting with each other, that may not be the best solution anyway, although there are several ways to have two ARC instances communicate with each other, either using file read/writes, or MQQT or probably others I am forgetting. The basic principal is to have one instance set a variable that the other sees and reacts to.

Alan

PRO
Synthiam
#3  

You can run as many ARC instances as you'd like. There is nothing stopping you from loading a hundred copies of ARC, other than ram and cpu power:D. Simply click the icon to launch the ARC application from your start or metro menu (depending on windows version). You can load as many copies as you'd like. See the screenshot below where I loaded 6 copies of ARC.

User-inserted image

Thanks Nomad. To compliment nomad's post, here's more details...

Quote:

  1. I tried to create two autopositioner controllers according to the tutorial, but even though two JDs are connected, both of controllers control the first robot to be connected. I don't understand where is the place the binding between each robot and autopositioner happens?

Change the Board that the Auto Position uses. Use this tutorial to help: https://synthiam.com/Community/Tutorials/200/1

Quote:

2. each one of them has different servo profile, how can i load different profiles at once?

You create one servo profile using the Advanced servo Profile editor. See the same tutorial for help: https://synthiam.com/Community/Tutorials/200/1

Quote:

3. I want to make interaction between them, besides the autopositioner, can i bind other controls to specific robot in the same project?

All controls allow you to specify the board or servo board that it controls. For example, take a look at this servo control tutorial which shows how to connect the EZ-B Board Index for the servo: https://synthiam.com/Community/Tutorials/49?courseId=1

You can either have multiple ARC instances or you can script the program in one instance. Personally, I would use one instance of ARC - but that also depends on the requirements. Get creative and try a few things out.

#4  

Quote:

You can run as many ARC instances as you'd like. There is nothing stopping you from loading a hundred copies of ARC, other than ram and cpu power Grin

Good to know. I wasn't in a position to test, and I thought I remembered a discussion about it a year or two ago. Guess I miss-recalled.

Alan

PRO
Belgium
#5  

orit

hope to see your interactions whit multiple robots soon.

PRO
Synthiam
#6  

alan - it's most likely a conversation where i mentioned that i prefer to use one instance of ARC for multiple robots than have multiple instances of ARC per robot.

PRO
USA
#7  

This has been very informative. And thanks DJ for the lesson on how to set that up. I like the idea of demoing Alan and Alena on a single PC, by using either method (Multi ARCs or set up or the multi connections single ARC). Something i have not done in the past, and now makes for an easier lighter travel!