Hi,

I am using the PyrobotSimulator to simulate two Pioneer robots and four
tkPucks. I have written a brain for both robots to find the pucks and
bring them to a corner in the environment where I have put a light. My
question is the following: Is there a way get a puck to move to a random
position in the environment as soon as one of the robots delivers it to
the corner? Currently I can achieve this by clicking on the desired puck
and than dragging it to a place in the environment. Presumably to
automate this process I have add some code to each brain that will give
it access to the list of robots in the simulator (pucks are types of
robots I think) than find the coordinates of the puck (from the
coordinates of the robot that dropped it off) and then setPose it to a
random place. Am I on the right track? 

If anyone has done anything similar or has any suggestion please let me
know.
Thanks for the help.
Aleksandr
_______________________________________________
Pyro-users mailing list
[email protected]
http://emergent.brynmawr.edu/mailman/listinfo/pyro-users

Reply via email to