Skip to content

Conversation

@AvatarSD
Copy link

  1. Added DJI console logging callback to the TelemetryModule: - Implemented dji_console_callback to forward PSDK logs to RCLCPP - Registered console logger during module initialization - Handles log data safely with proper error checking
  2. Improved parameter loading in PSDKWrapper:
    • Added RCLCPP_INFO logging for all retrieved parameters
    • Covers initialization retries, frame names, and data frequencies - Provides better visibility into configuration during startup
  3. Code organization: - Moved gimbal_angles_callback declaration to a more appropriate location in telemetry.hpp - Added static dji_console_callback utility with proper documentation - Included necessary dji_logger.h header

…logging

    1. Added DJI console logging callback to the TelemetryModule:
       - Implemented dji_console_callback to forward PSDK logs to RCLCPP
       - Registered console logger during module initialization
       - Handles log data safely with proper error checking

    2. Improved parameter loading in PSDKWrapper:
       - Added RCLCPP_INFO logging for all retrieved parameters
       - Covers initialization retries, frame names, and data frequencies
       - Provides better visibility into configuration during startup

    3. Code organization:
       - Moved gimbal_angles_callback declaration to a more appropriate location in telemetry.hpp
       - Added static dji_console_callback utility with proper documentation
       - Included necessary dji_logger.h header
@AvatarSD AvatarSD requested a review from a team as a code owner June 27, 2025 19:23
@AvatarSD AvatarSD force-pushed the feature/psdk-logs-passthrough branch 2 times, most recently from b815b7c to 88ea4ea Compare July 2, 2025 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant