mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
* Add vitepress tree * Update existing workflows so they dont trigger on changes in the docs path * Add nojekyll, package.json, LICENCE etc * Add crowdin docs upload/download scripts * Add docs flaw checker workflows * Used docs prefix for docs workflows * Crowdin obvious fixes * ci: docs move to self hosted runner runs on a beefy server for faster builds Signed-off-by: Ramon Roche <mrpollo@gmail.com> * ci: don't run build action for docs or ci changes Signed-off-by: Ramon Roche <mrpollo@gmail.com> * ci: update runners Signed-off-by: Ramon Roche <mrpollo@gmail.com> * Add docs/en * Add docs assets and scripts * Fix up editlinks to point to PX4 sources * Download just the translations that are supported * Add translation sources for zh, uk, ko * Update latest tranlsation and uorb graphs * update vitepress to latest --------- Signed-off-by: Ramon Roche <mrpollo@gmail.com> Co-authored-by: Ramon Roche <mrpollo@gmail.com>
31 lines
1.1 KiB
Markdown
31 lines
1.1 KiB
Markdown
# SystemPower (UORB message)
|
|
|
|
[source file](https://github.com/PX4/PX4-Autopilot/blob/main/msg/SystemPower.msg)
|
|
|
|
```c
|
|
uint64 timestamp # time since system start (microseconds)
|
|
float32 voltage5v_v # peripheral 5V rail voltage
|
|
float32 voltage_payload_v # payload rail voltage
|
|
float32[4] sensors3v3 # Sensors 3V3 rail voltage
|
|
uint8 sensors3v3_valid # Sensors 3V3 rail voltage was read (bitfield).
|
|
uint8 usb_connected # USB is connected when 1
|
|
uint8 brick_valid # brick bits power is good when bit 1
|
|
uint8 usb_valid # USB is valid when 1
|
|
uint8 servo_valid # servo power is good when 1
|
|
uint8 periph_5v_oc # peripheral overcurrent when 1
|
|
uint8 hipower_5v_oc # high power peripheral overcurrent when 1
|
|
uint8 comp_5v_valid # 5V to companion valid
|
|
uint8 can1_gps1_5v_valid # 5V for CAN1/GPS1 valid
|
|
uint8 payload_v_valid # payload rail voltage is valid
|
|
|
|
uint8 BRICK1_VALID_SHIFTS=0
|
|
uint8 BRICK1_VALID_MASK=1
|
|
uint8 BRICK2_VALID_SHIFTS=1
|
|
uint8 BRICK2_VALID_MASK=2
|
|
uint8 BRICK3_VALID_SHIFTS=2
|
|
uint8 BRICK3_VALID_MASK=4
|
|
uint8 BRICK4_VALID_SHIFTS=3
|
|
uint8 BRICK4_VALID_MASK=8
|
|
|
|
```
|