loading
 
two boxes around two different coloured balls
CJ Wisse from Australia  [6 posts]
13 year
hi there

i would like to have two different boxes around two different coloured balls so i would like a box around a red ball and another box around a blue ball i am using the center of gravity at the moment but it only allows one box on screen how can i add more than one box thank you in advance
Anonymous 13 year
Hi CJ,

You can use the Geometric_Stats module to create the needed parameters. The COG just performs this for the entire image as it does not require a continuous connected blob in order to work correctly. The Geo_Stats can create the COG for each individual connected blob.

See example image and attached robofile. Please include an image with any further posts so that we can better see what you are working with.

Please ensure that you have the latest version of RR for this to work.

STeven.


 

program.robo

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index