How agopengps-official/aog-taskcontroller works
AOG-TaskController bridges AgOpenGPS UDP control traffic to an ISOBUS Task Controller on a CAN network, then returns implement section status to AgOpenGPS. The application also provides a Virtual Terminal interface, optional Tractor ECU and NMEA2000 messaging, and persistent configuration. The map emphasizes those product capabilities; source excerpts are partial, so uncertain internal callback wiring is not expanded.
Main entry points: app.cpp Application · task_controller.cpp Task Controller · udp_connections.cpp UDP protocol · main.cpp Process entry
Components 18
Application runtime
- Process entry
src/main.cpp - Application
src/app.cpp - UDP protocol
src/udp_connections.cpp
Section control
- Task Controller
src/task_controller.cpp - Object pool
resources/AOG_TC.iop
Terminal and tractor
- VT client and UI
src/app.cpp - NMEA2000 messaging
src/app.cpp
Configuration and diagnostics
- Settings
src/settings.cpp - Async logging
src/async_log.cpp - Crash diagnostics
src/crash_handler.cpp
Other components
- AgOpenGPS
- Settings file
- CAN network
- CAN adapter
- ISOBUS implement
- Virtual Terminal
- Tractor ECU
- Log files
Connections 22
- Process entry → Application: runs
- Application → Settings: loads configuration
- Settings → Settings file: reads and writes
- Application → UDP protocol: sets up
- AgOpenGPS → UDP protocol: sends packets
- UDP protocol → AgOpenGPS: broadcasts packets
- Application → Task Controller: sets up
- Application → CAN network: initializes
- CAN adapter → CAN network: connects
- Task Controller → Object pool: uses
- Task Controller → CAN network: exchanges ISOBUS data
- ISOBUS implement → CAN network: exchanges ISOBUS data
- Application → VT client and UI: sets up and updates
- VT client and UI → CAN network: communicates over
- Virtual Terminal → CAN network: communicates over
- Application → Tractor ECU: configures optional ECU
- Application → NMEA2000 messaging: configures optional messaging
- NMEA2000 messaging → CAN network: transmits messages
- Application → Async logging: writes diagnostics
- Process entry → Crash diagnostics: installs handlers
- Crash diagnostics → Log files: writes crash reports
- Async logging → Log files: writes logs