Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DevilLib path visualizer spreadsheet

the jank visualizer setup

Prerequisites:

  • Libreoffice Calc (excel might work but I don't want to bother)
  • g++ cpp compiler (install using MSYS2 if on windows)

Usage:

  • Write an auto path in autonomous/whateverAutoYouWant.hpp, current supported functions are .jumpTo, .rotateTo, .rotate, and .driveToHolonomic. If copy-pasting code from an actual auto, the "->startSync()" commands and all other functions for subsystems must be removed for it to compile. Call autobuilder.dump() at the very end to write the paths to the poses.csv file.
  • To update poses.csv, run "run.bat". To view the path (the entire point of all this), open SplineSheet.ods in Libreoffice Calc and click "Allow updating" if you get a security warning banner. The data should update and pull from poses.csv every 3 seconds; if not, do edit->links to external files->update. You may also have to change the path of the poses.csv file by clicking "modify" in that menu.
  • Note: for long autos, you may have to change the data range in the graphs to display it all, it's currently set to 1000 rows of data (each path driving command is 100 data points).

About

scuffed path visualizer for DevilLib created to understand why swerve was being wierd

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages