Introducing PROS Sensors Setup Wizard (PSSW)
PSSW is a plugin for eclipse (PROS) that provides GUI through which you input your sensor configuration and it then generates the necessary initialization code for you and inserts it into the necessary files of your selected project.
How to use PSSW
-
Right click on the project for which you want to configure sensors and select VEX>Configure Sensors
[attachment:56ad1a45f3061] -
Select the types of sensors you are using
[attachment:56ad1a462fc35] -
Enter the necessary information for each sensor type
[attachment:56ad1a46d6d69] -
Click finish and presto! The wizard adds the initialization code to init.c and main.h as required.
[attachment:56ad1a46ea4d5]
Installing PSSW
If you are running the latest version of pros (post January 2016 update) You can select help>Install new software within pros and enter the update site: https://raw.githubusercontent.com/Highway-Man/PROS-Sensors-Setup-Wizard/developmental/update-site/site.xml, which will then guide you through the installation
OR
With any version you can download the plugin and extract the jar to the pros dropins (or plugins if dropins doesn’t work) folder (eg C:\Program Files\PROS\dropins)
OR
You can simply run the installer which will extract the plugin for you. You will still have to tell it where PROS is installed at if you didn’t use the default location.
Enjoy
Feel free to post any comments, feedback, questions, or complaints!
There is a known issue where going back multiple pages in the wizard will cause later pages to disappear, so try to avoid going backwards if you still need to edit later pages. If it gets messed up, you can always just cancel and start over.
If anyone actually feels so inclined they could fix that issue as all the code is available on github, and feel free to tell me how stupidly I set up the pages :). If people are actually interested in this project I’m sure I’ll get around to fixing it eventually.