Getting started
The data visualizer is built for quick debugging when coding or tuning atonomus paths
Retreving data
- Use the PROS termimal via pros mut or pros t to establish terminal connection while the controller is plugged into a laptop
- Start an autonomus run via either timed run or autonomus skills on the controller
- Data should print to the PROS terminal, including: X and Y position, heading, and IMU data (Represented by MU1/MU2/etc)
- When the program is done, or if it needs to be stopped, simply hold the power button on the controller, this will pause the data prints to the terminal
Main use case
The data visuals tool was designed to try and reduce inconsitancies when tuning autonomus programs. It will help expose if the robot thinks it is in the correct position when in reality it is not, meaning that there might be issues with the localiztion system (Odom, DSR, etc). It can also revieal code errors, such as the robot knowing that it is off, and still attemping to make it right, possibly meaning that timeouts or tolerances need to be tuned.
Loading data
- Simply copy the code out of the PROS terminal and paste it into tool
- The past 5 runs are stored LOCALLY on your browser, with the oldest being automatically deleted once the 5 runs is full
- We reccomend keeping a backup of important runs on external sites, such as a channel in your team discord. (Logs can be put in a text file to be uploaded to discord)
Other controls
Robot sizeInput robot size in inches to better debug the dataPosition/HeadingExtact data for easy referance from the current data pointMatch/Skillsswitch between field backgroundsWarningsWarnings will appear in a box at the top for multiple reasons: Motor temperature and IMU drift. Motor temp is warned if the motors ar over 40 degrees, IMU drift is warned if any IMU's read over 10 degrees, it will also highlight the line(s) that contain errors