mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Quite a few functions aren't wrapped, but the most critical ones for vision should be. This also fixes a couple of issues: - nivision_arm.ini (and imaqdx_arm.ini) are now generated without need for running the output on the RoboRIO. - enum values are generated even if the value is not directly specified.
15 lines
308 B
Python
15 lines
308 B
Python
from __future__ import print_function
|
|
import sys
|
|
|
|
def main():
|
|
for line in sys.stdin:
|
|
line = line.strip()
|
|
if not line.startswith("#STRUCT_SIZER"):
|
|
continue
|
|
line = line[14:]
|
|
line = line.replace("#", "")
|
|
print(line)
|
|
|
|
if __name__ == "__main__":
|
|
main()
|