Add localization simulation tools#12
Merged
Merged
Conversation
ofdm package utility for easily calculating the delays for localization
refactor procssing functionality that lives in scripts like unpack_rx.py into the ofdm package
…t files for localization scripts
Add a script that runs through file structure generated by the collect_raw_data.py script. Saves the unpacked delay and perforamnce metric data in csv files in their respective directories.
add a script to read through the csvs that contain the delay data unpacked from the process_experiemnt.py script. This script does the localization calculation and plots the results
This function is used to process all of the runs (.dat) files from the raw data collection scripts. Saves them in .csvs in the same dir.
Limits the calculation and plotting of monte carlo simulatiosn to a x and y bounds to help with performance
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds simulation tools for localizaitons including a monte carlo simulation calculator and refactors the localization experiment data unpacking
What changed
scripts/experiment_scripts/process_experiment.pyAdds scripts to automate the process of unpacking the raw data collected by the
collect_data.pyscripts.scripts/localization/multilateration.pyThis script is the overhaul of the legacy
trilateration.pyscript. Is configured to work with the csv structure from theprocess_experiemnt.pyscript. Additionally uses the new plotting methods.scripts/simulation/heatmap.pyUses the monte_carlo calculation script to generate a heatmap of the RMSE of all possible TX locations.
scripts/simulation/monte_carlo.pyScript for performing monte carlo simluation on TdoA multilationeration.
src/ofdm/modulation/qam.pyMoves
binary_ref_to_iq()to the modulation.qam module.src/ofdm/processing/pipeline.pyAdds a new module in the ofdm package to handle generic data processing. This module will hold a lot of the functionality which used to be in individual scripts.
src/ofdm/viz/sim_plotter.pyAdd a universal function for doing localization plotitng.