AP_GPS_GSOF: Support GPS_RAW_DATA for external logging
#25,517 创建于 2023年11月11日
描述
Feature request
Is your feature request related to a problem? Please describe.
Right now, there is no way to enable the internal logging on the PX1 GNSS because the API is only available over the ethernet web UI. Internal logging is used for tech support to analyze system performance. Since PX1 has little flight hours on small fixed wing drones, this is particularly useful to have the ArduPilot community be able to supply logs.
Describe the solution you'd like
- Consume GPS_RAW_DATA in AP_GPS_GSOF
- Handle disabling logging on disarm, and log continuation on arm
- Send enable logging/disable logging commands as appropriate
- Stretch: Handle runtime param updates
- Update wiki entry for PX1: https://github.com/ArduPilot/ardupilot_wiki/pull/5540/files
- Create follow up issue for dealing with log data filling up and whether old logs are overwritten, the user is notified that logs are full, or something else
Describe alternatives you've considered
Connect laptop temporarily.
Platform [ ] All [ ] AntennaTracker [ ] Copter [ ] Plane [ ] Rover [ ] Submarine
Further details
The following binary data commands are what need to be sent for logging. There is no TransNumber, so just hard code these in the implementation file. If there is an ACK, parse the ACK.
Start Logging: 02 00 4C 09 08 44 45 46 41 55 4C 54 00 62 03
Stop Logging: 02 00 4C 09 09 44 45 46 41 55 4C 54 00 63 03
Dependencies
The configuration ack/nack pattern from gsof-49-50 branch needs to be merged in before there is ability to do configuration responses. This ticket could be done without acks, however it will need to be changed.