EW309 Turret Simulation for Spring 2020 Coronavirus shutdown
L Devries, D Evangelista, M Kutzer, and T Severson
This material is for simulating the autoturret used in EW309 at the US Naval Academy, since during a coronavirus shutdown the midshipmen will not have access to the turret rigs. The code includes simulations of ballistics; camera inputs from the turret for student machine vision code use; and an integrated simulation code for testing what would have been final system integration.
Github notes
For faculty editing the files, to avoid conflcts, it's best to work on a specific item or module (or even us a separate branch). After you are happy with your revisions, add them, then commit, then push changes:
git add my-changed-file.m
git commit -m "I changed my-changed-file.m add a spinning turret using hgtransform"
git push
If using Windows git GUI tools, do XYZ.
For others, including midshipmen cloning the files:
git clone https://github.com/usna-ew309/corona.git
If using Windows git GUI tools, do XYZ.
To pull the most recent version:
git pull
Dependencies and prerequisties
To use these routines, your Matlab will need the following somewhere in its PATH:
- [https://github.com/kutzer/PlottingToolbox ]
simulateImage.m
(needs to be updated to replaceprint
&imread
withgetframe
)plotCameraFOV.m
- [https://github.com/kutzer/WRC_MATLABCameraSupport ]
drawDFKCam.m
(we should make adrawPicoICubieCam
)
Ballistics simulation
Turret view simulation
Control simulation
Integrated simulation
Contributors
L Devries, D Evangelista, M Kutzer, CAPT T Severson
Thanks to
The Academy