ArduPilot/ardupilot

AP_GPS_GSOF: Support GPS_RAW_DATA for external logging

Open

#25,517 创建于 2023年11月11日

在 GitHub 查看
 (15 评论) (0 反应) (1 负责人)C++ (9,336 star) (15,603 fork)batch import
DriverEnhancementGPSgood first issue

描述

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.

贡献者指南

AP_GPS_GSOF: Support GPS_RAW_DATA for external logging · ArduPilot/ardupilot#25517 | Good First Issue