I’ve been encountering an issue with logging desired North (PSCN) and desired East (PSCE) positions on my ArduPilot setup. As shown in the attached graph, it seems that these parameters are not being logged correctly. The data points appear sparse in POSHOLD mode so that I cannot analyze the control performance of its position.
I checked my GPS and it is fine.
Thank you for your previous suggestion regarding the log_bitmask settings. I have set the log_bitmask as recommended, but I am still encountering issues with PSCN and PSCE logs not recording properly unlike PSCD as second image.
After reviewing the logging code, it appears that the condition is_active_xy() in the AC_PosControl::write_log() function may not be triggering, which seems to be the root cause as third image.