Skip to content

Commit

Permalink
Phase correction is also applied now in push/pull mode
Browse files Browse the repository at this point in the history
  • Loading branch information
asiermarzo committed Apr 12, 2021
1 parent 1acf7aa commit 8af1c71
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,8 @@ private List<Transducer> getTransducers(){
t2.setAmplitude( t.getAmplitude() );
t1.setPhase( t.getPhase() );
t2.setPhase( t.getPhase() + 1 ); //PI out of phase for the push/pull driving
t1.setPhaseCorrection( t.getPhaseCorrection() );
t2.setPhaseCorrection( t.getPhaseCorrection() );
t1.setDriverPinNumber( t.getDriverPinNumber() * 2);
t2.setDriverPinNumber( t.getDriverPinNumber() * 2 + 1);
t1.setNumber( t1.getDriverPinNumber() );
Expand Down

0 comments on commit 8af1c71

Please sign in to comment.