
Gerald
USA
Asked
— Edited

I want to make an exploration project. Basically, one PC will control two ez-robots to search an object, if one robot finds it, it will send confirmation message to the PC, then the PC will send another message to the other robot to stop it.
The key point is how to transfer and receive data wireless.
Does anyone have any ideas to do this?
Or
There could be 2 computers that are networked. When an object is found, it could write a file. The other bot could be looking for a file every x seconds. If it is found it could stop.
Or
You could use a database but this is probably the most complicated solution.
The simplest, if you had to use 2 computers, would be to create a file in a shared location that both ARC apps are looking for.
In this condition, I think the second solution is doable. Can I just open two ARCs and each ARC connects one bot?
And I wander how to build a database using ez-robot, I never heard about it.
Anyway, there isn't DB support in ARC right now. There is cloud support that lets variables to be sent and retrieved from the cloud. It is being put in but I don't know what is happening there. I haven't been keeping up on it.
I would be happy to send you my .net solution and you could make changes as necessary for your needs.
http://www.ez-robot.com/Community/Forum/Thread?threadId=7220
EZ-DBMulti Source Code
Also, just so you know, you can run multiple robots in the same ARC. It doesn't matter if they are the revolution robots or if they are other bots using the v4. It would eliminate the need to use 2 different ARCs and the use of ez-b multi or the file solution.
It keeps it cleaner, easier and less confusing if you only open one discussion for each problem or question
Actually, you don't even need copies installed to different directories, you can run multiple copies of ARC on the same PC each talking to different robots. Some controls may behave strangely. For instance, if both projects have a joystick object, they can both see the same joystick and both robots will respond simultaneously. However, if you have multiple joysticks, you can have each project use their own.
I haven't seen any other objects exhibit that kind of behavior, but I haven't tried all of them. I imagine any that connect to external devices might have the same kind of issue.
Alan
I think the reason that he doesn't want to do this has to do with the say commands always working off of the robot connected to connection 0. I gathered this from the other thread.
Alan
So I want to find a way that's data can transfer to different ARCs or robots.
Sorry about the confusion.