How jath-alison/jathlib works
Main Components
a) Core Library Components (Central Layer):
• Drive System Management
• Motion Control
• Sensor Integration
• Math Utilities
b) Drive System Types (Connected Modules):
• TankDrive
• XDrive (Mecanum)
• HDrive
• AsteriskDrive
c) Tracking/Odometry Layer:
• GPSTracker
• TTracker
d) Path Planning & Automation:
• Path Management
• Macro System
• PID Controllers
• To tracking and drive systems
Specific Implementation Details
Create sub-sections within components showing:
• Interface classes (Drive.h, Tracker.h)
• Concrete implementations (TankDrive.h, GPSTracker.h)
• Utility classes (Vector2.h, Point.h)
External Integration
Integration points with:
• VEX V5 Hardware
• XML Configuration (tinyxml2)
• Logging System (CSV output)
Design Patterns to Highlight
• Strategy Pattern: For different drive systems
• Observer Pattern: For sensor tracking
• Factory Pattern: For drive system creation
• Template Method: For drive system behaviors
Additional Elements
• Configuration Management (deviceConfig.h)
• Math Utilities (MathUtils.h)
• Custom Controller Interface
• Logging System
[Hardware Integration Layer]
• ↕
[Core Library Layer]
• ↕
[Drive Systems Layer]
• ↕
[Tracking/Odometry Layer]
• ↕
[Motion Planning Layer]
• ↕
[Utility Layer]