diff --git a/docs/ko/SUMMARY.md b/docs/ko/SUMMARY.md index 2ba09a4b219..82cc8627250 100644 --- a/docs/ko/SUMMARY.md +++ b/docs/ko/SUMMARY.md @@ -20,6 +20,7 @@ - [궤도 모드 (멀티콥터)](flight_modes_mc/orbit.md) - [Takeoff Mode (MC)](flight_modes_mc/takeoff.md) - [Land Mode (MC)](flight_modes_mc/land.md) + - [Descend Mode (MC)](flight_modes_mc/descend.md) - [Hold Mode (MC)](flight_modes_mc/hold.md) - [Follow Me Mode (MC)](flight_modes_mc/follow_me.md) - [Mission Mode (MC)](flight_modes_mc/mission.md) @@ -77,6 +78,7 @@ - [수동 모드 (고정익)](flight_modes_fw/manual.md) - [Takeoff Mode (FW)](flight_modes_fw/takeoff.md) - [Land Mode (FW)](flight_modes_fw/land.md) + - [Descend Mode (FW)](flight_modes_fw/descend.md) - [Hold Mode (FW)](flight_modes_fw/hold.md) - [Guided Course Mode (FW)](flight_modes_fw/guided_course.md) - [임무 모드](flight_modes_fw/mission.md) @@ -978,6 +980,7 @@ - [지원](contribute/support.md) - [소스 코드 관리](contribute/code.md) - [GIT 예제](contribute/git_examples.md) + - [AI Coding Assistants](contribute/ai_assistants.md) - [Documentation](contribute/docs.md) - [Translation](contribute/translation.md) - [용어/표기법](contribute/notation.md) diff --git a/docs/ko/advanced_features/detect_and_avoid.md b/docs/ko/advanced_features/detect_and_avoid.md index 54707406540..118f010e897 100644 --- a/docs/ko/advanced_features/detect_and_avoid.md +++ b/docs/ko/advanced_features/detect_and_avoid.md @@ -412,7 +412,7 @@ That means DAA will not automatically switch a manually flown vehicle into Hold, The commander health check reads [`detect_and_avoid_most_urgent`](../msg_docs/DetectAndAvoidMostUrgent.md) and applies the result only while the vehicle is disarmed. This section covers conflict-based DAA behavior when traffic is already present. -The separate traffic-system-presence arming check is configured by [COM_ARM_TRAFF](../advanced_config/parameter_reference.md#COM_ARM_TRAFF) and described in [ADS-B/FLARM/UTM Receivers > Arming Check](../peripherals/adsb_flarm.md#arming-check). +The separate traffic-system-presence arming check and failsafe is configured by [COM_TRAFF_AVOID](../advanced_config/parameter_reference.md#COM_TRAFF_AVOID) and described in [ADS-B/FLARM/UTM Receivers > Arming Check and Failsafe](../peripherals/adsb_flarm.md#arming-check-and-failsafe). Preflight behavior: diff --git a/docs/ko/camera/fc_connected_camera.md b/docs/ko/camera/fc_connected_camera.md index 67da5d87973..7115315a1b9 100644 --- a/docs/ko/camera/fc_connected_camera.md +++ b/docs/ko/camera/fc_connected_camera.md @@ -180,6 +180,10 @@ PX4 emits the MAVLink [CAMERA_TRIGGER](https://mavlink.io/en/messages/common.htm If camera capture is configured, the timestamp from the camera capture driver is used, otherwise the triggering timestamp. ::: +PX4 also reports each capture to the ground station as a [CAMERA_IMAGE_CAPTURED](https://mavlink.io/en/messages/common.html#CAMERA_IMAGE_CAPTURED) message. +This is controlled by [CAM_CAP_REPORT](../advanced_config/parameter_reference.md#CAM_CAP_REPORT), which is enabled by default and only needs to be disabled for cameras that report captures themselves (see [Capture Reporting](../camera/mavlink_v1_camera.md#capture-reporting)). +Captures are logged for geotagging either way. + ## Testing Trigger Functionality :::warning diff --git a/docs/ko/camera/mavlink_v1_camera.md b/docs/ko/camera/mavlink_v1_camera.md index f80abceba41..ac810113675 100644 --- a/docs/ko/camera/mavlink_v1_camera.md +++ b/docs/ko/camera/mavlink_v1_camera.md @@ -113,3 +113,11 @@ You can also [set the parameters directly](../advanced_config/parameters.md): - [TRIG_INTERFACE](../advanced_config/parameter_reference.md#TRIG_INTERFACE) — `3`: MAVLink ::: + +### Capture Reporting + +Some MAVLink cameras emit [CAMERA_IMAGE_CAPTURED](https://mavlink.io/en/messages/common.html#CAMERA_IMAGE_CAPTURED) themselves each time an image is captured. +By default PX4 emits this message for every capture as well, so a ground station would see each capture reported twice. + +Set [CAM_CAP_REPORT](../advanced_config/parameter_reference.md#CAM_CAP_REPORT) to `0` to stop PX4 reporting captures, leaving the camera as the only source of the message. +Captures are still logged for geotagging when reporting is disabled. diff --git a/docs/ko/config/safety.md b/docs/ko/config/safety.md index 82e1f959adc..94723807d68 100644 --- a/docs/ko/config/safety.md +++ b/docs/ko/config/safety.md @@ -311,9 +311,9 @@ The failsafe action and arming behaviour are both configured by the `COM_ARM_ODI The parachute health failsafe is triggered when a [MAVLink parachute](../peripherals/parachute.md) system is missing or unhealthy while the vehicle is armed or airborne. -| Parameter | 설명 | -| ----------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| [COM_PARACHUTE](../advanced_config/parameter_reference.md#COM_PARACHUTE) | Parachute system monitoring and failsafe action.
`0`: Disabled (default), `1`: [Warning](#act_warn), `2`: [Return](#act_return), `3`: [Land](#act_land).

- Everything but `Disabled` prevents arming with a failing check.
- [Return](#act_return) and [Land](#act_land) start the associated action when a failure happens in-flight. | +| Parameter | 설명 | +| ----------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [COM_PARACHUTE](../advanced_config/parameter_reference.md#COM_PARACHUTE) | Parachute system monitoring and failsafe action.
`0`: Disabled (default), `1`: [Warning](#act_warn), `2`: Error, `3`: [Return](#act_return), `4`: [Land](#act_land).

- `Warning` warns with a failing check but does not prevent arming.
- `Error`, `Return` and `Land` prevent arming with a failing check.
- [Return](#act_return) and [Land](#act_land) start the associated action when a failure happens in-flight. | ## Quad-chute Failsafe diff --git a/docs/ko/contribute/ai_assistants.md b/docs/ko/contribute/ai_assistants.md new file mode 100644 index 00000000000..b2db311ede4 --- /dev/null +++ b/docs/ko/contribute/ai_assistants.md @@ -0,0 +1,79 @@ +# AI Coding Assistants + +AI-assisted contributions are welcome in PX4. +AI coding assistants are development tools, like compilers and static analyzers, and contributions made with their help are held to exactly the same standard as any other contribution: the [coding standards](../contribute/code.md), [commit conventions](https://github.com/PX4/PX4-Autopilot/blob/main/CONTRIBUTING.md), testing requirements, and review process apply unchanged. + +This page defines the additional rules that apply when AI tools are used. +They exist to keep authorship, accountability, and licensing unambiguous, and to keep review manageable for maintainers. + +:::info +Using AI tools is optional. +Disclosing their use is not. +::: + +## Authorship and Accountability + +The human submitter is the author of the contribution. + +- You must understand every line you submit, be able to explain it, and be prepared to defend it in review. +- Responsibility for correctness, safety, licensing, and testing never transfers to a tool. + PX4 is safety-critical software that flies real vehicles; "the AI wrote it" is never an acceptable answer in review. +- An AI tool is never an author or co-author. + Do not add `Co-Authored-By` tags naming an AI tool. + +## Signed-off-by and the Developer Certificate of Origin + +A `Signed-off-by` tag is the human author's certification under the [Developer Certificate of Origin](https://developercertificate.org/). + +- An AI tool is never the author of a contribution and must never appear in a `Signed-off-by` tag. +- Tooling acting on your instruction, including an AI agent, may apply your sign-off mechanically, the same way `git commit -s` does. + The certification remains yours. +- By signing off you certify that you have personally reviewed the contribution and have the right to submit it under the project license. + Never allow your sign-off to be applied to changes you have not reviewed. + +## Licensing + +All code contributions must be compatible with the [BSD 3-clause license](../contribute/licenses.md) and must not impose any further constraints. + +When using AI tools you are additionally responsible for the conditions of the [Linux Foundation Generative AI Policy](https://www.linuxfoundation.org/legal/generative-ai): + +- The terms of service of the AI tool you use must not conflict with the project license. +- If the tool's output includes pre-existing copyrighted material from a third party, you must have the right to submit it, and must include the required notice, attribution, and license information. + +## Disclosure (Required) + +Every commit that contains AI-generated or AI-assisted content (code, documentation, or commit message text) must carry a disclosure trailer in the commit message body: + +``` +Assisted-by: NAME:MODEL +``` + +`NAME` identifies the tool and `MODEL` the specific model used, for example: + +``` +Assisted-by: Claude:claude-fable-5 +Assisted-by: Copilot:gpt-5 +``` + +- Conventional development tooling does not need to be disclosed: compilers, formatters (`make format`), linters, git, and classic editor autocomplete are not AI assistance in this sense. +- Like the sign-off, disclosure operates on good faith: reviewers cannot reliably detect AI usage and will not try to. + Undisclosed AI use discovered after the fact is treated as a misrepresentation and is grounds for reverting the contribution. + +## Expectations + +These rules keep review sustainable. +Contributions that ignore them may be closed by maintainers without detailed review. + +- **Test claims must be real.** + The [testing requirements](https://github.com/PX4/PX4-Autopilot/blob/main/CONTRIBUTING.md#test-your-changes) apply unchanged: state exactly what you ran (SITL, bench test, flight test) and provide logs where they apply. + Never let a tool describe testing that did not happen. + An AI cannot have flown your vehicle. +- **No unsolicited bulk changes.** + Do not submit large AI-generated refactors, style sweeps, or "cleanup" pull requests that nobody asked for. + Discuss the idea in an issue or on the [dev call](../contribute/dev_call.md) first. +- **Issues and security reports must be human-verified.** + Reproduce the problem yourself before filing. + Unverified AI-generated findings cost maintainers real time and erode trust. +- **Review discussion is between humans.** + Using an AI tool to help you understand a review comment is fine; posting model output you do not understand as your reply is not. + AI-assisted review is acceptable when clearly labeled as such; presenting undisclosed AI review as your own reading is not. diff --git a/docs/ko/contribute/index.md b/docs/ko/contribute/index.md index 95acab11fe4..ef7de7bdd71 100644 --- a/docs/ko/contribute/index.md +++ b/docs/ko/contribute/index.md @@ -23,6 +23,7 @@ This section contains information about how you can meet with the community and - [Maintainers](./maintainers.md) - Maintainer roles, types, and how to become one - [Support](../contribute/support.md) - Get help and raise issues - [Source Code Management](../contribute/code.md) - Work with PX4 code +- [AI Coding Assistants](../contribute/ai_assistants.md) - Rules for contributing with AI coding tools - [Documentation](../contribute/docs.md) - Improve the docs - [Translation](../contribute/translation.md) - Translate using Crowdin - [Terminology/Notation](../contribute/notation.md) - Terms and symbols used in the docs diff --git a/docs/ko/dev_log/logging.md b/docs/ko/dev_log/logging.md index 967d59db8ba..9f864b2c597 100644 --- a/docs/ko/dev_log/logging.md +++ b/docs/ko/dev_log/logging.md @@ -118,7 +118,7 @@ This ensures that stale logs from a different time mode are cleaned up before cu ## File size limitations The maximum file size depends on the file system and OS. -The size limit on NuttX is currently around 2GB. +The size limit on NuttX is currently around 4GB. ## 손실 diff --git a/docs/ko/flight_modes/return.md b/docs/ko/flight_modes/return.md index c83ab78fef2..64df9fb4e4e 100644 --- a/docs/ko/flight_modes/return.md +++ b/docs/ko/flight_modes/return.md @@ -160,6 +160,8 @@ This is only an approximation of the flown path length, because the number if mi ## Geofence Awareness {#geofence_awareness} + + For most of the return types (including the default home/rally point return type) the return path is chosen to avoid breaching any geofence. Planning is purely horizontal: the altitude profile is unaffected, and only the lateral path is adjusted to avoid the fence. If no geofence is set, the vehicle flies a direct path to the destination. @@ -173,14 +175,9 @@ If no such point exists, or if the autopilot fails to plan a feasible path (e.g. The estimated time for return is based on the current shortest horizontal path to the destination and may change if the geofence is updated. ::: -:::warning -Geofence awareness currently supports a maximum of 99 polygon vertices in total (circles count as 8 vertices each). -If this limit is exceeded, the autopilot falls back to a direct path as described above. -::: - :::warning There is no absolute guarantee that the vehicle will not breach a geofence on the return path. -Things like path tracking error, wind and other disturbances may cause temporary violation of the geofence. +Things like path tracking error, wind and other disturbances may cause temporary violation of the geofence, while some of the [geofence limitations](#geofence-limitations) below may disable geofence-aware return altogether. It is therefore very important to consider this possibility and especially to review the geofence breach action (e.g. [GF_ACTION](../advanced_config/parameter_reference.md#GF_ACTION)). ::: @@ -208,6 +205,20 @@ The figures below show an exclusion zone and an inclusion zone. ![Inclusion Zone](../../assets/flight_modes/rtl_geofence_inclusion.jpg) +### Geofence Limitations + +- Geofence awareness currently supports a maximum of 99 polygon vertices in total (circles count as 8 vertices each). + If this limit is exceeded, the autopilot falls back to a direct path as described above. +- The autopilot does not check at upload time whether every part of the allowed area is still reachable once the [safety margin](#shortest-path-calculation) has been applied. + A region can be "cut off" by the margin — for example where several exclusion zones overlap — without any error being reported when the geofence is uploaded. + The error is only reported when a return is triggered and no feasible path can be found, at which point the vehicle falls back to flying directly to the destination. + As a result you may believe that every region is reachable when in fact some are not. +- If the autopilot falls back to a direct path (for any of the reasons described above), a configured geofence breach action ([GF_ACTION](../advanced_config/parameter_reference.md#GF_ACTION)) still applies. + For example, if the direct path breaches a geofence, the configured action (such as flight termination) will be carried out. +- The safety margin in the [Shortest-path Calculation](#shortest-path-calculation) above may not be appropriate for all vehicles. + It is derived from [NAV_LOITER_RAD](../advanced_config/parameter_reference.md#NAV_LOITER_RAD) for fixed-wing and VTOL vehicles, and from twice [NAV_ACC_RAD](../advanced_config/parameter_reference.md#NAV_ACC_RAD) for multicopters. + It is not directly configurable. + ## 목적지에 호버링/착륙 For most [return types](#return_types) a vehicle will ascend to a _minimum safe altitude_ before returning (unless already above that altitude), in order to avoid any obstacles between it and the destination. diff --git a/docs/ko/flight_modes_fw/descend.md b/docs/ko/flight_modes_fw/descend.md new file mode 100644 index 00000000000..1706fbe0ffc --- /dev/null +++ b/docs/ko/flight_modes_fw/descend.md @@ -0,0 +1,37 @@ +# Descend Mode (Fixed-Wing) + +_Descend_ is a [failsafe](../config/safety.md) fallback mode. +It is activated automatically by PX4 and cannot be selected by the pilot. It only appears as a status label. + +The vehicle descends open-loop: it circles at a fixed bank angle ([FW_GPSF_R](../advanced_config/parameter_reference.md#FW_GPSF_R)) and descends at a fixed 0.5 m/s, but does not control its ground position, so the circle drifts with the wind. +It is the last resort used when the vehicle must come down but has no valid position estimate for a controlled descent. + +::: info + +- Mode is automatic and cannot be selected by the user. +- Requires only attitude, so it works without a position estimate. +- The vehicle first loiters at the current altitude for [FW_GPSF_LT](../advanced_config/parameter_reference.md#FW_GPSF_LT) seconds (waiting for the estimate to recover) before starting to descend. + +::: + +## When It Occurs + +Descend is the bottom of the failsafe chain (`Hold → Return → Land → Descend`). +PX4 falls through to it whenever a failsafe needs to bring the vehicle down or hold position but the position estimate is missing, so none of the higher options can run. 예: + +- Losing the position estimate while landing, e.g. GNSS and airspeed sensors fail during [Land](../flight_modes_fw/land.md): the vehicle keeps descending, but now open-loop as _Descend_. +- Losing the position estimate in [Hold](../flight_modes_fw/hold.md), [Mission](../flight_modes_fw/mission.md) or [Return](../flight_modes_fw/return.md): with no position to hold, fly to, or return with, the failsafe escalates down to _Descend_. +- A Return or Land failsafe (from manual control loss, GCS/data link loss, low battery, geofence breach, …) triggered while no valid position estimate is available: Return and Land can't run, so it degrades to _Descend_. + +## Exiting Descend + +Descend ends when either: + +- the failsafe condition is resolved (e.g. the position estimate recovers), and the vehicle returns to its previous mode; or +- the pilot takes over by switching to a manual mode ([Position](../flight_modes_fw/position.md), [Altitude](../flight_modes_fw/altitude.md) or [Stabilized](../flight_modes_fw/stabilized.md)). + +## See Also + +- [Descend Mode (MC)](../flight_modes_mc/descend.md) +- [Land Mode (FW)](../flight_modes_fw/land.md) +- [Safety (Failsafes)](../config/safety.md) diff --git a/docs/ko/flight_modes_fw/hold.md b/docs/ko/flight_modes_fw/hold.md index bf984a4aa31..f6c64112fa9 100644 --- a/docs/ko/flight_modes_fw/hold.md +++ b/docs/ko/flight_modes_fw/hold.md @@ -77,6 +77,23 @@ You can test it in [Gazebo](../sim_gazebo_gz/index.md) using a fixed wing frame: make px4_sitl gz_rc_cessna ``` +## Altitude Ramp on Reposition (Go-to) + +When you command the vehicle to a new loiter location at a different altitude — for example a QGroundControl _Go to location_ / [reposition](https://mavlink.io/en/messages/common.html#MAV_CMD_DO_REPOSITION) while in Hold mode — PX4 does not change the altitude setpoint in a single step. +Instead it ramps the altitude setpoint linearly (a first order hold, FOH) from the vehicle's **current altitude** to the new target altitude, reaching the target by the time the vehicle arrives at the loiter circle around the new location. +The result is a smooth diagonal climb or descent along the transit to the new location, rather than an immediate climb/descent followed by level flight. + +![Fixed-wing altitude profile for a climbing go-to in Hold mode](../../assets/flight_modes/fw_goto_altitude_foh.png) + +The ramp is anchored at the altitude the vehicle is at when the new target is received, and its progress is measured by the vehicle's horizontal approach to the target (not by time). + +If the vehicle cannot follow the ramp (for example when the required climb or sink rate exceeds what the aircraft can achieve), the altitude setpoint still reaches the full target altitude at the loiter circle. +Any remaining altitude error is then removed by climbing or sinking once the vehicle reaches the horizontal position of the new location. + +:::info +The ramp is (re)started whenever the target altitude changes; a reposition that keeps the same altitude does not change the vehicle's altitude. +::: + ## 매개변수 Hold mode behaviour can be configured using the parameters below. diff --git a/docs/ko/flight_modes_fw/index.md b/docs/ko/flight_modes_fw/index.md index b7cc6ac3420..9e8ba790c29 100644 --- a/docs/ko/flight_modes_fw/index.md +++ b/docs/ko/flight_modes_fw/index.md @@ -47,6 +47,7 @@ Airspeed is actively controlled if an airspeed sensor is installed in any autono - [Mission](../flight_modes_fw/mission.md) — Vehicle executes a [predefined mission/flight plan](../flying/missions.md) that has been uploaded to the flight controller. - [Takeoff](../flight_modes_fw/takeoff.md) — Vehicle initiates the takeoff sequence using either _catapult/hand-launch mode_ or _runway takeoff mode_ (in the current direction). - [Land](../flight_modes_fw/land.md) — Vehicle initiates the [fixed-wing landing sequence](../flight_modes_fw/mission.md#mission-landing). +- [Descend](../flight_modes_fw/descend.md) — Failsafe fallback: the vehicle circles down at a fixed bank angle without position control (used when the position estimate is lost). Not pilot-selectable. - [Offboard](../flight_modes_fw/offboard.md) — Vehicle obeys attitude setpoints provided via MAVLink or ROS 2. Pilots transition between flight modes using switches on the remote control or with a ground control station (see [Flight Mode Configuration](../config/flight_mode.md)). diff --git a/docs/ko/flight_modes_fw/mission.md b/docs/ko/flight_modes_fw/mission.md index 871e349c6c2..df39e68b2c1 100644 --- a/docs/ko/flight_modes_fw/mission.md +++ b/docs/ko/flight_modes_fw/mission.md @@ -222,6 +222,23 @@ The equation is: $$L_{1_{distance}}=\frac{1}{\pi}L_{1_{damping}}L_{1_{period}}\left \| \vec{v}_{ {xy}_{ground} } \right \|$$ +## Altitude Changes Between Waypoints + +When the target altitude changes from one waypoint to the next, PX4 does not change the altitude setpoint in a single step. +Instead it ramps the altitude setpoint linearly (a first order hold, FOH) from the vehicle's **current altitude** to the new target altitude, reaching the target by the time the vehicle arrives at the acceptance radius of the current waypoint. +The result is a smooth diagonal climb or descent along the leg, rather than an immediate climb/descent followed by level flight. + +![Fixed-wing altitude profile for a climbing mission leg](../../assets/flight_modes/fw_waypoint_altitude_foh.png) + +The ramp is anchored at the altitude the vehicle is at when the new target is received, and its progress is measured by the vehicle's horizontal approach to the waypoint (not by time). + +If the vehicle cannot follow the ramp (for example when the required climb or sink rate exceeds what the aircraft can achieve), the altitude setpoint still reaches the full target altitude at the acceptance radius. +Any remaining altitude error is then removed by climbing or sinking once the vehicle reaches the horizontal position of the waypoint. + +:::info +The ramp is (re)started whenever the target altitude changes; consecutive waypoints at the same altitude are held level. +::: + ## Mission Takeoff Starting flights with mission takeoff (and landing using a mission landing) is the recommended way of operating a plane autonomously. diff --git a/docs/ko/flight_modes_mc/descend.md b/docs/ko/flight_modes_mc/descend.md new file mode 100644 index 00000000000..18d991582b9 --- /dev/null +++ b/docs/ko/flight_modes_mc/descend.md @@ -0,0 +1,37 @@ +# Descend Mode (Multicopter) + +_Descend_ is a [failsafe](../config/safety.md) fallback mode. +It is activated automatically by PX4 and cannot be selected by the pilot. It only appears as a status label. + +The vehicle descends open-loop: it keeps its attitude and reduces altitude, but does not control its horizontal position, so it drifts with the wind. +It is the last resort used when the vehicle must come down but has no valid position estimate for a controlled descent. + +::: info + +- Mode is automatic and cannot be selected by the user. +- Requires only attitude, so it works without a position (or even altitude) estimate. +- The descent rate is set by [MPC_LAND_SPEED](../advanced_config/parameter_reference.md#MPC_LAND_SPEED). + +::: + +## When It Occurs + +Descend is the bottom of the failsafe chain (`Hold → Return → Land → Descend`). +PX4 falls through to it whenever a failsafe needs to bring the vehicle down or hold position but the position estimate is missing, so none of the higher options can run. 예: + +- Losing the position estimate while landing, e.g. GNSS fails during [Land](../flight_modes_mc/land.md): the vehicle keeps descending, but now open-loop as _Descend_. +- Losing the position estimate in [Hold](../flight_modes_mc/hold.md), [Mission](../flight_modes_mc/mission.md) or [Return](../flight_modes_mc/return.md): with no position to hold, fly to, or return with, the failsafe escalates down to _Descend_. +- A Return or Land failsafe (from manual control loss, GCS/data link loss, low battery, geofence breach, …) triggered while no valid position estimate is available: Return and Land can't run, so it degrades to _Descend_. + +## Exiting Descend + +Descend ends when either: + +- the failsafe condition is resolved (e.g. the position estimate recovers), and the vehicle returns to its previous mode; or +- the pilot takes over by switching to a manual mode ([Position](../flight_modes_mc/position.md), [Altitude](../flight_modes_mc/altitude.md) or [Stabilized](../flight_modes_mc/manual_stabilized.md)). On a multicopter, moving the sticks does this [by default](../flight_modes_mc/land.md#MAN_OVERRIDE_SPD). + +## See Also + +- [Descend Mode (FW)](../flight_modes_fw/descend.md) +- [Land Mode (MC)](../flight_modes_mc/land.md) +- [Safety (Failsafes)](../config/safety.md) diff --git a/docs/ko/flight_modes_mc/index.md b/docs/ko/flight_modes_mc/index.md index 73cb4fc0326..e8e922bb180 100644 --- a/docs/ko/flight_modes_mc/index.md +++ b/docs/ko/flight_modes_mc/index.md @@ -38,6 +38,7 @@ Autonomous: This requires a global position estimate (GPS). - [Takeoff](../flight_modes_mc/takeoff.md) — Vehicle takes off vertically and then switches to _Hold mode_. - [Land](../flight_modes_mc/land.md) — Vehicle lands immediately. +- [Descend](../flight_modes_mc/descend.md) — Failsafe fallback: the vehicle descends without horizontal position control (used when the position estimate is lost). Not pilot-selectable. - [Orbit](../flight_modes_mc/orbit.md) - Vehicle flys in a circle, yawing so that it always faces towards the center. RC control can optionally be used to change the orbit radius, direction, speed and so on. - [Follow Me](../flight_modes_mc/follow_me.md) — Vehicle follows a beacon that is providing position setpoints. diff --git a/docs/ko/middleware/dds_topics.md b/docs/ko/middleware/dds_topics.md index 75c585019e0..e68acaeb957 100644 --- a/docs/ko/middleware/dds_topics.md +++ b/docs/ko/middleware/dds_topics.md @@ -190,6 +190,7 @@ See messages - [HealthReport](../msg_docs/HealthReport.md) - [HeaterStatus](../msg_docs/HeaterStatus.md) - [HomePositionV0](../msg_docs/HomePositionV0.md) +- [HomePositionV1](../msg_docs/HomePositionV1.md) - [HoverThrustEstimate](../msg_docs/HoverThrustEstimate.md) - [InternalCombustionEngineControl](../msg_docs/InternalCombustionEngineControl.md) - [InternalCombustionEngineStatus](../msg_docs/InternalCombustionEngineStatus.md) diff --git a/docs/ko/modules/modules_driver.md b/docs/ko/modules/modules_driver.md index 197c2da2172..9b9f14be84c 100644 --- a/docs/ko/modules/modules_driver.md +++ b/docs/ko/modules/modules_driver.md @@ -1086,7 +1086,7 @@ px4io [arguments...] ## rgbled -Source: [drivers/lights/rgbled](https://github.com/PX4/PX4-Autopilot/tree/main/src/drivers/lights/rgbled) +Source: [drivers/lights/rgbled_ncp5623c](https://github.com/PX4/PX4-Autopilot/tree/main/src/drivers/lights/rgbled_ncp5623c) ### Usage {#rgbled_usage} @@ -1101,7 +1101,9 @@ rgbled [arguments...] [-f ] bus frequency in kHz [-q] quiet startup (no message if no device found) [-a ] I2C address - default: 85 + default: 57 + [-o ] RGB PWM Assignment + default: 123 stop diff --git a/docs/ko/modules/modules_system.md b/docs/ko/modules/modules_system.md index b5ac407b82f..e6fab6a407c 100644 --- a/docs/ko/modules/modules_system.md +++ b/docs/ko/modules/modules_system.md @@ -56,8 +56,10 @@ If camera capture is enabled, then trigger information from the camera capture p otherwise trigger information at the point the camera was commanded to trigger is published (from the `camera_trigger` module). -The `CAMERA_IMAGE_CAPTURED` message is then emitted (by streaming code) following `CameraCapture` updates. -`CameraCapture` topics are also logged and can be used for geotagging. +The `CAMERA_IMAGE_CAPTURED` message is then emitted (by streaming code) following `CameraCapture` updates, +unless `CAM_CAP_REPORT` is disabled (for cameras that report captures themselves, e.g. cameras +implementing the MAVLink Camera Protocol). `CameraCapture` topics are always logged and can be used +for geotagging regardless. ### 구현 diff --git a/docs/ko/msg_docs/CameraCapture.md b/docs/ko/msg_docs/CameraCapture.md index 6e28a7ccff6..9e2e854e13c 100644 --- a/docs/ko/msg_docs/CameraCapture.md +++ b/docs/ko/msg_docs/CameraCapture.md @@ -8,17 +8,18 @@ pageClass: is-wide-page ## Fields -| 명칭 | 형식 | Unit [Frame] | Range/Enum | 설명 | -| -------------------------------------------------------------------- | ------------ | ---------------------------------------------------------------- | ---------- | -------------------------------------------------------------------------------------------------------- | -| timestamp | `uint64` | | | time since system start (microseconds) | -| timestamp_utc | `uint64` | | | Capture time in UTC / GPS time | -| seq | `uint32` | | | Image sequence number | -| lat | `float64` | | | Latitude in degrees (WGS84) | -| lon | `float64` | | | Longitude in degrees (WGS84) | -| alt | `float32` | | | Altitude (AMSL) | -| ground_distance | `float32` | | | Altitude above ground (meters) | -| q | `float32[4]` | | | Attitude of the camera relative to NED earth-fixed frame when using a gimbal, otherwise vehicle attitude | -| result | `int8` | | | 1 for success, 0 for failure, -1 if camera does not provide feedback | +| 명칭 | 형식 | Unit [Frame] | Range/Enum | 설명 | +| -------------------------------------------------------------------- | ------------ | ---------------------------------------------------------------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| timestamp | `uint64` | | | time since system start (microseconds) | +| timestamp_utc | `uint64` | | | Capture time in UTC / GPS time | +| seq | `uint32` | | | Image sequence number | +| lat | `float64` | | | Latitude in degrees (WGS84) | +| lon | `float64` | | | Longitude in degrees (WGS84) | +| alt | `float32` | | | Altitude (AMSL) | +| ground_distance | `float32` | | | Altitude above ground (meters) | +| q | `float32[4]` | | | Attitude of the camera relative to NED earth-fixed frame when using a gimbal, otherwise vehicle attitude | +| result | `int8` | | | 1 for success, 0 for failure, -1 if camera does not provide feedback | +| report | `bool` | | | Report this capture to the ground station (CAMERA_IMAGE_CAPTURED); it is always logged regardless | ## Source Message @@ -37,6 +38,7 @@ float32 alt # Altitude (AMSL) float32 ground_distance # Altitude above ground (meters) float32[4] q # Attitude of the camera relative to NED earth-fixed frame when using a gimbal, otherwise vehicle attitude int8 result # 1 for success, 0 for failure, -1 if camera does not provide feedback +bool report # Report this capture to the ground station (CAMERA_IMAGE_CAPTURED); it is always logged regardless ``` ::: diff --git a/docs/ko/msg_docs/DeviceInformation.md b/docs/ko/msg_docs/DeviceInformation.md index 4eebf072178..6ee9d34da6f 100644 --- a/docs/ko/msg_docs/DeviceInformation.md +++ b/docs/ko/msg_docs/DeviceInformation.md @@ -29,24 +29,28 @@ as well as tracking of the used firmware versions on the devices. Used in field(s): [device_type](#fld_device_type) -| 명칭 | 형식 | Value | 설명 | -| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------- | ----- | ---------------------- | -| DEVICE_TYPE_GENERIC | `uint8` | 0 | Generic/unknown sensor | -| DEVICE_TYPE_AIRSPEED | `uint8` | 1 | 풍속 센서 | -| DEVICE_TYPE_ESC | `uint8` | 2 | ESC | -| DEVICE_TYPE_SERVO | `uint8` | 3 | Servo | -| DEVICE_TYPE_GPS | `uint8` | 4 | GPS | -| DEVICE_TYPE_MAGNETOMETER | `uint8` | 5 | 자기 센서 | -| DEVICE_TYPE_PARACHUTE | `uint8` | 6 | 낙하산 | -| DEVICE_TYPE_RANGEFINDER | `uint8` | 7 | Rangefinder | -| DEVICE_TYPE_WINCH | `uint8` | 8 | Winch | -| DEVICE_TYPE_BAROMETER | `uint8` | 9 | 기압계 | -| DEVICE_TYPE_OPTICAL_FLOW | `uint8` | 10 | Optical flow | -| DEVICE_TYPE_ACCELEROMETER | `uint8` | 11 | Accelerometer | -| DEVICE_TYPE_GYROSCOPE | `uint8` | 12 | Gyroscope | -| DEVICE_TYPE_DIFFERENTIAL_PRESSURE | `uint8` | 13 | Differential pressure | -| DEVICE_TYPE_BATTERY | `uint8` | 14 | Battery | -| DEVICE_TYPE_HYGROMETER | `uint8` | 15 | Hygrometer | +| 명칭 | 형식 | Value | 설명 | +| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------- | ----- | -------------------------------------------------- | +| DEVICE_TYPE_GENERIC | `uint8` | 0 | Generic/unknown sensor | +| DEVICE_TYPE_AIRSPEED | `uint8` | 1 | 풍속 센서 | +| DEVICE_TYPE_ESC | `uint8` | 2 | ESC | +| DEVICE_TYPE_SERVO | `uint8` | 3 | Servo | +| DEVICE_TYPE_GPS | `uint8` | 4 | GPS | +| DEVICE_TYPE_MAGNETOMETER | `uint8` | 5 | 자기 센서 | +| DEVICE_TYPE_PARACHUTE | `uint8` | 6 | 낙하산 | +| DEVICE_TYPE_RANGEFINDER | `uint8` | 7 | 1D Rangefinder | +| DEVICE_TYPE_WINCH | `uint8` | 8 | Winch | +| DEVICE_TYPE_BAROMETER | `uint8` | 9 | 기압계 | +| DEVICE_TYPE_OPTICAL_FLOW | `uint8` | 10 | Optical flow | +| DEVICE_TYPE_ACCELEROMETER | `uint8` | 11 | Accelerometer | +| DEVICE_TYPE_GYROSCOPE | `uint8` | 12 | Gyroscope | +| DEVICE_TYPE_DIFFERENTIAL_PRESSURE | `uint8` | 13 | Differential pressure | +| DEVICE_TYPE_BATTERY | `uint8` | 14 | Battery | +| DEVICE_TYPE_HYGROMETER | `uint8` | 15 | Hygrometer | +| DEVICE_TYPE_TRAFFIC_AVOIDANCE | `uint8` | 16 | Traffic Avoidance system (ADSB) | +| DEVICE_TYPE_COMPUTE | `uint8` | 17 | Compute boards | +| DEVICE_TYPE_LIDAR | `uint8` | 18 | 3D scanning / multi-beam Lidar | +| DEVICE_TYPE_STEREO_CAMERA | `uint8` | 19 | stereo/depth camera | ## Source Message @@ -71,7 +75,7 @@ uint8 DEVICE_TYPE_SERVO = 3 # Servo uint8 DEVICE_TYPE_GPS = 4 # GPS uint8 DEVICE_TYPE_MAGNETOMETER = 5 # Magnetometer uint8 DEVICE_TYPE_PARACHUTE = 6 # Parachute -uint8 DEVICE_TYPE_RANGEFINDER = 7 # Rangefinder +uint8 DEVICE_TYPE_RANGEFINDER = 7 # 1D Rangefinder uint8 DEVICE_TYPE_WINCH = 8 # Winch uint8 DEVICE_TYPE_BAROMETER = 9 # Barometer uint8 DEVICE_TYPE_OPTICAL_FLOW = 10 # Optical flow @@ -80,6 +84,11 @@ uint8 DEVICE_TYPE_GYROSCOPE = 12 # Gyroscope uint8 DEVICE_TYPE_DIFFERENTIAL_PRESSURE = 13 # Differential pressure uint8 DEVICE_TYPE_BATTERY = 14 # Battery uint8 DEVICE_TYPE_HYGROMETER = 15 # Hygrometer +uint8 DEVICE_TYPE_TRAFFIC_AVOIDANCE = 16 # Traffic Avoidance system (ADSB) +uint8 DEVICE_TYPE_COMPUTE = 17 # Compute boards +uint8 DEVICE_TYPE_LIDAR = 18 # 3D scanning / multi-beam Lidar +uint8 DEVICE_TYPE_STEREO_CAMERA = 19 # stereo/depth camera + char[80] name # Name of device e.g. DroneCAN node name diff --git a/docs/ko/msg_docs/HomePosition.md b/docs/ko/msg_docs/HomePosition.md index c57ba77cd66..54ea412c7f3 100644 --- a/docs/ko/msg_docs/HomePosition.md +++ b/docs/ko/msg_docs/HomePosition.md @@ -10,29 +10,30 @@ GPS home position in WGS84 coordinates. ## Fields -| 명칭 | 형식 | Unit [Frame] | Range/Enum | 설명 | -| -------------------------------------------------------------- | --------- | ---------------------------------------------------------------- | ---------- | ------------------------------------------------------------------ | -| timestamp | `uint64` | | | time since system start (microseconds) | -| lat | `float64` | | | Latitude in degrees | -| lon | `float64` | | | Longitude in degrees | -| alt | `float32` | | | Altitude in meters (AMSL) | -| x | `float32` | | | X coordinate in meters | -| y | `float32` | | | Y coordinate in meters | -| z | `float32` | | | Z coordinate in meters | -| roll | `float32` | | | Pitch angle in radians | -| pitch | `float32` | | | Roll angle in radians | -| yaw | `float32` | | | Yaw angle in radians | -| valid_alt | `bool` | | | true when the altitude has been set | -| valid_hpos | `bool` | | | true when the latitude and longitude have been set | -| valid_lpos | `bool` | | | true when the local position (xyz) has been set | -| manual_home | `bool` | | | true when home position was set manually | -| update_count | `uint32` | | | update counter of the home position | +| 명칭 | 형식 | Unit [Frame] | Range/Enum | 설명 | +| ------------------------------------------------------------------ | --------- | ---------------------------------------------------------------- | ---------- | ---------------------------------------------------------------------------- | +| timestamp | `uint64` | | | time since system start (microseconds) | +| lat | `float64` | | | Latitude in degrees | +| lon | `float64` | | | Longitude in degrees | +| alt | `float32` | | | Altitude in meters (AMSL) | +| x | `float32` | | | X coordinate in meters | +| y | `float32` | | | Y coordinate in meters | +| z | `float32` | | | Z coordinate in meters | +| roll | `float32` | | | Roll angle in radians | +| pitch | `float32` | | | Pitch angle in radians | +| yaw | `float32` | | | Yaw angle in radians | +| valid_alt | `bool` | | | true when the altitude has been set | +| valid_hpos | `bool` | | | true when the latitude and longitude have been set | +| valid_lpos | `bool` | | | true when the local position (xyz) has been set | +| valid_attitude | `bool` | | | true when the orientation (roll, pitch, yaw) has been set | +| manual_home | `bool` | | | true when home position was set manually | +| update_count | `uint32` | | | update counter of the home position | ## Constants | 명칭 | 형식 | Value | 설명 | | ------------------------------------------------------------------ | -------- | ----- | -- | -| MESSAGE_VERSION | `uint32` | 1 | | +| MESSAGE_VERSION | `uint32` | 2 | | ## Source Message @@ -44,7 +45,7 @@ Click here to see original file ```c # GPS home position in WGS84 coordinates. -uint32 MESSAGE_VERSION = 1 +uint32 MESSAGE_VERSION = 2 uint64 timestamp # time since system start (microseconds) @@ -56,13 +57,14 @@ float32 x # X coordinate in meters float32 y # Y coordinate in meters float32 z # Z coordinate in meters -float32 roll # Pitch angle in radians -float32 pitch # Roll angle in radians +float32 roll # Roll angle in radians +float32 pitch # Pitch angle in radians float32 yaw # Yaw angle in radians bool valid_alt # true when the altitude has been set bool valid_hpos # true when the latitude and longitude have been set bool valid_lpos # true when the local position (xyz) has been set +bool valid_attitude # true when the orientation (roll, pitch, yaw) has been set bool manual_home # true when home position was set manually diff --git a/docs/ko/msg_docs/HomePositionV1.md b/docs/ko/msg_docs/HomePositionV1.md new file mode 100644 index 00000000000..7baaa063337 --- /dev/null +++ b/docs/ko/msg_docs/HomePositionV1.md @@ -0,0 +1,72 @@ +--- +pageClass: is-wide-page +--- + +# HomePositionV1 (UORB message) + +GPS home position in WGS84 coordinates. + +**TOPICS:** home_position_v1 + +## Fields + +| 명칭 | 형식 | Unit [Frame] | Range/Enum | 설명 | +| -------------------------------------------------------------- | --------- | ---------------------------------------------------------------- | ---------- | ------------------------------------------------------------------ | +| timestamp | `uint64` | | | time since system start (microseconds) | +| lat | `float64` | | | Latitude in degrees | +| lon | `float64` | | | Longitude in degrees | +| alt | `float32` | | | Altitude in meters (AMSL) | +| x | `float32` | | | X coordinate in meters | +| y | `float32` | | | Y coordinate in meters | +| z | `float32` | | | Z coordinate in meters | +| roll | `float32` | | | Pitch angle in radians | +| pitch | `float32` | | | Roll angle in radians | +| yaw | `float32` | | | Yaw angle in radians | +| valid_alt | `bool` | | | true when the altitude has been set | +| valid_hpos | `bool` | | | true when the latitude and longitude have been set | +| valid_lpos | `bool` | | | true when the local position (xyz) has been set | +| manual_home | `bool` | | | true when home position was set manually | +| update_count | `uint32` | | | update counter of the home position | + +## Constants + +| 명칭 | 형식 | Value | 설명 | +| ------------------------------------------------------------------ | -------- | ----- | -- | +| MESSAGE_VERSION | `uint32` | 1 | | + +## Source Message + +[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/px4_msgs_old/msg/HomePositionV1.msg) + +:::details +Click here to see original file + +```c +# GPS home position in WGS84 coordinates. + +uint32 MESSAGE_VERSION = 1 + +uint64 timestamp # time since system start (microseconds) + +float64 lat # Latitude in degrees +float64 lon # Longitude in degrees +float32 alt # Altitude in meters (AMSL) + +float32 x # X coordinate in meters +float32 y # Y coordinate in meters +float32 z # Z coordinate in meters + +float32 roll # Pitch angle in radians +float32 pitch # Roll angle in radians +float32 yaw # Yaw angle in radians + +bool valid_alt # true when the altitude has been set +bool valid_hpos # true when the latitude and longitude have been set +bool valid_lpos # true when the local position (xyz) has been set + +bool manual_home # true when home position was set manually + +uint32 update_count # update counter of the home position +``` + +::: diff --git a/docs/ko/msg_docs/TransponderReport.md b/docs/ko/msg_docs/TransponderReport.md index 1f687455a17..11b748b2fe9 100644 --- a/docs/ko/msg_docs/TransponderReport.md +++ b/docs/ko/msg_docs/TransponderReport.md @@ -4,39 +4,41 @@ pageClass: is-wide-page # TransponderReport (UORB message) +Transponder report. + +ADSB report closely matching MAVLink's ADSB_VEHICLE (246) message with few internal extra fields at the end. +Populated by ADSB receivers, processed for user messaging and navigator, logging and republishing ADSB information. + **TOPICS:** transponder_report ## Fields -| 명칭 | 형식 | Unit [Frame] | Range/Enum | 설명 | -| ---------------------------------------------------------------- | ----------- | ---------------------------------------------------------------- | ---------- | --------------------------------------------------------------------------- | -| timestamp | `uint64` | | | time since system start (microseconds) | -| icao_address | `uint32` | | | ICAO address | -| lat | `float64` | | | Latitude, expressed as degrees | -| lon | `float64` | | | Longitude, expressed as degrees | -| altitude_type | `uint8` | | | Type from ADSB_ALTITUDE_TYPE enum | -| altitude | `float32` | | | Altitude(ASL) in meters | -| heading | `float32` | | | Course over ground in radians, 0 to 2pi, 0 is north | -| hor_velocity | `float32` | | | The horizontal velocity in m/s | -| ver_velocity | `float32` | | | The vertical velocity in m/s, positive is up | -| callsign | `char[9]` | | | The callsign, 8+null | -| emitter_type | `uint8` | | | Type from ADSB_EMITTER_TYPE enum | -| tslc | `uint8` | | | Time since last communication in seconds | -| flags | `uint16` | | | Flags to indicate various statuses including valid data fields | -| squawk | `uint16` | | | Squawk code | -| uas_id | `uint8[18]` | | | Unique UAS ID | +| 명칭 | 형식 | Unit [Frame] | Range/Enum | 설명 | +| ---------------------------------------------------------------- | ----------- | ---------------------------------------------------------------- | --------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| timestamp | `uint64` | us | | Time since system start | +| icao_address | `uint32` | | | ICAO address | +| lat | `float64` | deg | | Latitude, validity flag: PX4_ADSB_FLAGS_VALID_COORDS | +| lon | `float64` | deg | | Longitude, validity flag: PX4_ADSB_FLAGS_VALID_COORDS | +| altitude_type | `uint8` | | | Type from ADSB_ALTITUDE_TYPE enum | +| altitude | `float32` | m | | Altitude (ASL), validity flag: PX4_ADSB_FLAGS_VALID_ALTITUDE | +| heading | `float32` | rad | | Course over ground, 0 to 2pi, 0 is north, validity flag: PX4_ADSB_FLAGS_VALID_HEADING | +| hor_velocity | `float32` | m/s | | Horizontal velocity, validity flag: PX4_ADSB_FLAGS_VALID_VELOCITY | +| ver_velocity | `float32` | m/s | | Vertical velocity, positive is up, validity flag: PX4_ADSB_FLAGS_VALID_VELOCITY | +| callsign | `char[9]` | | | The callsign, 8+null, validity flag: PX4_ADSB_FLAGS_VALID_CALLSIGN | +| emitter_type | `uint8` | | [ADSB_EMITTER_TYPE](#ADSB_EMITTER_TYPE) | Type matching MAVLink's ADSB_EMITTER_TYPE enum | +| tslc | `uint8` | s | | Time since last communication | +| flags | `uint16` | | [PX4_ADSB_FLAGS](#PX4_ADSB_FLAGS) | Flags matching MAVLink's ADSB_FLAGS bitmask | +| squawk | `uint16` | | | Squawk code, validity flag: PX4_ADSB_FLAGS_VALID_SQUAWK | +| uas_id | `uint8[18]` | | | Unique UAS ID, not part of ADSB_VEHICLE MAVLink message | -## Constants +## Enums + +### ADSB_EMITTER_TYPE {#ADSB_EMITTER_TYPE} + +Used in field(s): [emitter_type](#fld_emitter_type) | 명칭 | 형식 | Value | 설명 | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ----- | -- | -| PX4_ADSB_FLAGS_VALID_COORDS | `uint16` | 1 | | -| PX4_ADSB_FLAGS_VALID_ALTITUDE | `uint16` | 2 | | -| PX4_ADSB_FLAGS_VALID_HEADING | `uint16` | 4 | | -| PX4_ADSB_FLAGS_VALID_VELOCITY | `uint16` | 8 | | -| PX4_ADSB_FLAGS_VALID_CALLSIGN | `uint16` | 16 | | -| PX4_ADSB_FLAGS_VALID_SQUAWK | `uint16` | 32 | | -| PX4_ADSB_FLAGS_RETRANSLATE | `uint16` | 256 | | | ADSB_EMITTER_TYPE_NO_INFO | `uint16` | 0 | | | ADSB_EMITTER_TYPE_LIGHT | `uint16` | 1 | | | ADSB_EMITTER_TYPE_SMALL | `uint16` | 2 | | @@ -58,7 +60,29 @@ pageClass: is-wide-page | ADSB_EMITTER_TYPE_SERVICE_SURFACE | `uint16` | 18 | | | ADSB_EMITTER_TYPE_POINT_OBSTACLE | `uint16` | 19 | | | ADSB_EMITTER_TYPE_ENUM_END | `uint16` | 20 | | -| ORB_QUEUE_LENGTH | `uint8` | 16 | | + +### PX4_ADSB_FLAGS {#PX4_ADSB_FLAGS} + +Used in field(s): [flags](#fld_flags) + +| 명칭 | 형식 | Value | 설명 | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ----- | -- | +| PX4_ADSB_FLAGS_VALID_COORDS | `uint16` | 1 | | +| PX4_ADSB_FLAGS_VALID_ALTITUDE | `uint16` | 2 | | +| PX4_ADSB_FLAGS_VALID_HEADING | `uint16` | 4 | | +| PX4_ADSB_FLAGS_VALID_VELOCITY | `uint16` | 8 | | +| PX4_ADSB_FLAGS_VALID_CALLSIGN | `uint16` | 16 | | +| PX4_ADSB_FLAGS_VALID_SQUAWK | `uint16` | 32 | | +| PX4_ADSB_FLAGS_SIMULATED | `uint16` | 64 | | +| PX4_ADSB_FLAGS_VERTICAL_VELOCITY_VALID | `uint16` | 128 | | +| PX4_ADSB_FLAGS_BARO_VALID | `uint16` | 256 | | +| PX4_ADSB_FLAGS_SOURCE_UAT | `uint16` | 32768 | | + +## Constants + +| 명칭 | 형식 | Value | 설명 | +| ----------------------------------------------------------------------------------------- | ------- | ----- | -- | +| ORB_QUEUE_LENGTH | `uint8` | 16 | | ## Source Message @@ -68,33 +92,24 @@ pageClass: is-wide-page Click here to see original file ```c -uint64 timestamp # time since system start (microseconds) -uint32 icao_address # ICAO address -float64 lat # Latitude, expressed as degrees -float64 lon # Longitude, expressed as degrees -uint8 altitude_type # Type from ADSB_ALTITUDE_TYPE enum -float32 altitude # Altitude(ASL) in meters -float32 heading # Course over ground in radians, 0 to 2pi, 0 is north -float32 hor_velocity # The horizontal velocity in m/s -float32 ver_velocity # The vertical velocity in m/s, positive is up -char[9] callsign # The callsign, 8+null -uint8 emitter_type # Type from ADSB_EMITTER_TYPE enum -uint8 tslc # Time since last communication in seconds -uint16 flags # Flags to indicate various statuses including valid data fields -uint16 squawk # Squawk code -uint8[18] uas_id # Unique UAS ID +# Transponder report +# +# ADSB report closely matching MAVLink's ADSB_VEHICLE (246) message with few internal extra fields at the end. +# Populated by ADSB receivers, processed for user messaging and navigator, logging and republishing ADSB information. -# ADSB flags -uint16 PX4_ADSB_FLAGS_VALID_COORDS = 1 -uint16 PX4_ADSB_FLAGS_VALID_ALTITUDE = 2 -uint16 PX4_ADSB_FLAGS_VALID_HEADING = 4 -uint16 PX4_ADSB_FLAGS_VALID_VELOCITY = 8 -uint16 PX4_ADSB_FLAGS_VALID_CALLSIGN = 16 -uint16 PX4_ADSB_FLAGS_VALID_SQUAWK = 32 -uint16 PX4_ADSB_FLAGS_RETRANSLATE = 256 +uint64 timestamp # [us] Time since system start -#ADSB Emitter Data: -#from mavlink/v2.0/common/common.h +uint32 icao_address # [-] ICAO address +float64 lat # [deg] Latitude, validity flag: PX4_ADSB_FLAGS_VALID_COORDS +float64 lon # [deg] Longitude, validity flag: PX4_ADSB_FLAGS_VALID_COORDS +uint8 altitude_type # Type from ADSB_ALTITUDE_TYPE enum +float32 altitude # [m] Altitude (ASL), validity flag: PX4_ADSB_FLAGS_VALID_ALTITUDE +float32 heading # [rad] Course over ground, 0 to 2pi, 0 is north, validity flag: PX4_ADSB_FLAGS_VALID_HEADING +float32 hor_velocity # [m/s] Horizontal velocity, validity flag: PX4_ADSB_FLAGS_VALID_VELOCITY +float32 ver_velocity # [m/s] Vertical velocity, positive is up, validity flag: PX4_ADSB_FLAGS_VALID_VELOCITY +char[9] callsign # The callsign, 8+null, validity flag: PX4_ADSB_FLAGS_VALID_CALLSIGN + +uint8 emitter_type # [@enum ADSB_EMITTER_TYPE] Type matching MAVLink's ADSB_EMITTER_TYPE enum uint16 ADSB_EMITTER_TYPE_NO_INFO=0 uint16 ADSB_EMITTER_TYPE_LIGHT=1 uint16 ADSB_EMITTER_TYPE_SMALL=2 @@ -117,6 +132,24 @@ uint16 ADSB_EMITTER_TYPE_SERVICE_SURFACE=18 uint16 ADSB_EMITTER_TYPE_POINT_OBSTACLE=19 uint16 ADSB_EMITTER_TYPE_ENUM_END=20 +uint8 tslc # [s] Time since last communication + +uint16 flags # [@enum PX4_ADSB_FLAGS] Flags matching MAVLink's ADSB_FLAGS bitmask +uint16 PX4_ADSB_FLAGS_VALID_COORDS = 1 +uint16 PX4_ADSB_FLAGS_VALID_ALTITUDE = 2 +uint16 PX4_ADSB_FLAGS_VALID_HEADING = 4 +uint16 PX4_ADSB_FLAGS_VALID_VELOCITY = 8 +uint16 PX4_ADSB_FLAGS_VALID_CALLSIGN = 16 +uint16 PX4_ADSB_FLAGS_VALID_SQUAWK = 32 +uint16 PX4_ADSB_FLAGS_SIMULATED = 64 +uint16 PX4_ADSB_FLAGS_VERTICAL_VELOCITY_VALID = 128 +uint16 PX4_ADSB_FLAGS_BARO_VALID = 256 +uint16 PX4_ADSB_FLAGS_SOURCE_UAT = 32768 + +uint16 squawk # [-] Squawk code, validity flag: PX4_ADSB_FLAGS_VALID_SQUAWK + +uint8[18] uas_id # [-] Unique UAS ID, not part of ADSB_VEHICLE MAVLink message + uint8 ORB_QUEUE_LENGTH = 16 ``` diff --git a/docs/ko/msg_docs/index.md b/docs/ko/msg_docs/index.md index 74a9cef26ac..bedfa212bd3 100644 --- a/docs/ko/msg_docs/index.md +++ b/docs/ko/msg_docs/index.md @@ -64,6 +64,7 @@ Graphs showing how these are used [can be found here](../middleware/uorb_graph.m - [ConfigOverridesV0](ConfigOverridesV0.md) — Configurable overrides by (external) modes or mode executors. - [EventV0](EventV0.md) — this message is required here in the msg_old folder because other msg are depending on it. Events interface. - [HomePositionV0](HomePositionV0.md) — GPS home position in WGS84 coordinates. +- [HomePositionV1](HomePositionV1.md) — GPS home position in WGS84 coordinates. - [RegisterExtComponentReplyV0](RegisterExtComponentReplyV0.md) - [RegisterExtComponentRequestV0](RegisterExtComponentRequestV0.md) — Request to register an external component. - [RegisterExtComponentRequestV1](RegisterExtComponentRequestV1.md) — Request to register an external component. @@ -272,7 +273,7 @@ Graphs showing how these are used [can be found here](../middleware/uorb_graph.m - [TiltrotorExtraControls](TiltrotorExtraControls.md) - [TimesyncStatus](TimesyncStatus.md) - [TrajectorySetpoint6dof](TrajectorySetpoint6dof.md) — Trajectory setpoint in NED frame. Input to position controller. -- [TransponderReport](TransponderReport.md) +- [TransponderReport](TransponderReport.md) — Transponder report. - [TuneControl](TuneControl.md) — This message is used to control the tunes, when the tune_id is set to CUSTOM. then the frequency, duration are used otherwise those values are ignored. - [UavcanParameterRequest](UavcanParameterRequest.md) — UAVCAN-MAVLink parameter bridge request type. - [UavcanParameterValue](UavcanParameterValue.md) — UAVCAN-MAVLink parameter bridge response type. diff --git a/docs/ko/peripherals/adsb_flarm.md b/docs/ko/peripherals/adsb_flarm.md index 474fb7aecc3..0888a501baf 100644 --- a/docs/ko/peripherals/adsb_flarm.md +++ b/docs/ko/peripherals/adsb_flarm.md @@ -176,21 +176,21 @@ These parameters use the same action scale: Most users can start with the default F3442 volume parameters and tune them only if needed. See [Detect and Avoid > F3442 Mode](../advanced_features/detect_and_avoid.md#f3442-mode), which also includes the zone-computation equations. -### Arming Check +### Arming Check and Failsafe -PX4 can be configured to check for the presence of a traffic avoidance system (for example an ADS-B or FLARM receiver) before arming. -This ensures that a traffic avoidance system is connected and functioning before flight. +PX4 can be configured to warn about, or require, a traffic avoidance system (for example an ADS-B or FLARM receiver), and to trigger a failsafe if the system stops sending MAVLink heartbeats in flight. This check only verifies that a traffic source is present. It is separate from DAA rejecting arming because active traffic already requires an automatic action; that behavior is described in [Detect and Avoid > Arming, Preflight, and Ground Behavior](../advanced_features/detect_and_avoid.md#arming-preflight-and-ground-behavior). -The check is configured using the [COM_ARM_TRAFF](../advanced_config/parameter_reference.md#COM_ARM_TRAFF) parameter: +The behavior is configured using the [COM_TRAFF_AVOID](../advanced_config/parameter_reference.md#COM_TRAFF_AVOID) parameter: -| Value | 설명 | -| ----- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | -| 0 | Disabled (default). No check is performed. | -| 1 | Warning only. A warning is issued if no traffic avoidance system is detected, but arming is allowed. | -| 2 | Enforce for all modes. Arming is denied if no traffic avoidance system is detected, regardless of flight mode. | -| 3 | Enforce for mission modes only. Arming is denied if no traffic avoidance system is detected and a mission mode is planned. | +| Value | 설명 | +| ----- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| 0 | Disabled (default). No check is performed. | +| 1 | Warning (allow arming). Arming is allowed even if no traffic avoidance system is detected; a warning is issued if it is missing or lost in flight. | +| 2 | Error (block arming). Arming is denied while no traffic avoidance system is detected, and a warning is issued if it is lost in flight. | +| 3 | Return. Arming is denied while no traffic avoidance system is detected, and the vehicle returns if it is lost in flight. | +| 4 | Land. Arming is denied while no traffic avoidance system is detected, and the vehicle lands if it is lost in flight. | When a traffic avoidance system is detected, the system tracks its presence with a 3-second timeout. If the system is lost or regained, corresponding events are logged ("Traffic avoidance system lost" / "Traffic avoidance system regained"). diff --git a/docs/ko/releases/1.18.md b/docs/ko/releases/1.18.md index c5a04fe047f..488ee07ac82 100644 --- a/docs/ko/releases/1.18.md +++ b/docs/ko/releases/1.18.md @@ -185,7 +185,7 @@ For users upgrading from v1.17, please take a moment to review the following bef ## 안전 설정 - Rotary-wing vehicles now support uncommanded altitude loss detection: if the vehicle descends more than [FD_ALT_LOSS](../advanced_config/parameter_reference.md#FD_ALT_LOSS) meters below its setpoint in altitude-controlled flight, flight termination (and parachute deployment) is triggered. See [Altitude Loss Trigger](../config/safety.md#altitude-loss-trigger). ([PX4-Autopilot#26837](https://github.com/PX4/PX4-Autopilot/pull/26837)) -- [Parachute health failsafe](../peripherals/parachute.md): extended [COM_PARACHUTE](../advanced_config/parameter_reference.md#COM_PARACHUTE) from a boolean into a configurable in-flight failsafe action (Return or Land) parameter. The previously enabled value `COM_PARACHUTE=1` causes a warning like before. ([PX4-Autopilot#26918](https://github.com/PX4/PX4-Autopilot/pull/26918)) +- [Parachute health failsafe](../peripherals/parachute.md): extended [COM_PARACHUTE](../advanced_config/parameter_reference.md#COM_PARACHUTE) from a boolean into a configurable arming check and in-flight failsafe action parameter (Warning, Error, Return, or Land). The previously enabled value `COM_PARACHUTE=1` (Warning) now only warns without preventing arming; use `COM_PARACHUTE=2` (Error) or higher to prevent arming when the parachute system is missing or unhealthy. ([PX4-Autopilot#26918](https://github.com/PX4/PX4-Autopilot/pull/26918)) - [GNSS check failsafe](../config/safety.md#gnss-check-failsafe): new failsafe that monitors the number of usable GNSS receivers with a 3D fix and their position consistency. The required number of receivers is set via [SYS_HAS_NUM_GNSS](../advanced_config/parameter_reference.md#SYS_HAS_NUM_GNSS) and the failsafe action via [COM_GNSSLOSS_ACT](../advanced_config/parameter_reference.md#COM_GNSSLOSS_ACT). ([PX4-Autopilot#26863](https://github.com/PX4/PX4-Autopilot/pull/26863)) - New companion computer over-temperature warning: [COM_CC_TEMP_WARN](../advanced_config/parameter_reference.md#COM_CC_TEMP_WARN) (default `80` C, set `-1` to disable) raises a warning when the reported companion computer temperature exceeds the threshold. ([PX4-Autopilot#27637](https://github.com/PX4/PX4-Autopilot/pull/27637)) - New ESC over-temperature warning: [COM_ESC_OT_WARN](../advanced_config/parameter_reference.md#COM_ESC_OT_WARN) (default `90` C, set `-1` to disable) raises a warning when a reported ESC temperature exceeds the threshold. ([PX4-Autopilot#27626](https://github.com/PX4/PX4-Autopilot/pull/27626)) diff --git a/docs/ko/releases/main.md b/docs/ko/releases/main.md index 7d1696b7a6d..9f813aa82ee 100644 --- a/docs/ko/releases/main.md +++ b/docs/ko/releases/main.md @@ -30,6 +30,8 @@ Please continue reading for [upgrade instructions](#upgrade-guide). ## Upgrade Guide +- `COM_ARM_TRAFF` has been replaced by `COM_TRAFF_AVOID`. The old value 3 ("enforce for mission modes only") is migrated to `COM_TRAFF_AVOID=2`, which blocks arming in all modes, not just mission modes. If you relied on being able to arm manually with traffic detected, set `COM_TRAFF_AVOID=1` (warning only) instead. + ## Other changes - Fast mission Return modes ([RTL_TYPE](../advanced_config/parameter_reference.md#RTL_TYPE) = 2 and 4) now skip `DO_JUMP` commands (loops) while following the mission path. ([PX4-Autopilot#26993: fix(navigator): goToNextPositionItem skip loops when required](https://github.com/PX4/PX4-Autopilot/pull/26993)) @@ -48,7 +50,7 @@ Please continue reading for [upgrade instructions](#upgrade-guide). ### 안전 설정 -- TBD +- [Geofence Aware Return mode](../flight_modes/return.md#geofence_awareness). ([PX4-Autopilot#27145: feat(navigator): Geofence Aware RTL](https://github.com/PX4/PX4-Autopilot/pull/27145), [PX4-Autopilot#28001: docs(navigator): [geofence] added some more warnings about limitations](https://github.com/PX4/PX4-Autopilot/pull/28001)). ### Estimation diff --git a/docs/ko/telemetry/crsf_telemetry.md b/docs/ko/telemetry/crsf_telemetry.md index ee024e976d7..94318720b85 100644 --- a/docs/ko/telemetry/crsf_telemetry.md +++ b/docs/ko/telemetry/crsf_telemetry.md @@ -211,7 +211,12 @@ The supported telemetry messages and their source are listed below (this table i | Roll | FC Roll angle | FC | | Yaw | FC Yaw angle | FC | | FM | Flight mode | FC | -| VSPD | 기압계 | FC | +| Alt | Altitude above the local origin (takeoff point) | FC | +| VSpd | Vertical speed | FC | + +:::info +`GAlt` (in the GPS sensor) is GPS altitude above mean sea level, while `Alt`/`VSpd` are PX4's fused local altitude and climb rate relative to the estimator origin (roughly the takeoff point). PX4 sends these in the CRSF barometric-altitude frame, so despite the frame name the value is not a raw barometer reading. `VSpd` uses the linear vertical-speed form, which requires a recent EdgeTX (2.9+); the altitude displays on EdgeTX 2.7.1 and later. +::: ## See Also