Hello all,
KRC4 robots here.
I've developed a Visual C++ application that allows me to give a powerful user interface for the operator (activate specific outputs in an easy way, define variables...).
That VC++ application will run in all the robots of the team, and I would like to be able to send the updated values to all the robots in the team.
i.e.: robot1 gets a variable updated by the operator, robot 2,3 and 4 should receive that value.
i.e.: robot2 gets a variable updated by the operator, robot 1,3 and 4 should receive that value.
First question:
Is there any way to define a variable that is program dependent (so it will belong to the program) but at the same time shared between robots? (all robots will have different programs but with the same variables).
A global variable is not enough as each program must remember the value and get it again after loading the program.
Second question:
If it is not possible to get that... can I establish any kind of method to share data between robots? shared memory areas...
Of course I can make it everything (check for changes, compare and send the value using remotecmd (thanks panic mode), but it would be nice to have it easier...
Thank you all!