Skip to content

Make IO Error#2

Merged
legoguy1000 merged 21 commits intomainfrom
gen_io
Jan 29, 2024
Merged

Make IO Error#2
legoguy1000 merged 21 commits intomainfrom
gen_io

Conversation

@wilsonwatson
Copy link
Copy Markdown
Member

Quite a few changes:

  1. Finding IO no longer warns, it errors.
  2. IO Types have been separated out into an auto-generated Java source file.
  3. Auto-generation of source files given a config.json and a vendordeps directory containing vendordeps to treat completely as IO.

Some remaining issues:

  1. PhotonVision IO types cannot be autogenerated this way (for some reason the jar archive doesnt have an end header).
  2. We might need to fiddle with config.json until it excludes math types from vendordep IO. For instance, I had to put in all of CTREs ControlRequest variants, since they are safe (I think) to be outside IO. Similarly, we might deem something like com.kauailabs.navx.frc.Quaternion to be safe.

But for now, 2024 builds (locally at least) with these changes.

@legoguy1000 legoguy1000 merged commit 12d309d into main Jan 29, 2024
@legoguy1000 legoguy1000 deleted the gen_io branch January 29, 2024 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants