Skip to content

Servos Missing in Log Files #11546

@FraserJB

Description

@FraserJB

Current Behavior

In some servo mixer configurations, the logfiles are not being created correctly.
For info, this is a wing with dual motors using differential thrust, two elevons.

Tested using both of these for decoding/revieweing the log files:

  1. https://github.com/iNavFlight/blackbox-tools/releases/latest
  2. https://github.com/iNavFlight/blackbox-log-viewer
  • If servo mixer is configured with Servos numbered 0 & 1, the logs record correctly:
    ...with motion on servo[0] and servo[1] captured in the logs.

  • If configured Servos are numbered 1 & 2 (the default numbering applied by the setup) then:
    ...Servo[0] is recorded flat-lined (constant 1500us), servo[1] has data and servo[2] does not record any data whatsoever (not even a flatlined log, no data at all)

  • If configured Servos are numberd e.g. 5 & 6 (for testing purposes)
    *...Servo[0] is flat-lined in the logs, Servo[1] is flat-lined in the logs...there is nothing recorded for any higher Servo numbers (no data at all for the actual servos that were allocated in the Servo Mixer)

Steps to Reproduce

  1. configure the Servo Mixer to use servos 0 & 1 on the Configurator mixer tab
  2. arm the aircraft, move the roll, pitch, yaw. disarm the aircraft
  3. retrieve the log file and open in log viewer, note the observation that servo movements are recorded correctly
  4. REPEAT with servos numbered differenty, note that only servos numbered 0 or 1 will be recorded correctly in the logfiles

Expected behavior

Logfiles recorded which track the servo movement for the servo number that has been assigned in the Servo Mixer (not just servo 0 or 1)

Suggested solution(s)

Update to logfile logic to correctly track the numbers assigned in the Servo Mixer; record data into the logs which reflects the configured Servo Mixer servo numbers

Additional context

Working Servo config where both servos appear in logs:

Mixer: servo mixer

smix reset

smix 0 0 0 50 0 -1
smix 1 0 1 50 0 -1
smix 2 1 0 -60 0 -1
smix 3 1 1 60 0 -1

config where only one servo records in the logs

Mixer: servo mixer

smix reset

smix 0 1 0 50 0 -1
smix 1 1 1 50 0 -1
smix 2 2 0 -60 0 -1
smix 3 2 1 60 0 -1

Tested using both of these for decoding/revieweing the log files:

  1. https://github.com/iNavFlight/blackbox-tools/releases/latest
  2. https://github.com/iNavFlight/blackbox-log-viewer

Tested with two FCs:

version

INAV/LongBowF405WING 8.0.1 Apr 28 2025 / 18:56:58 (ae47bcb)

GCC-13.2.1 20231009

Also seen on:

version

INAV/SPEEDYBEEF405WING 9.0.1 Feb 13 2026 / 06:49:52 (d44f2cf)

GCC-13.2.1 20231009

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions