bb-frc-workshops / romi-examples Goto Github PK
View Code? Open in Web Editor NEWAdditional Romi Example Projects
Additional Romi Example Projects
As per https://docs.wpilib.org/en/latest/docs/software/advanced-controls/system-identification/index.html, sysid has changed drastically such that the logs are captured directly in the robot code itself. The offline tool can then be leveraged to analyze these logs. A new example needs to be created and the 2 folders of characterization and sysid need to be deprecated.
Note this will have to include more comprehensive README instructions.
When I tried to change the Units to Meters and then enter in 0.2199115 as the Units per Rotation, I get the following error:
Exception in Tkinter callback
Traceback (most recent call last):
File "c:\python\python39\lib\tkinter_init_.py", line 1892, in call
return self.func(*args)
File "c:\python\python39\lib\site-packages\frc_characterization\logger_analyzer\data_analyzer.py", line 213, in runAnalysis
test_runnersTests(self.test.get())
File "c:\python\python39\lib\site-packages\frc_characterization\logger_analyzer\data_analyzer.py", line 234, in runAnalysisDrive
self.track_width.set(calcTrackWidth(self.stored_data["track-width"]))
File "c:\python\python39\lib\site-packages\frc_characterization\logger_analyzer\data_analyzer.py", line 359, in calcTrackWidth
(self.stored_data["unitsPerRotation"] * initial_units)
TypeError: unsupported operand type(s) for *: 'float' and 'Units'
https://github.com/bb-frc-workshops/romi-examples/tree/main/romi-characterization#step-1
Here, it says to press F5 which is supposed to run simulation. However, the button binding varies from computer to computer. It is much more clear and less error prone to just say to run the robot code in simulation or similar verbage.
I updated to latest version of this frc-characterization code and latest python app 2021.2.2, and I can't seem to get dynamic-forward, dynamic backward or trackwidth to move the robot at all.
Quasistatic forward/backward works just fine, but when I hit Dynamic Forward it drops the connection to network tables.
Any thoughts on where I should look?
Currently the README is in pretty good shape but we should be as descriptive as possible. For example, "Start the SysId data logger. " can be replaced with a screenshot of VS Code with "WPILib: Start Tool -> SysId" in the command palette.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.