introlab / odas

ODAS: Open embeddeD Audition System
MIT License
780 stars 248 forks source link

Matrix creator project #107

Closed magic-dave closed 6 years ago

magic-dave commented 6 years ago

Good afternoon,

The matrix creator demo works exactly as required, but I am trying to extract the raw angle prediction. I cannot seem to find where you are providing or calculating the direction of approach data.

Any advice you have on how I can get this data would be greatly appreciated.

Thank you, Dave

jake266637 commented 5 years ago

Did you end up finding a solution?

magic-dave commented 5 years ago

Good morning,

Yes, this ticket can be closed. I had forgotten about this.

Thank you,

Dave


From: jake266637 notifications@github.com Sent: Thursday, November 22, 2018 10:54:58 AM To: introlab/odas Cc: David Docherty; State change Subject: Re: [introlab/odas] Matrix creator project (#107)

Did you end up finding a solution?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/introlab/odas/issues/107#issuecomment-440974821, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AlRwNHpOS5mmovUvYkq_Rco7XxoVAKD9ks5uxnRygaJpZM4V6rMT.

jake266637 commented 5 years ago

What was the solution?

magic-dave commented 5 years ago

The angle is determined in increase_pots() using the X and Y coordinates of the sound source. It is in a variable called angle_xy - you can assign the value to a variable that is accessible anywhere. I had a variable called holder that was used to carry the angle data from the increase_pots() function elsewhere using ROS.

jake266637 commented 5 years ago

Oh great thanks