How aho0526/rowpilot works
RowPilot is an iOS rowing-training app for athletes, coaches, and boat technicians. Its primary workflow records on-water or erg workouts, presents and saves workout data, then supports review and sharing. Separate capabilities cover multi-PM5 team sessions, rigging, environmental conditions, safety, and subscriptions. Relationships below use README statements and the supplied SOURCE INDEX; several feature implementations were not excerpted, so those links are documented rather than inferred from unsampled code.
Main entry points: HomeView.swift Home dashboard · RecordManager.swift Record management · PracticeView.swift Water workout · PM5ManagerViewModel.swift PM5 control and metrics
Components 25
App experience
- App entry
App/RowPilotApp.swift - Home dashboard
Views/Components/HomeView.swift
Training and records
- Water workout
Views/PracticeView.swift - Motion sensing
ViewModels/MotionManager.swift - GPS tracking
ViewModels/LocationManager.swift - Personal erg
ViewModels/RowErgManager.swift - Workout records
Models/RowingRecord.swift - Record management
ViewModels/RecordManager.swift - Workout sharing
Utilities/WorkoutShareManager.swift
Team erg
- Manager dashboard
Views/ManagerWorkoutDashboardView.swift - Team workout setup
Views/ManagerWorkoutSetupView.swift - PM5 control and metrics
ViewModels/PM5ManagerViewModel.swift - Race view
Views/ManagerRaceView.swift
Rigging and conditions
- Rigging management
Views/RiggingManagerView.swift - Rigging configuration
Models/RiggingConfig.swift - Rigging diagrams
Views/Components/BoatRiggingDiagramView.swift - Tide information
ViewModels/TideManager.swift - Weather information
ViewModels/WeatherManager.swift - Emergency SOS
Views/SOSOverlayView.swift
Persistence and services
- Core Data persistence
Utilities/Persistence.swift - iCloud workout sync
Utilities/ICloudSyncManager.swift - Plans and access
Models/SubscriptionManager.swift
Other components
- Rower or coach
- Concept2 PM5
- GPS and weather services
Connections 28
- Rower or coach → App entry: opens
- App entry → Home dashboard: shows
App/RowPilotApp.swift - Home dashboard → Water workout: starts workout
- Water workout → Motion sensing: reads motion
- Water workout → GPS tracking: tracks route
- Water workout → Record management: saves workout
- Personal erg → Record management: records metrics
- Record management → Workout records: creates records
ViewModels/RecordManager.swift - Record management → Core Data persistence: persists records
- Home dashboard → Record management: browses records
Views/Components/HomeView.swift - Record management → iCloud workout sync: syncs records
Utilities/ICloudSyncManager.swift - Record management → Workout sharing: shares records
Utilities/WorkoutShareManager.swift - Home dashboard → Team workout setup: configures team
- Team workout setup → PM5 control and metrics: sends workouts
Views/ManagerWorkoutSetupView.swift - PM5 control and metrics → Concept2 PM5: controls Bluetooth
- Manager dashboard → PM5 control and metrics: displays metrics
Views/ManagerWorkoutDashboardView.swift - Manager dashboard → Race view: opens race view
Views/ManagerWorkoutDashboardView.swift - PM5 control and metrics → Record management: saves session
ViewModels/PM5ManagerViewModel.swift - Home dashboard → Rigging management: opens rigging
Views/Components/HomeView.swift - Rigging management → Rigging configuration: manages setup
Views/RiggingManagerView.swift - Rigging management → Rigging diagrams: renders diagrams
- Home dashboard → Tide information: shows tides
Views/Components/HomeView.swift - Home dashboard → Weather information: shows weather
Views/Components/HomeView.swift - Tide information → GPS and weather services: uses location
- Weather information → GPS and weather services: fetches conditions
- Water workout → Emergency SOS: offers SOS
- Home dashboard → Plans and access: manages access
- Manager dashboard → Workout sharing: starts sharing
Views/ManagerWorkoutDashboardView.swift