Place footbot at random circle location
Posted: Mon May 01, 2017 6:27 pm
I want to place my footbots at a random location along the perimeter of a circle with arbitrary radius, with orientation facing towards the circle's center. Placement should check for collision and attempt to replace (like the built in distribution methods).
Is there a canonical way to place footbots in this manner? Ideas:
1. Optimally, there'd be a way to specify a custom distribution scheme and use that in the experiment file.
2. Otherwise, I'm fine with the loop function explicitly teleporting the robots during the Init() function.
I've been trying to do method (2), but so far have been unable to figure out how to explicitly set the footbot bodies.
Thank you,
John
Is there a canonical way to place footbots in this manner? Ideas:
1. Optimally, there'd be a way to specify a custom distribution scheme and use that in the experiment file.
2. Otherwise, I'm fine with the loop function explicitly teleporting the robots during the Init() function.
I've been trying to do method (2), but so far have been unable to figure out how to explicitly set the footbot bodies.
Thank you,
John