Repository navigation
docs: take 'nice' instead of 'priority' for CFS policies - #1
Merged
Merged
Conversation
Reflect autowarefoundation/callback_isolated_executor#62: CFS entries (SCHED_OTHER / SCHED_BATCH / SCHED_IDLE) now use the 'nice' key validated against [-20, 19], while SCHED_FIFO / SCHED_RR keep 'priority' validated against [1, 99]. A missing required key is rejected at startup; a stray key of the other policy class is ignored. Signed-off-by: atsushi421 <atsushi.yano.2@tier4.jp>
atsushi421
force-pushed
the
docs/cfs-nice-key
branch
from
August 17, 2026 08:40
e61538f to
3ae23bc
Compare
atsushi421
marked this pull request as ready for review
August 17, 2026 08:41
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Reflects autowarefoundation/callback_isolated_executor#62 in the documentation. That PR makes the scheduling-parameter key in the thread configuration YAML policy-dependent: CFS entries (
SCHED_OTHER/SCHED_BATCH/SCHED_IDLE) now takenice(validated against [-20, 19]) instead ofpriority, whileSCHED_FIFO/SCHED_RRkeeppriority(now validated against [1, 99]). A missing required key is rejected at startup with an error naming the key, and a stray key of the other policy class is ignored like any other unknown key.Documentation changes:
docs/yaml-specification.mdpriorityrow in thecallback_groupsandnon_ros_threadsfield tables intonice(CFS policies) andpriority(SCHED_FIFO/SCHED_RR), and documented which key each policy requires along with the missing-key / stray-key behavior.niceand noted that out-of-range values are rejected at startup for both the CFS and FIFO sections.SCHED_OTHERYAML examples to usenice.docs/tutorial.md: updated the generatedtemplate.yamlexample and the edited configuration example to usenice: 0, matching the newprerun_nodeoutput.Real-time policy examples (
SCHED_FIFOwithpriority) are unchanged, includingdocs/non-ros-threads.md.Note: the upstream PR is not merged yet, so this PR should be merged only after autowarefoundation/callback_isolated_executor#62 lands.
Related links
How was this PR tested?
pre-commit run markdownlint-fixon the changed files passes.Notes for reviewers