Docs: Update JavaScript programming documentation #11175
Merged
+91
−15
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.
User description
Summary
Updates JavaScript programming documentation to document new features added in INAV 9.0:
pid[0-3].output)flight.mode.poshold,flight.mode.rth, etc.)Changes
docs/javascript_programming/JAVASCRIPT_PROGRAMMING_GUIDE.md- Added flight mode and PID documentation, updated sticky examplesdocs/javascript_programming/api_definitions_summary.md- Updated PID and flight mode descriptionsdocs/javascript_programming/index.md- Added new features to language support list, updated version historyTesting
Documentation changes only - no code changes.
Related
Related to configurator PR #2470
PR Type
Documentation
Description
Documents new INAV 9.0 JavaScript features: PID outputs and flight modes
Adds Variables section covering let/const and ternary operators
Updates API documentation to use explicit namespaced syntax
Enhances code examples with practical use cases
Diagram Walkthrough
File Walkthrough
JAVASCRIPT_PROGRAMMING_GUIDE.md
Add Variables section and expand API documentationdocs/javascript_programming/JAVASCRIPT_PROGRAMMING_GUIDE.md
and PID outputs
controller access
inav.events.edge)
index.md
Update feature list with new INAV 9.0 capabilitiesdocs/javascript_programming/index.md