pWaveFront->SetClusteringPose(m_v3ClusteringDirectionPos,m_pClusteringDirectionReceiver->predView,m_pClusteringDirectionReceiver->predUp);//WARNING: THIS WAS CHANGED FROM PREVIOUS LINE
@@ -82,6 +84,7 @@ void CVABinauralOutdoorWaveFront::GetOutput( ITASampleBuffer* pfLeftChannel, ITA
inttoaClusterLeft=(int)round(sound_receiver->pTimeOfArrivalEstimator->getTOALeft(clusterMetrics.phi,clusterMetrics.theta));//the TOA difference for a signal coming from the specified angles for the left ear
inttoaClusterRight=(int)round(sound_receiver->pTimeOfArrivalEstimator->getTOARight(clusterMetrics.phi,clusterMetrics.theta));//TODO: test if this works/ how accurate
VARelationMetricspathMetrics;//get metrics about the current path
pathMetrics.calc(v3PredictedPos,m_v3PredictedClusteringView,m_v3PredictedClusteringUp,v3ReceiverPos);//TODO: add these variables in setMotion NOTE: uses same view and up vectors as for cluster, I THINK this is ok
inttoaPathLeft=(int)round(sound_receiver->pTimeOfArrivalEstimator->getTOALeft(pathMetrics.phi,pathMetrics.theta));//the TOA difference for a signal coming from the specified angles for the left ear
...
...
@@ -91,6 +94,11 @@ void CVABinauralOutdoorWaveFront::GetOutput( ITASampleBuffer* pfLeftChannel, ITA