mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-07-27 00:48:23 +08:00
fix(docs): invert vectorized diagram SVGs in dark mode (#27574)
* fix(docs): invert vectorized diagram SVGs in dark mode * docs(docs): Apply fix as a class * Add yarn lock to fix CI --------- Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
This commit is contained in:
@@ -4,7 +4,7 @@ Companion computers ("mission computers"), are separate on-vehicle computers tha
|
||||
|
||||
The diagram below shows a possible architecture for an unmanned vehicle architecture that includes a flight controller and companion computer.
|
||||
|
||||

|
||||
<img src="../../assets/diagrams/px4_companion_computer_simple.svg" alt="PX4 architecture - FC + Companion Computer" class="diagram-invert">
|
||||
|
||||
<!-- source for drawing: https://docs.google.com/drawings/d/1ZDSyj5djKCEbabgx8K4ESdTeEUizgEt8spUWrMGbHUE/edit?usp=sharing -->
|
||||
|
||||
|
||||
@@ -24,4 +24,4 @@ Provides a delay between assertion of "armed" and a ramp-up of throttle on asser
|
||||
|
||||
## State Transition Diagram
|
||||
|
||||

|
||||
<img src="../../assets/diagrams/pwm_limit_state_diagram.svg" alt="PWM Limit state machine diagram" class="diagram-invert">
|
||||
|
||||
@@ -11,7 +11,7 @@ Offboard APIs are covered in [ROS](../ros/index.md) and [MAVSDK](https://mavsdk.
|
||||
|
||||
The diagram below provides a high level overview of a typical "simple" PX4 system based around a flight controller.
|
||||
|
||||

|
||||
<img src="../../assets/diagrams/px4_arch_fc.svg" alt="PX4 architecture - FC only system" class="diagram-invert">
|
||||
|
||||
<!-- Source for drawing: https://docs.google.com/drawings/d/1_2n43WrbkWTs1kz0w0avVEeebJbfTj5SSqvCmvSOBdU/edit -->
|
||||
|
||||
@@ -34,7 +34,7 @@ The left hand side of the diagram shows the software stack, which is horizontall
|
||||
|
||||
The diagram below shows a PX4 system that includes both a flight controller and a companion computer (here referred to as a "mission computer").
|
||||
|
||||

|
||||
<img src="../../assets/diagrams/px4_arch_fc_companion.svg" alt="PX4 architecture - FC + Companion Computer" class="diagram-invert">
|
||||
|
||||
<!-- source for drawing: https://docs.google.com/drawings/d/1zFtvA_B-BmfmxFmAd-XIvAZ-jRqOydj0aBtqSolBcqI/edit -->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user