Orit
Israel
Asked
— Edited
Hi!
I would like to control two robot at once, I have few questions:
- 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?
- each one of them has different servo profile, how can i load different profiles at once?
- 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
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.
sorry, I will leave this for someone else to answer. I don't think you can, but I am not sure.
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
hi
here's a tutorial about controlling more then one robot.
more then one robot
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. 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.
Thanks Nomad. To compliment nomad's post, here's more details...
Change the Board that the Auto Position uses. Use this tutorial to help: https://synthiam.com/Community/Tutorials/200/1
You create one servo profile using the Advanced servo Profile editor. See the same tutorial for help: https://synthiam.com/Community/Tutorials/200/1
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.
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
orit
hope to see your interactions whit multiple robots soon.
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.
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!