loading
 
Angle between two blobs
Anonymous from Greece  [3 posts]
12 year
I had some progress but only by "voodoo programing"
I used the Blob_replace module and got the CROSSHAIR_COORDINATES for the two blobs. I was able to draw a line between the two crosshairs but I still don't get how that worked!
I used the "Display line(s)" module and selected as the Data Source: Variable
X Start = CROSSHAIR_COORDINATES
Y Start = CROSSHAIR_COORDINATES(1)
X End = 0
Y End = 0
It works but I don't get the logic in it.
I haven't managed to get the angle of this line.


program.robo
Anonymous 12 year
Answered in this thread

http://www.roborealm.com/forum/index.php?thread_id=4363#

STeven.

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