Skip to content

Commit

Permalink
people tracking demo issue found.
Browse files Browse the repository at this point in the history
During last refactor round, forgot to progagate a change to the usage of aoa_capon.
  • Loading branch information
edwin-pan committed Mar 17, 2020
1 parent 0c199e5 commit 93557dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo/people_tracking/people_tracking.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@
# Note that when replacing with generic doppler estimation functions, radarCube is interleaved and
# has doppler at the last dimension.
for i in range(BINS_PROCESSED):
range_azimuth[:,i], beamWeights[:,i] = dsp.aoa_capon(steering_vec, radar_cube[:, :, i].T)
range_azimuth[:,i], beamWeights[:,i] = dsp.aoa_capon(radar_cube[:, :, i].T, steering_vec)
range_azimuth = np.abs(range_azimuth)

""" 3 (Object Detection) """
heatmap_log = np.log2(range_azimuth)

Expand Down

0 comments on commit 93557dd

Please sign in to comment.