Hello Everybody,
I want to thank you all for all your replies to my previous messages. I am developing a simulation application to visualize the activities of real bots (Mindtorms robots) in a warehouse.
I will send a list of commands from the GUI to the robot so that it can execute them one after the other.
This is what i want:
Any time the robot is about to execute each command, i want it to send a message to the GUI so that the GUI can update itself that the command is executing.
After it finishes executing the command, it must also send a message to the GUI that it has finished executing that command.
The commands which will be send to the robot can include :
moving pallets, moving from a position to another etc...
1)
I am asking if someone can help me how to go about it. How can i make the robot send a message to the GUI before and after executing each command in the list.
2)
Is there a data structure in Lejos like ArrayList or Vectors that i can fill it with commands and send them to the robot through the Data input and output streams? I learnt the input and output streams accepts only ints,floats and string types and no other objects.
If there isn't any data structure like that, how can i send a bulk of commands to the robot at the same time so that it can execute them one
after the other.
Thanks for your help.
