Repository navigation
Simplify O6 feature guide and clarify HOP CAN mode switching - #32
Merged
Merged
Conversation
Rewrite the English and Chinese O6 feature guides to keep examples concise and self-contained while preserving the existing section outline and anchors used across model tutorials. - Add a protocol/interface quick-reference table for Classic, HOP CAN FD, and HOP CAN 2.0 modes and simplify complete examples to a single try/catch block without nested exception-forwarding boilerplate. - Reorganize HOP CAN mode switching for prebuilt SDK package users: lead with in-app C++ set_can_interface_mode() and Linux cansend steps, document the classic SocketCAN CAN 2.0-to-FD limitation, and mark hop_can_mode as a source-tree example. - Align O6 HOP references and package-consumer build instructions in the English and Chinese README, interface preparation, manual connection, and model capabilities pages. Validated with validation/check_docs.py, validation quality tool unit tests, git diff --cached --check, and C++17 syntax checks across all 16 code blocks in both O6 tutorials.
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.
Change
docs/en/tutorials/o6.mdanddocs/zh/tutorials/o6.md) while keeping the existing top-level outline and anchors consistent with other model guides.try/catchblock with self-contained feature snippets.set_can_interface_mode()and Linuxcansend, document the classic SocketCAN CAN 2.0-to-FD limitation, and markhop_can_modeas a source-tree example.Validation
python3 validation/check_docs.py(links, anchors, language pairs, aliases, and quickstarts).python3 -m unittest discover -s validation -p 'test_quality_tools.py'(12 tests) andgit diff --cached --check.docs/en/tutorials/o6.mdanddocs/zh/tutorials/o6.mdcompile withg++ -std=c++17 -Wall -Wextra -Werror -fsyntax-only.