SCHED_ parameters

3 parameters in the SCHED_ family. ArduCopter 4.7 only — other vehicles share many of these names but not always the same ranges or meanings.

SCHED_DEBUG

Scheduler debug level

Set to non-zero to enable scheduler debug messages. When set to show “Slips” the scheduler will display a message whenever a scheduled task is delayed due to too much CPU load. When set to ShowOverruns the scheduled will display a message whenever a task takes longer than the limit promised in the task table.

User level

Advanced

Values

Value

Meaning

0

Disabled

2

ShowSlips

3

ShowOverruns

SCHED_LOOP_RATE

Scheduling main loop rate

This controls the rate of the main control loop in Hz. This should only be changed by developers. This only takes effect on restart. Values over 400 are considered highly experimental.

Units

Hz

Range

50 to 400

Reboot required

Yes — the change takes effect after a reboot.

User level

Advanced

SCHED_OPTIONS

Scheduling options

This controls optional aspects of the scheduler.

User level

Advanced

Bitmask

Value

Meaning

0

Enable per-task perf info