diff options
| author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-11-11 22:20:47 +0100 | 
|---|---|---|
| committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-11-11 22:20:47 +0100 | 
| commit | fe7413de47c83020bab5b5b603e446c139497174 (patch) | |
| tree | 4cb10d4021b4df9b047e091425b6a2b100bf0152 /pointcloud.cpp | |
| parent | 5bf73ca209108e2ce8f3919d453050d957212779 (diff) | |
| download | odr-dpd-fe7413de47c83020bab5b5b603e446c139497174.tar.gz odr-dpd-fe7413de47c83020bab5b5b603e446c139497174.tar.bz2 odr-dpd-fe7413de47c83020bab5b5b603e446c139497174.zip | |
Reverse X and Y on plot, add setters for pointcloud gain
Diffstat (limited to 'pointcloud.cpp')
| -rw-r--r-- | pointcloud.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/pointcloud.cpp b/pointcloud.cpp index 7c92d16..d762366 100644 --- a/pointcloud.cpp +++ b/pointcloud.cpp @@ -88,8 +88,8 @@ void PointCloud::push_samples(std::pair<std::vector<complexf>, std::vector<compl          Point p;          // Magnitude is position -        p.x = std::abs(rx[i]) * m_rxgain; -        p.y = std::abs(tx[i]) * m_txgain; +        p.x = std::abs(tx[i]) * m_txgain; +        p.y = std::abs(rx[i]) * m_rxgain;          p.z = 0.0;          double arg_rx = std::arg(rx[i]); | 
