User Tools

Site Tools


training:software:data_logging

Data Logging

If we want to look at robot data after we are done with a test or competition match, we need to save the data into a file that can be retrieved later. The WPILib DataLogManager class allows us to capture the data to file with very little effort. In most cases all we need to do is start the data logging during initialization - any data already being published to network tables will then also be captured in the log file. We can also tell the DriverStation to log Joystick data for the operator controllers.

References:
WPILib On-Robot Telemetry Recording Into Data Logs
https://docs.wpilib.org/en/stable/docs/software/telemetry/datalog.html

Discussion

Enter your comment:
E​ V S Y J
 
training/software/data_logging.txt · Last modified: by Jay Tarbotton

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki