From 98fefd3bebe0e67fccc375b574dbaf0505e9116c Mon Sep 17 00:00:00 2001 From: PX4 Build Bot Date: Tue, 13 Oct 2026 01:40:09 +1100 Subject: [PATCH] docs(i18n): PX4 guide translations (Crowdin) - ko (#28765) Co-authored-by: Crowdin Bot --- docs/ko/SUMMARY.md | 22 +- docs/ko/actuators/index.md | 2 + .../actuators/internal_combustion_engine.md | 339 +++++++++++++++ docs/ko/advanced/gimbal_control.md | 25 +- docs/ko/advanced/pps_time_sync.md | 4 +- .../gnss_degraded_or_denied_flight.md | 2 +- docs/ko/advanced_config/prearm_arm_disarm.md | 152 ++++--- docs/ko/advanced_config/tuning_the_ecl_ekf.md | 50 +-- docs/ko/advanced_features/detect_and_avoid.md | 4 +- docs/ko/advanced_features/precland.md | 24 +- .../vision_target_estimator.md | 4 +- .../vision_target_estimator_advanced.md | 10 +- docs/ko/assembly/mount_gps_compass.md | 2 +- docs/ko/camera/airpixel_tag_e.md | 68 +++ docs/ko/camera/mavlink_v2_camera.md | 21 +- .../ark_jetson_pab_carrier.md | 4 +- .../video_streaming_wfb_ng_wifi.md | 2 +- docs/ko/concept/events_interface.md | 2 +- docs/ko/config/safety.md | 16 +- .../config_mc/pid_tuning_guide_multicopter.md | 1 + docs/ko/config_mc/racer_setup.md | 1 + docs/ko/contribute/ai_assistants.md | 4 + docs/ko/contribute/git_examples.md | 8 +- docs/ko/contribute/maintainers.md | 1 + docs/ko/debug/consoles.md | 7 +- docs/ko/debug/dronecan_shell.md | 88 ++++ docs/ko/debug/failure_injection.md | 51 ++- docs/ko/debug/simulation_debugging.md | 6 +- docs/ko/debug/system_wide_replay.md | 4 +- docs/ko/dev_log/logging.md | 4 +- docs/ko/dev_setup/building_px4.md | 27 +- docs/ko/dev_setup/dev_env_linux_arch.md | 4 +- docs/ko/dev_setup/dev_env_linux_ubuntu.md | 2 +- docs/ko/dev_setup/dev_env_mac.md | 10 +- docs/ko/dev_setup/dev_env_windows_cygwin.md | 8 +- docs/ko/dev_setup/dev_env_windows_vm.md | 4 +- docs/ko/dev_setup/sitl_container_builds.md | 20 +- docs/ko/dronecan/ark_dist.md | 2 - docs/ko/dronecan/ark_dist_mr.md | 2 - docs/ko/dronecan/ark_flow.md | 1 - docs/ko/dronecan/ark_flow_mr.md | 1 - docs/ko/dronecan/ark_g5_rtk_gps.md | 2 +- docs/ko/dronecan/ark_g5_rtk_heading_gps.md | 27 +- docs/ko/dronecan/ark_gps.md | 2 +- docs/ko/dronecan/ark_rtk_gps.md | 17 +- docs/ko/dronecan/ark_rtk_gps_l1_l2.md | 4 +- docs/ko/dronecan/ark_x20_rtk_gps.md | 4 +- docs/ko/dronecan/holybro_h_rtk_zed_f9p_gps.md | 2 +- docs/ko/dronecan/holybro_m8n_gps.md | 2 +- docs/ko/dronecan/index.md | 16 +- docs/ko/dronecan/px4_cannode_fw.md | 14 + docs/ko/dronecan/smartmicro_t132.md | 1 - docs/ko/features_mc/gain_compression.md | 28 ++ docs/ko/features_mc/index.md | 1 + docs/ko/flight_controller/agam_v6xrt.md | 6 +- docs/ko/flight_controller/ark_pab.md | 2 +- docs/ko/flight_controller/ark_v6xrt.md | 2 +- .../autopilot_manufacturer_supported.md | 1 + docs/ko/flight_controller/corvon_743v1.md | 2 +- docs/ko/flight_controller/corvon_743v2.md | 4 +- docs/ko/flight_controller/corvon_v5.md | 6 +- docs/ko/flight_controller/cuav_nora.md | 8 +- docs/ko/flight_controller/nwblue_pro-h757.md | 4 +- docs/ko/flight_controller/zenfc_h743.md | 151 +++++++ docs/ko/flight_modes/offboard.md | 31 +- docs/ko/flight_modes/return.md | 12 +- docs/ko/flight_modes_fw/mission.md | 4 +- docs/ko/flight_modes_fw/return.md | 2 +- docs/ko/flight_modes_mc/mission.md | 2 + docs/ko/flight_modes_mc/return.md | 4 +- docs/ko/flight_modes_rover/index.md | 13 +- docs/ko/flight_modes_rover/manual.md | 46 +- docs/ko/flight_modes_vtol/return.md | 8 +- docs/ko/flying/package_delivery_mission.md | 8 +- docs/ko/getting_started/px4_basic_concepts.md | 2 +- docs/ko/gps_compass/index.md | 2 +- docs/ko/gps_compass/rtk_gps.md | 25 +- docs/ko/gps_compass/rtk_gps_cuav_c-rtk-9ps.md | 2 +- docs/ko/gps_compass/rtk_gps_cuav_c-rtk2.md | 4 +- docs/ko/gps_compass/rtk_gps_fem_mini2.md | 3 - .../rtk_gps_holybro_unicore_um982.md | 3 +- docs/ko/gps_compass/rtk_gps_trimble_mb_two.md | 13 +- docs/ko/gps_compass/septentrio.md | 4 +- docs/ko/gps_compass/septentrio_asterx-rib.md | 2 +- docs/ko/gps_compass/septentrio_mosaic-go.md | 2 +- docs/ko/gps_compass/u-blox_f9p_heading.md | 8 +- docs/ko/hardware/porting_guide_nuttx.md | 16 +- docs/ko/index.md | 5 + docs/ko/mavlink/message_signing.md | 15 +- docs/ko/mavlink/security_hardening.md | 35 +- docs/ko/middleware/dds_topics.md | 8 +- docs/ko/middleware/uxrce_dds.md | 20 +- docs/ko/middleware/zenoh.md | 8 + docs/ko/modules/modules_command.md | 2 +- docs/ko/modules/modules_controller.md | 2 +- docs/ko/modules/modules_driver.md | 4 +- docs/ko/modules/modules_system.md | 59 +-- docs/ko/msg_docs/Airspeed.md | 16 +- docs/ko/msg_docs/ArmingCheckReply.md | 4 +- docs/ko/msg_docs/BatteryStatus.md | 4 +- .../msg_docs/ExternalGimbalManagerStatus.md | 56 +++ docs/ko/msg_docs/FailsafeFlags.md | 100 ++--- .../FixedWingLateralGuidanceStatus.md | 4 +- docs/ko/msg_docs/GeofenceStatus.md | 2 + docs/ko/msg_docs/GimbalManagerSetPitchyaw.md | 70 +++ .../InternalCombustionEngineControl.md | 44 +- .../LongitudinalControlConfiguration.md | 28 +- docs/ko/msg_docs/ManualControlSwitches.md | 4 +- docs/ko/msg_docs/PpsCapture.md | 4 +- docs/ko/msg_docs/RtcmData.md | 6 +- docs/ko/msg_docs/RtlStatus.md | 20 +- docs/ko/msg_docs/RtlTimeEstimate.md | 4 +- docs/ko/msg_docs/SensorGnss.md | 247 +++++++++++ docs/ko/msg_docs/SensorGnssSpectrum.md | 6 +- docs/ko/msg_docs/SensorGps.md | 87 ++-- docs/ko/msg_docs/SensorsStatusGnss.md | 64 +++ docs/ko/msg_docs/TelemetryStatus.md | 8 +- docs/ko/msg_docs/VehicleCommand.md | 30 +- docs/ko/msg_docs/VehicleGlobalPosition.md | 4 +- docs/ko/msg_docs/VehicleGnss.md | 89 ++++ docs/ko/msg_docs/VehicleGnssHeading.md | 55 +++ docs/ko/msg_docs/VehicleStatus.md | 96 ++--- docs/ko/msg_docs/Vtx.md | 6 +- docs/ko/msg_docs/index.md | 14 +- docs/ko/neural_networks/tflm.md | 3 + docs/ko/peripherals/dshot.md | 24 +- docs/ko/releases/1.18.md | 13 +- docs/ko/releases/main.md | 37 +- docs/ko/ros/mavros_custom_messages.md | 4 +- docs/ko/ros2/multi_vehicle.md | 8 +- docs/ko/ros2/px4_ros2_control_interface.md | 8 +- docs/ko/ros2/px4_ros2_waypoint_missions.md | 6 +- docs/ko/security/index.md | 26 ++ docs/ko/sensor/airspeed.md | 2 +- docs/ko/sensor/barometer.md | 2 +- docs/ko/sensor/inertiallabs.md | 2 +- docs/ko/sensor/microstrain.md | 2 +- docs/ko/sensor/rangefinders.md | 2 +- docs/ko/sensor/sbgecom.md | 2 +- docs/ko/sensor/vectornav.md | 2 +- docs/ko/sim_gazebo_gz/index.md | 2 +- .../sim_gazebo_gz/multi_vehicle_simulation.md | 6 +- docs/ko/sim_gazebo_gz/worlds.md | 2 +- docs/ko/sim_jmavsim/index.md | 402 +----------------- docs/ko/sim_jmavsim/multi_vehicle.md | 54 +-- docs/ko/sim_sih/hardware.md | 15 +- docs/ko/sim_sih/index.md | 2 +- .../community_supported_simulators.md | 1 - docs/ko/simulation/failsafes.md | 2 +- docs/ko/simulation/hardware.md | 4 +- docs/ko/simulation/hitl.md | 45 +- docs/ko/simulation/index.md | 12 +- .../ko/simulation/multi-vehicle-simulation.md | 3 - docs/ko/test_and_ci/ai_review.md | 110 +++++ docs/ko/test_and_ci/bench_testing.md | 2 +- docs/ko/test_and_ci/index.md | 1 + .../test_and_ci/integration_testing_mavsdk.md | 14 +- docs/ko/test_cards/fw_02_full_autonomous.md | 12 +- docs/ko/test_cards/mc_02_full_autonomous.md | 16 +- docs/ko/test_cards/mc_03_auto_manual_mix.md | 4 +- docs/ko/uart/serial_passthrough.md | 86 +++- docs/ko/vtx/index.md | 15 +- 162 files changed, 2460 insertions(+), 1254 deletions(-) create mode 100644 docs/ko/actuators/internal_combustion_engine.md create mode 100644 docs/ko/camera/airpixel_tag_e.md create mode 100644 docs/ko/debug/dronecan_shell.md create mode 100644 docs/ko/features_mc/gain_compression.md create mode 100644 docs/ko/flight_controller/zenfc_h743.md create mode 100644 docs/ko/msg_docs/ExternalGimbalManagerStatus.md create mode 100644 docs/ko/msg_docs/GimbalManagerSetPitchyaw.md create mode 100644 docs/ko/msg_docs/SensorGnss.md create mode 100644 docs/ko/msg_docs/SensorsStatusGnss.md create mode 100644 docs/ko/msg_docs/VehicleGnss.md create mode 100644 docs/ko/msg_docs/VehicleGnssHeading.md create mode 100644 docs/ko/security/index.md create mode 100644 docs/ko/test_and_ci/ai_review.md diff --git a/docs/ko/SUMMARY.md b/docs/ko/SUMMARY.md index b3b3379952d..2781c3feefa 100644 --- a/docs/ko/SUMMARY.md +++ b/docs/ko/SUMMARY.md @@ -32,6 +32,7 @@ - [Vision Target Estimator Deep Dive](advanced_features/vision_target_estimator_advanced.md) - [지형 추적 및 유지](flying/terrain_following_holding.md) - [Throw Launch](flight_modes_mc/throw_launch.md) + - [Gain compression](features_mc/gain_compression.md) - [Assembly](assembly/assembly_mc.md) - [Configuration/Tuning](config_mc/index.md) - [Auto-tune](config/autotune_mc.md) @@ -211,6 +212,7 @@ - [ThePeach FCC-R1](flight_controller/thepeach_r1.md) - [AP-H743-R1](flight_controller/x-mav_ap-h743r1.md) - [VOLOLAND NarinFC-H7](flight_controller/vololand_narinfc_h7.md) + - [ZenFC H743](flight_controller/zenfc_h743.md) - [SIYI-UniFC-6-PICO](flight_controller/siyi-unifc-6-pico.md) - [Experimental Autopilots](flight_controller/autopilot_experimental.md) - [BeagleBone Blue](flight_controller/beaglebone_blue.md) @@ -335,6 +337,7 @@ - [Vertiq Motor/ESC Modules](peripherals/vertiq.md) - [VESC Project ESCs](peripherals/vesc.md) - [Zubax Telega ESCs](dronecan/zubax_telega.md) + - [Internal Combustion Engines](actuators/internal_combustion_engine.md) - [Manual Control](config/manual_control.md) - [Radio Control (RC)](getting_started/rc_transmitter_receiver.md) @@ -398,6 +401,7 @@ - [MAVLink Camera (v2 protocol)](camera/mavlink_v2_camera.md) - [MAVLink Camera (v1 protocol)](camera/mavlink_v1_camera.md) - [Camera Connected to FC Outputs](camera/fc_connected_camera.md) + - [AirPixel TAG-E (Sony ILX-LR1)](camera/airpixel_tag_e.md) - [Gimbal \(Mount\) Configuration](advanced/gimbal_control.md) - [Grippers](peripherals/gripper.md) - [Servo Gripper](peripherals/gripper_servo.md) @@ -586,7 +590,6 @@ - [VehicleAttitudeSetpoint](msg_docs/VehicleAttitudeSetpoint.md) - [VehicleCommand](msg_docs/VehicleCommand.md) - [VehicleCommandAck](msg_docs/VehicleCommandAck.md) - - [VehicleControlMode](msg_docs/VehicleControlMode.md) - [VehicleGlobalPosition](msg_docs/VehicleGlobalPosition.md) - [VehicleLandDetected](msg_docs/VehicleLandDetected.md) - [VehicleLocalPosition](msg_docs/VehicleLocalPosition.md) @@ -605,6 +608,7 @@ - [EventV0](msg_docs/EventV0.md) - [HomePositionV0](msg_docs/HomePositionV0.md) - [HomePositionV1](msg_docs/HomePositionV1.md) + - [ManualControlSetpointV0](msg_docs/ManualControlSetpointV0.md) - [RegisterExtComponentReplyV0](msg_docs/RegisterExtComponentReplyV0.md) - [RegisterExtComponentRequestV0](msg_docs/RegisterExtComponentRequestV0.md) - [RegisterExtComponentRequestV1](msg_docs/RegisterExtComponentRequestV1.md) @@ -669,6 +673,7 @@ - [EstimatorStates](msg_docs/EstimatorStates.md) - [EstimatorStatus](msg_docs/EstimatorStatus.md) - [EstimatorStatusFlags](msg_docs/EstimatorStatusFlags.md) + - [ExternalGimbalManagerStatus](msg_docs/ExternalGimbalManagerStatus.md) - [FailsafeFlags](msg_docs/FailsafeFlags.md) - [FailureDetectorStatus](msg_docs/FailureDetectorStatus.md) - [FailureInjection](msg_docs/FailureInjection.md) @@ -678,6 +683,7 @@ - [FixedWingLateralGuidanceStatus](msg_docs/FixedWingLateralGuidanceStatus.md) - [FixedWingLateralStatus](msg_docs/FixedWingLateralStatus.md) - [FixedWingRunwayControl](msg_docs/FixedWingRunwayControl.md) + - [FixedWingTakeoffStatus](msg_docs/FixedWingTakeoffStatus.md) - [FlightPhaseEstimation](msg_docs/FlightPhaseEstimation.md) - [FollowTarget](msg_docs/FollowTarget.md) - [FollowTargetEstimator](msg_docs/FollowTargetEstimator.md) @@ -694,6 +700,7 @@ - [GimbalManagerInformation](msg_docs/GimbalManagerInformation.md) - [GimbalManagerSetAttitude](msg_docs/GimbalManagerSetAttitude.md) - [GimbalManagerSetManualControl](msg_docs/GimbalManagerSetManualControl.md) + - [GimbalManagerSetPitchyaw](msg_docs/GimbalManagerSetPitchyaw.md) - [GimbalManagerStatus](msg_docs/GimbalManagerStatus.md) - [GpioConfig](msg_docs/GpioConfig.md) - [GpioIn](msg_docs/GpioIn.md) @@ -758,6 +765,7 @@ - [PowerMonitor](msg_docs/PowerMonitor.md) - [PpsCapture](msg_docs/PpsCapture.md) - [PrecLandStatus](msg_docs/PrecLandStatus.md) + - [PrecTakeoffStatus](msg_docs/PrecTakeoffStatus.md) - [PurePursuitStatus](msg_docs/PurePursuitStatus.md) - [PwmInput](msg_docs/PwmInput.md) - [Px4ioStatus](msg_docs/Px4ioStatus.md) @@ -788,9 +796,11 @@ - [SensorBaro](msg_docs/SensorBaro.md) - [SensorCombined](msg_docs/SensorCombined.md) - [SensorCorrection](msg_docs/SensorCorrection.md) + - [SensorGnss](msg_docs/SensorGnss.md) - [SensorGnssRelative](msg_docs/SensorGnssRelative.md) + - [SensorGnssRf](msg_docs/SensorGnssRf.md) + - [SensorGnssSpectrum](msg_docs/SensorGnssSpectrum.md) - [SensorGnssStatus](msg_docs/SensorGnssStatus.md) - - [SensorGps](msg_docs/SensorGps.md) - [SensorGyro](msg_docs/SensorGyro.md) - [SensorGyroFft](msg_docs/SensorGyroFft.md) - [SensorGyroFifo](msg_docs/SensorGyroFifo.md) @@ -822,6 +832,8 @@ - [VehicleAcceleration](msg_docs/VehicleAcceleration.md) - [VehicleAirData](msg_docs/VehicleAirData.md) - [VehicleConstraints](msg_docs/VehicleConstraints.md) + - [VehicleControlMode](msg_docs/VehicleControlMode.md) + - [VehicleGnss](msg_docs/VehicleGnss.md) - [VehicleImu](msg_docs/VehicleImu.md) - [VehicleImuStatus](msg_docs/VehicleImuStatus.md) - [VehicleLocalPositionSetpoint](msg_docs/VehicleLocalPositionSetpoint.md) @@ -880,6 +892,7 @@ - [자주 묻는 질문](debug/faq.md) - [콘솔과 쉘](debug/consoles.md) - [MAVLink 쉘](debug/mavlink_shell.md) + - [DroneCAN Shell](debug/dronecan_shell.md) - [시스템 콘솔](debug/system_console.md) - [Debugging with GDB](debug/gdb_debugging.md) - [SWD Debug Port](debug/swd_debug.md) @@ -934,8 +947,6 @@ - [FlightGear 시뮬레이션](sim_flightgear/index.md) - [FlightGear 차량](sim_flightgear/vehicles.md) - [FlightGear 다중 차량 시뮬레이션](sim_flightgear/multi_vehicle.md) - - [jMAVSim 시뮬레이션](sim_jmavsim/index.md) - - [jMAVSim 다중 차량 시뮬레이션](sim_jmavsim/multi_vehicle.md) - [JSBSim Simulation](sim_jsbsim/index.md) - [PteroSim Simulation](sim_pterosim/index.md) - [RotorPy Simulation](sim_rotorpy/index.md) @@ -966,6 +977,7 @@ - [Fuzz Tests](test_and_ci/fuzz_tests.md) - [Sanitizers](test_and_ci/sanitizers.md) - [지속 통합](test_and_ci/continous_integration.md) + - [AI Pull Request Review](test_and_ci/ai_review.md) - [Integration Testing](test_and_ci/integration_testing.md) - [MAVSDK 통합 테스트](test_and_ci/integration_testing_mavsdk.md) - [PX4 ROS 2 Interface Library Integration Testing](test_and_ci/integration_testing_px4_ros2_interface.md) @@ -994,6 +1006,8 @@ - [라즈베리파이에 ROS 설치](ros/raspberrypi_installation.md) - [외부 위치 추정(비전/모션 기반)](ros/external_position_estimation.md) +- [Security](security/index.md) + - [Community](contribute/index.md) - [온라인 미팅](contribute/dev_call.md) - [Maintainers](contribute/maintainers.md) diff --git a/docs/ko/actuators/index.md b/docs/ko/actuators/index.md index 6e33303a037..617652de59f 100644 --- a/docs/ko/actuators/index.md +++ b/docs/ko/actuators/index.md @@ -10,6 +10,8 @@ This section contains topics about the core actuators used for flight control (E - [ESC Calibration](../advanced_config/esc_calibration.md) — Calibration for PWM ESC (not required for DShot/CAN ESC/servos). +- [Internal Combustion Engines](../actuators/internal_combustion_engine.md) — Petrol/nitro engines, including start/stop sequencing and idle RPM control. + ## See Also - [Peripherals](../peripherals/index.md) - includes non-core actuators such as grippers, parachutes, etc. diff --git a/docs/ko/actuators/internal_combustion_engine.md b/docs/ko/actuators/internal_combustion_engine.md new file mode 100644 index 00000000000..d1e827d78a8 --- /dev/null +++ b/docs/ko/actuators/internal_combustion_engine.md @@ -0,0 +1,339 @@ +# Internal Combustion Engines (ICE) + +PX4 can operate a single spark-ignition internal combustion engine (ICE) — a petrol/nitro two- or four-stroke engine — as the propulsion system of a fixed-wing, VTOL, or helicopter vehicle. + +Unlike an electric motor, an engine cannot simply be commanded to a thrust value: it has to be _started_ (choke, ignition, electric starter), it can _die_ in flight and need restarting, and it must be kept above a minimum idle speed to keep running at all. +The [`internal_combustion_engine_control`](../modules/modules_system.md#internal-combustion-engine-control) module implements this logic as a state machine that drives four dedicated actuator outputs and closes the loop on a measured engine speed (RPM). + +:::warning +A running combustion engine with a propeller attached is dangerous. +The engine can be commanded to start automatically (for example on arming, or on a VTOL transition to fixed-wing), and the starter motor will crank the propeller without further warning. + +- Always do your first bench tests with the propeller removed. +- For continuous operation without a propeller, a flywheel is recommended. +- Keep clear of the propeller arc whenever the vehicle is powered. +- Verify that the engine stop functionality (ignition off, choke closed) reliably stops the engine before you rely on it. + +::: + +## Hardware Requirements + +- **Throttle servo** connected to a PWM/AUX output. +- **Ignition cut** on an output, typically through a relay or opto-isolated switch that shorts or interrupts the ignition circuit. + Optional. +- **Choke servo** on an output (optional if the engine has no choke, or an automatic one — set [ICE_CHOKE_ST_DUR](../advanced_config/parameter_reference.md#ICE_CHOKE_ST_DUR) to `0` and leave the function unassigned). +- **Electric starter** on an output, typically through a relay or an ESC driving the starter motor. + Optionally, the engine can also be hand-started. +- **RPM sensor** feeding the `RPM Input` function on a timer-capture-capable PWM pin, for example a Hall-effect or optical sensor on the crankshaft, or an ignition-pulse pickup. + + Many engines have a built-in spark-timing sensor that can be used for this. + If yours does not, see [Tachometers](../sensor/tachometers.md) for other options. + +:::warning +RPM feedback is **required**. +The state machine only leaves `Starting` for `Running` once it sees a measured engine speed above [ICE_MIN_RUN_RPM](../advanced_config/parameter_reference.md#ICE_MIN_RUN_RPM). +Without a working RPM sensor the module will exhaust its start attempts and latch into the `Fault` state. +::: + +## 펌웨어 설정 + +The module and the RPM capture driver are not in the default builds. +Add them to the [board configuration](../hardware/porting_guide_config.md) for your flight controller: + +```text +CONFIG_MODULES_INTERNAL_COMBUSTION_ENGINE_CONTROL=y +CONFIG_DRIVERS_RPM_CAPTURE=y +``` + +Both can also be enabled interactively with `make boardconfig`, under **modules** and **drivers** respectively. + +## 매개변수 설정 + +Set the following and reboot: + +- [ICE_EN](../advanced_config/parameter_reference.md#ICE_EN) to `Enabled`. + The startup script only starts the module if this is set. +- [RPM_CAP_ENABLE](../advanced_config/parameter_reference.md#RPM_CAP_ENABLE) to `Enabled`. +- [RPM_PULS_PER_REV](../advanced_config/parameter_reference.md#RPM_PULS_PER_REV) to the number of sensor pulses per crankshaft revolution (for example `2` for a two-magnet setup, or `1` for a single ignition pulse per revolution on a two-stroke). + +Then work through the remaining `ICE_*` parameters: + +- [Actuator Configuration](#actuator-configuration) — wire up the engine outputs. +- [Start/Stop Command Source](#start-stop-command-source) — choose what commands the engine on and off. +- [Idle RPM Governor](#idle-rpm-governor) — set up and tune closed-loop idle, and the `ICE_IDLE_*` parameters. +- [Parameter Reference](#parameter-reference) — the full list, including the start sequence timing. + +## Actuator Configuration + +Assign the four engine functions and the RPM input in [Actuator Configuration](../config/actuators.md), for example: + +![Actuator setup for ICE, with the engine output functions and the RPM input highlighted](../../assets/hardware/ice/ice_actuator_setup.png) + +Each setpoint is in the range `[0, 1]` and is mapped to the `[-1, 1]` servo range before being scaled to the output's **Minimum**/**Maximum** values. +In other words, a setpoint of `0` produces the configured **Minimum** output and `1` produces the configured **Maximum** output (or the reverse, if **Rev Range** is ticked). + +:::info +When the engine is commanded off, the throttle setpoint is `NAN`, which by definition drives the output to its configured **Disarmed** value rather than to **Minimum**. +This lets you park the throttle servo at an idle-stop position that is different from the closed-throttle position used to switch off the engine. + +The throttle output also goes to _Disarmed_ while the engine is running if the [idle governor](#idle-rpm-governor) is disabled and the throttle demand drops to near zero (the fixed-wing controller stops the motor below 2% thrust). +::: + +Points to note when setting the values: + +- `IC Engine Throttle` uses **Minimum** for closed throttle and **Maximum** for full throttle. + Setting **Disarmed** to a value other than **Minimum** parks the servo at an idle stop when the engine is off, rather than at closed throttle. +- `IC Engine Choke` uses **Minimum** for choke open and **Maximum** for choke closed; tick **Rev Range** if the servo linkage is inverted. +- `IC Engine Ignition` and `IC Engine Starter` behave as on/off outputs: **Minimum** is "off" and **Maximum** is "on". + Set both values so that the relay switches reliably, and make sure **Disarmed** corresponds to ignition off and starter off. +- `RPM Input` must be on a channel that supports timer capture on your board. + +:::tip +In the example above the **Actuators** tab stays red in the sidebar, and the page shows "One or more actuator still needs to be assigned to an output". +This is expected for an engine setup and does not stop the engine from running: the airframe's `Motor 1` slot is deliberately left unassigned, because the throttle reaches the servo through `IC Engine Throttle` instead — see [How It Works](#how-it-works). +::: + +:::warning +While the vehicle is disarmed, every output — including ignition, choke, and starter — is held at its **Disarmed** value, regardless of what the module commands. +The engine can only be commanded when [armed or prearmed](../advanced_config/prearm_arm_disarm.md). +::: + +Whether prearming happens at all is set by [COM_PREARM_MODE](../advanced_config/parameter_reference.md#COM_PREARM_MODE), which matters if you want to start the engine before arming (for example from an AUX switch, see [Start/Stop Command Source](#start-stop-command-source)): + +| `COM_PREARM_MODE` | Effect on the engine outputs | +| --------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Disabled` (default) | Never prearms, so the outputs stay at their **Disarmed** values until the vehicle is armed. | +| `Safety button` | Outputs become live once the safety switch is released. Has no effect on boards that have no safety button — prearm then never engages. | +| `Always` | Outputs become live 5 s after boot. | + +:::warning +With `Always` the ignition, choke, and starter outputs are live shortly after power-up, before any arming check has run. +The engine can be commanded to crank on a vehicle that was never armed, so treat the propeller as live whenever the vehicle is powered. +::: + +## Start/Stop Command Source {#start-stop-command-source} + +[ICE_ON_SOURCE](../advanced_config/parameter_reference.md#ICE_ON_SOURCE) selects what asks for the engine to run: + +| Value | Engine is requested on when | +| ---------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `On arming - disarming` (0) | The vehicle is armed. This is the default. | +| `Aux1` (1) | The AUX1 manual control channel is above `0.5`; requested off when it goes below `-0.5`. Map a switch to it with `RC_MAP_AUX1`. | +| `Aux2` (2) | As above, using AUX2 and `RC_MAP_AUX2`. | +| `On Vtol Transitions` (3) | The vehicle is in fixed-wing mode or transitioning to fixed-wing. Use this on a hybrid VTOL where the engine only drives the pusher/forward propeller. | + +:::info +For the AUX sources, values between `-0.5` and `0.5` leave the request unchanged. +This dead zone means a three-position switch has a middle position that does not change the engine state, and it prevents a channel that is momentarily centred (or lost and defaulted to zero) from cutting the engine. +::: + +## Idle RPM Governor + +Left at a fixed low throttle, an engine tends either to die or to sit at an unpredictable idle speed that depends on temperature, air density, and mixture. +The idle governor closes the loop on measured RPM whenever the throttle demand is low, keeping the engine alive and ready to accelerate. + +It is enabled by setting [ICE_IDLE_RPM](../advanced_config/parameter_reference.md#ICE_IDLE_RPM) to a non-zero idle speed. +When enabled, the `Running` state has two sub-states, reported in `InternalCombustionEngineStatus.substate`: + +- `Run` — the throttle demand from allocation is passed straight through. +- `Idle` — the throttle output is produced by the governor instead. + +The module enters `Idle` when the throttle demand drops below 2% (or becomes invalid, i.e. the vehicle is disarmed), **or** whenever the measured RPM falls below the idle setpoint. +The second condition is what catches a sagging engine: even at high commanded throttle, if the engine is being dragged below its idle speed the governor takes over and pushes the throttle to recover it. +It leaves `Idle` again as soon as the throttle demand exceeds the governor's current output, so the handover happens without a step in the output. + +### Control Structure + +The governor is a feed-forward plus PI controller with output clamped to `[0, 1]`: + +``` +throttle = ICE_IDLE_THR_FF + P · e + ∫ I · e dt + e = ICE_IDLE_RPM − rpm_estimate + P = ICE_IDLE_RPM_P · 1e-3 + I = ICE_IDLE_RPM_I · 1e-3 +``` + +The `1e-3` scaling is what makes the gains convenient to reason about: + +- [ICE_IDLE_RPM_P](../advanced_config/parameter_reference.md#ICE_IDLE_RPM_P) is the normalised throttle added per **1000 RPM** of error. + `ICE_IDLE_RPM_P = 1` means an engine running 500 RPM slow gets `+0.5` throttle. +- [ICE_IDLE_RPM_I](../advanced_config/parameter_reference.md#ICE_IDLE_RPM_I) is the normalised throttle added per **1000 RPM·s** of accumulated error. + `ICE_IDLE_RPM_I = 1` means a steady 100 RPM error winds the output up by `0.1` every second. +- [ICE_IDLE_THR_FF](../advanced_config/parameter_reference.md#ICE_IDLE_THR_FF) is the throttle that holds the idle speed on its own, so the PI terms only have to correct for the difference. + It is applied as a constant offset whenever the governor is active. + +The integrator is limited to `±1` and uses conditional integration: it stops winding up in whichever direction is already driving the output into saturation. +It is reset to zero every time the engine reaches `Running`, so a start never inherits wind-up from a previous run. + +### Tuning Procedure + +Do this on the ground, with the propeller removed or the vehicle firmly restrained, and with the engine warm. + +1. **Find the idle speed.** + Pick the [ICE_IDLE_RPM](../advanced_config/parameter_reference.md#ICE_IDLE_RPM) you want — low enough not to produce useful thrust, high enough that the engine runs smoothly and can accelerate without hesitating. + The engine's specification or a hand-throttled test is the starting point. +2. **Find the feed-forward.** + With the governor still off (`ICE_IDLE_RPM = 0`), start the engine and hold it at that RPM with the throttle stick in a manual mode. + Read the commanded throttle off the log (`internal_combustion_engine_control.throttle_control`), set [ICE_IDLE_THR_FF](../advanced_config/parameter_reference.md#ICE_IDLE_THR_FF) to it, and set `ICE_IDLE_RPM` to the target. +3. **Verify feed-forward only.** + With both gains still at `0`, restart and let the engine idle. + It should settle near the setpoint. + A large steady offset means the feed-forward is wrong — correct it before adding gains, because the PI terms are only meant to trim. +4. **Add proportional gain.** + Raise [ICE_IDLE_RPM_P](../advanced_config/parameter_reference.md#ICE_IDLE_RPM_P) in steps (`0.2` is a reasonable first step) until the engine recovers briskly when you disturb it — for example by briefly blipping the throttle up and releasing it. + Back off as soon as you see the RPM hunting or the throttle oscillating. +5. **Add integral gain.** + Raise [ICE_IDLE_RPM_I](../advanced_config/parameter_reference.md#ICE_IDLE_RPM_I) just enough to remove any remaining steady-state RPM offset within a few seconds. + Too much integral shows up as a slow oscillation around the setpoint. +6. **Check the handover.** + Sweep the throttle demand up and back down through the idle point and confirm there is no jump or dead spot as the sub-state switches between `Idle` and `Run`. + +The signals to look at in the [flight log](../log/flight_log_analysis.md): + +| 신호 | Use | +| --------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | +| `rpm.rpm_estimate` | Measured engine speed — compare against `ICE_IDLE_RPM`. | +| `internal_combustion_engine_control.throttle_control` | Throttle actually commanded, after the governor and the slew rate limit. | +| `internal_combustion_engine_status.substate` | Whether the governor is active (`1` = `Idle`). | +| `internal_combustion_engine_status.pid_idle_rpm_integral` | Integrator state. Parked at `±1` means it is saturated and the feed-forward is far off. | +| `internal_combustion_engine_status.state` | State machine state — reveals unnoticed restarts. | + +Both `internal_combustion_engine_*` topics are logged when the module is running. + +:::info +`rpm_capture` low-pass filters the RPM estimate with a 0.5 s time constant. +That lag is part of the loop you are tuning and puts a practical ceiling on how high the gains can go before the governor starts hunting. +::: + +## Parameter Reference + +| Parameter | Unit | 기본값 | 설명 | +| --------------------------------------------------------------------------------------------------------------------------------------------- | ---- | ------ | --------------------------------------------------------------------------------------------------------- | +| [ICE_EN](../advanced_config/parameter_reference.md#ICE_EN) | — | `0` | Start the ICE control module. Requires a reboot. | +| [ICE_ON_SOURCE](../advanced_config/parameter_reference.md#ICE_ON_SOURCE) | — | `0` | What requests the engine on/off: arming, AUX1, AUX2, or VTOL transitions. | +| [ICE_MIN_RUN_RPM](../advanced_config/parameter_reference.md#ICE_MIN_RUN_RPM) | rpm | `2000` | RPM above which the engine counts as running. | +| [ICE_IGN_DELAY](../advanced_config/parameter_reference.md#ICE_IGN_DELAY) | s | `0` | Delay between switching on the ignition and engaging the starter. | +| [ICE_CHOKE_ST_DUR](../advanced_config/parameter_reference.md#ICE_CHOKE_ST_DUR) | s | `5` | How long the choke stays closed on the first start attempt. | +| [ICE_STRT_DUR](../advanced_config/parameter_reference.md#ICE_STRT_DUR) | s | `5` | Cranking time per attempt after the choke opens, before declaring a timeout. | +| [ICE_STRT_THR](../advanced_config/parameter_reference.md#ICE_STRT_THR) | norm | `0.1` | Throttle held during choking and cranking. | +| [ICE_STRT_ATTEMPT](../advanced_config/parameter_reference.md#ICE_STRT_ATTEMPT) | — | `3` | Start attempts before entering `Fault`. `0` means a single attempt. | +| [ICE_RUN_FAULT_D](../advanced_config/parameter_reference.md#ICE_RUN_FAULT_D) | — | `1` | Detect an engine stop while running and attempt a restart. | +| [ICE_STOP_CHOKE](../advanced_config/parameter_reference.md#ICE_STOP_CHOKE) | — | `1` | Close the choke while the engine is stopped or in fault. | +| [ICE_THR_SLEW](../advanced_config/parameter_reference.md#ICE_THR_SLEW) | 1/s | `0.5` | Maximum rate of change of the throttle output. | +| [ICE_IDLE_RPM](../advanced_config/parameter_reference.md#ICE_IDLE_RPM) | rpm | `0` | Idle RPM setpoint. `0` disables the idle governor. | +| [ICE_IDLE_THR_FF](../advanced_config/parameter_reference.md#ICE_IDLE_THR_FF) | norm | `0` | Feed-forward throttle for the idle governor. | +| [ICE_IDLE_RPM_P](../advanced_config/parameter_reference.md#ICE_IDLE_RPM_P) | — | `0` | Idle governor proportional gain, per 1000 RPM of error. | +| [ICE_IDLE_RPM_I](../advanced_config/parameter_reference.md#ICE_IDLE_RPM_I) | — | `0` | Idle governor integral gain, per 1000 RPM·s of error. | + +## 문제 해결 + +| Symptom | Likely cause | +| ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| Nothing happens at all; `internal_combustion_engine_control status` reports the module is not running | `ICE_EN` is not set, or the module is not in the firmware. Check the [build configuration](#firmware-configuration) and reboot. | +| The engine runs but the state machine goes to [`Fault`](#state-machine) | The RPM sensor is not working or is misconfigured. Check `RPM_CAP_ENABLE`, `RPM_PULS_PER_REV`, and that the sensor is on a capture-capable pin; compare `rpm.rpm_estimate` against a hand tachometer. | +| Outputs never move even though the state machine advances | The vehicle is disarmed and not prearmed, so outputs are held at their **Disarmed** values. See the [note above](#actuator-configuration) on `COM_PREARM_MODE`. | +| The starter cranks but the engine never fires | There may be no fuel in the engine yet. Closing the choke is what draws fuel in, so a dry engine needs a longer priming window — increase `ICE_CHOKE_ST_DUR`. Also check the cranking time (`ICE_STRT_DUR`) and the start throttle (`ICE_STRT_THR`), and note that too much choke floods the engine. | +| The engine fires and then dies just after `Starting` finishes | No idle governor. Set up the [idle governor](#idle-rpm-governor); with `ICE_IDLE_RPM = 0` there is nothing holding the engine up when the throttle demand is zero. | +| Repeated in-air restarts logged as `IC engine fault detected` | `ICE_MIN_RUN_RPM` is set too close to the actual idle speed, so normal idle dips read as an engine stop. Raise the idle setpoint or lower the threshold. | +| The engine bogs down or stalls on throttle up | `ICE_THR_SLEW` is too high for the engine. Reduce it so the throttle opens more gradually. | + +## 개발자 정보 + +### How It Works + +ICE control architecture + +The module sits between the [control allocator](../config/actuators.md) and the outputs: + +- It takes the **throttle demand** from `actuator_motors.control[0]`, i.e. the thrust that allocation computed for `Motor 1`. + ::: info + The engine takes its throttle from whichever rotor the airframe geometry defines as `Motor 1` (rotor 0, `CA_ROTOR0_*`), so you must set up the geometry with the engine as rotor 0. + On a standard VTOL, this means making the pusher rotor 0 rather than the last rotor. + You do not need to (and should not) assign an output for the `Motor 1` function. + +::: +- It takes the **on/off request** from [VehicleStatus](../msg_docs/VehicleStatus.md) (arming state, or the VTOL transition) or from [ManualControlSetpoint](../msg_docs/ManualControlSetpoint.md) (the AUX channels), depending on [ICE_ON_SOURCE](#start-stop-command-source). +- It runs the start/stop state machine and publishes [InternalCombustionEngineControl](../msg_docs/InternalCombustionEngineControl.md) with the setpoints for ignition, throttle, choke, and starter. +- The mixer maps those four fields to the four `IC Engine *` [output functions](../config/actuators.md), which is where you wire the engine hardware. +- It subscribes to [Rpm](../msg_docs/Rpm.md) to know whether the engine is actually turning, and publishes [InternalCombustionEngineStatus](../msg_docs/InternalCombustionEngineStatus.md) with the current state. + +The module runs at 50 Hz. + +#### Output Functions + +| Output function | Field in `InternalCombustionEngineControl` | 설명 | +| -------------------- | ------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `IC Engine Ignition` | `ignition_on` | Spark/ignition enable. `false` cuts the spark and stops the engine (optional: many engine spark boxes always run when powered). | +| `IC Engine Throttle` | `throttle_control` | Throttle servo setpoint, `0`…`1`. `NAN` while the engine is commanded off. | +| `IC Engine Choke` | `choke_control` | Choke servo setpoint, `0`…`1`, where `1` is fully closed (richest mixture). Optional actuator. | +| `IC Engine Starter` | `starter_engine_control` | Electric starter motor setpoint, `0`…`1`. Optional actuator: the engine can also be hand-started. | + +### State Machine + +ICE control state machine + +The module has four states, reported in `InternalCombustionEngineStatus.state`: + +| State | Ignition | Throttle | Choke | Starter | +| ---------- | -------- | ----------------------------------------------- | ------------------------------------- | ------------------------------------- | +| `Stopped` | off | `NAN` (→ **Disarmed** value) | `ICE_STOP_CHOKE ? 1 : 0` | `0` | +| `Starting` | on | `ICE_STRT_THR` | see [start sequence](#start-sequence) | see [start sequence](#start-sequence) | +| `Running` | on | motor 1 demand, or idle governor output | `0` | `0` | +| `Fault` | off | `0` | `ICE_STOP_CHOKE ? 1 : 0` | `0` | + +Transitions: + +- `Stopped` → `Starting` when the engine is requested on and the start attempt budget is not exhausted. +- `Starting` → `Running` as soon as the measured RPM exceeds [ICE_MIN_RUN_RPM](../advanced_config/parameter_reference.md#ICE_MIN_RUN_RPM). + This can happen part way through an attempt. +- `Starting` → `Fault` when all attempts have been used without the engine coming up. +- `Running` → `Starting` if the RPM drops back below the threshold and [ICE_RUN_FAULT_D](../advanced_config/parameter_reference.md#ICE_RUN_FAULT_D) is enabled — this is the automatic in-air restart. + An `IC engine fault detected` event is emitted. +- Any state → `Stopped` when the engine is requested off. + This also resets the attempt counter, so switching the request off and on again is the way to clear a `Fault`. + +Both `Starting` and `Running` have sub-states, reported in `InternalCombustionEngineStatus.substate`. +`Starting` alternates between cranking and a one-second rest between attempts (see [Start Sequence](#start-sequence)), and `Running` switches between passing the throttle demand straight through and running the [idle governor](#idle-rpm-governor). + +:::info +The throttle setpoint is rate limited by [ICE_THR_SLEW](../advanced_config/parameter_reference.md#ICE_THR_SLEW) in all states, which protects the engine from abrupt throttle steps that would make it bog down or stall. +The limit does not apply to the `NAN` used in `Stopped`; the slew state is reset to zero instead, so the next start ramps up from closed throttle. +::: + +#### Start Sequence + +One start attempt runs the following timeline, measured from entry into the attempt: + +| From | To | Ignition | Choke | Starter | Throttle | +| ---------------------------------- | ------------------------------------------------- | -------- | ----- | ------- | -------------- | +| `0` | `ICE_IGN_DELAY` | on | `1` | `0` | `ICE_STRT_THR` | +| `ICE_IGN_DELAY` | `ICE_IGN_DELAY + ICE_CHOKE_ST_DUR` | on | `1` | `1` | `ICE_STRT_THR` | +| `ICE_IGN_DELAY + ICE_CHOKE_ST_DUR` | `ICE_IGN_DELAY + ICE_CHOKE_ST_DUR + ICE_STRT_DUR` | on | `0` | `1` | `ICE_STRT_THR` | + +- [ICE_IGN_DELAY](../advanced_config/parameter_reference.md#ICE_IGN_DELAY) holds the starter off for a moment after the ignition is switched on, for ignition systems that need time to come up. +- [ICE_CHOKE_ST_DUR](../advanced_config/parameter_reference.md#ICE_CHOKE_ST_DUR) is how long the choke stays closed. + Note that the starter is already cranking during this window. +- [ICE_STRT_DUR](../advanced_config/parameter_reference.md#ICE_STRT_DUR) is how much longer the starter cranks with the choke open before the attempt is declared timed out. + +If the attempt times out, the module rests for **1 second** with the ignition off and the throttle at its disarmed value (to reduce starter motor wear) and then begins the next attempt. + +:::info +Choke and ignition delay are applied on the **first** attempt only. +Retries crank with the choke open immediately, on the assumption that the first attempt already primed the engine and that further choking would flood it. +::: + +[ICE_STRT_ATTEMPT](../advanced_config/parameter_reference.md#ICE_STRT_ATTEMPT) caps the number of attempts before the module gives up and enters `Fault`. +A value of `0` means a single attempt with no retry. + +### Status and Telemetry + +- [InternalCombustionEngineControl](../msg_docs/InternalCombustionEngineControl.md) carries the commanded setpoints and the current user request. +- [InternalCombustionEngineStatus](../msg_docs/InternalCombustionEngineStatus.md) carries the state machine state and the governor's integrator. + The same topic is used by the [DroneCAN](../dronecan/index.md) ICE bridge (`UAVCAN_SUB_ICE`), which fills in the richer engine telemetry — temperatures, pressures, fuel flow — reported by a smart ECU. +- The status topic is streamed to a ground station as the MAVLink [EFI_STATUS](https://mavlink.io/en/messages/common.html#EFI_STATUS) message. + +## See Also + +- [`internal_combustion_engine_control`](../modules/modules_system.md#internal-combustion-engine-control) — module command line reference. +- [Actuator Configuration](../config/actuators.md) — assigning output functions. +- [DroneCAN Peripherals](../dronecan/index.md) — for engines with a smart ECU reporting over DroneCAN. diff --git a/docs/ko/advanced/gimbal_control.md b/docs/ko/advanced/gimbal_control.md index 7081625e2cf..547f411f5e7 100644 --- a/docs/ko/advanced/gimbal_control.md +++ b/docs/ko/advanced/gimbal_control.md @@ -29,10 +29,17 @@ See [Fixed Attitude Gimbal](#fixed-attitude-gimbal) below. The output is set using the [MNT_MODE_OUT](../advanced_config/parameter_reference.md#MNT_MODE_OUT) parameter. By default the output is set to a PXM port (`AUX (0)`). If the [MAVLink Gimbal Protocol v2](https://mavlink.io/en/services/gimbal_v2.html) is supported by your gimbal, you should instead select `MAVLink gimbal protocol v2 (2)`. +If the gimbal has its own gimbal manager, select `Forward to external gimbal manager (3)` instead (see [External Gimbal Manager](#external-gimbal-manager)). +A second gimbal can be driven in parallel using [MNT_MODE_OUT2](../advanced_config/parameter_reference.md#MNT_MODE_OUT2) (see [Multiple Gimbal Support](#multiple-gimbal-support)). The full list of parameters for setting up the mount driver can be found in [Parameter Reference > Mount](../advanced_config/parameter_reference.md#mount). The relevant settings for a number of common gimbal configurations are described below. +:::tip +To debug a gimbal setup, use `gimbal status` in the MAVLink console to see the active inputs and outputs, and `gimbal test` to move the gimbal without any input. +See [Driver Testing](#driver-testing). +::: + ## MAVLink 짐벌(MNT_MODE_OUT=MAVLINK) Each physical gimbal device on the system must have its own high level gimbal manager, which is discoverable by a ground station using the MAVLink gimbal protocol. @@ -51,12 +58,24 @@ For example, if the `TELEM2` port on the flight controller is unused you can con - [MAV_1_FORWARD](../advanced_config/parameter_reference.md#MAV_1_FORWARD) to **Enabled** (Note strictly necessary as forwarding is enabled when `MAV_1_MODE` is set to Gimbal). - [SER_TEL2_BAUD](../advanced_config/parameter_reference.md#SER_TEL2_BAUD) to manufacturer recommended baud rate. +### External Gimbal Manager + +Some gimbals implement the gimbal _manager_ protocol themselves, rather than only the gimbal device protocol. +A ground station controls such a gimbal directly, PX4 does not need to manage it. + +Set [MNT_MODE_OUT](../advanced_config/parameter_reference.md#MNT_MODE_OUT) to `Forward to external gimbal manager (3)` so that PX4 forwards onboard inputs (RC, ROI) to it as well. +PX4 then acts as a client of that manager: it acquires control while there is onboard input and releases it afterwards, and the manager arbitrates between PX4 and the ground station. + +Connect the gimbal to a MAVLink instance in `Gimbal` (or `Onboard`) mode with forwarding enabled, as described [above](#mavlink-gimbal-mnt-mode-out-mavlink). +Forwarding is required so that the ground station and the gimbal manager can see each other, and PX4 discovers the manager from the `GIMBAL_MANAGER_STATUS` it streams. + ### Multiple Gimbal Support -PX4 can automatically create a gimbal manager for a connected PWM gimbal or the first MAVLink gimbal device with the same system id it detects on any interface. -It does not automatically create gimbal manager for any other MAVLink gimbal devices that it detects. +PX4 creates one gimbal manager, for the gimbal driven by `MNT_MODE_OUT`. -You can support additional MAVLink gimbals provided that they: +A second gimbal can be driven in parallel with the same inputs by setting [MNT_MODE_OUT2](../advanced_config/parameter_reference.md#MNT_MODE_OUT2) to a different output mode than `MNT_MODE_OUT`, e.g. a MAVLink gimbal (`2`) and a gimbal with an [external gimbal manager](#external-gimbal-manager) (`3`). + +Additional MAVLink gimbals that are not driven by PX4 are supported provided that they: - Implement the gimbal _manager_ protocol. - Are visible to the ground station and PX4 on the MAVLink network. diff --git a/docs/ko/advanced/pps_time_sync.md b/docs/ko/advanced/pps_time_sync.md index 5eeb715a33e..98b28ff507f 100644 --- a/docs/ko/advanced/pps_time_sync.md +++ b/docs/ko/advanced/pps_time_sync.md @@ -65,7 +65,7 @@ When set to `0` (default), the driver uses the first available GPS instance. You can find the device ID by running: ```sh -listener sensor_gps +listener sensor_gnss ``` ### 배선 @@ -142,5 +142,5 @@ See also: The PPS signal provides much higher temporal precision than the transmitted time data, which has latency and jitter from serial communication. :::warning -If the PPS driver does not send any data for 5 seconds (despite having `PPS_CAP_ENABLE` set to 1), the corresponding `SENS_GPS*_DELAY` parameter will be used instead for estimating the latency. +If the PPS driver does not send any data for 5 seconds (despite having `PPS_CAP_ENABLE` set to 1), the corresponding `SENS_GNSS*_DELAY` parameter will be used instead for estimating the latency. ::: diff --git a/docs/ko/advanced_config/gnss_degraded_or_denied_flight.md b/docs/ko/advanced_config/gnss_degraded_or_denied_flight.md index 5bb09c6fbfd..44116b53ca0 100644 --- a/docs/ko/advanced_config/gnss_degraded_or_denied_flight.md +++ b/docs/ko/advanced_config/gnss_degraded_or_denied_flight.md @@ -70,7 +70,7 @@ To enable the mode: 1. Set [EKF2_GPS_MODE](../advanced_config/parameter_reference.md#EKF2_GPS_MODE) to `1`. 2. Ensure that GNSS arming checks are enabled (a reliable GNSS signal is required before arming): - [COM_ARM_WO_GPS](../advanced_config/parameter_reference.md#COM_ARM_WO_GPS) - set to `0` - - [EKF2_GPS_CHECK](../advanced_config/parameter_reference.md#EKF2_GPS_CHECK) - set to default. + - [GNSS_CHECK](../advanced_config/parameter_reference.md#GNSS_CHECK) - set to default. ## See Also diff --git a/docs/ko/advanced_config/prearm_arm_disarm.md b/docs/ko/advanced_config/prearm_arm_disarm.md index c75877807dd..91cdaf9a295 100644 --- a/docs/ko/advanced_config/prearm_arm_disarm.md +++ b/docs/ko/advanced_config/prearm_arm_disarm.md @@ -15,7 +15,7 @@ Ground stations may display _disarmed_ for pre-armed vehicles. Users can control progression though these states using a [safety switch](../getting_started/px4_basic_concepts.md#safety-switch) on the vehicle (optional) _and_ an [arming switch/button](#arm_disarm_switch), [arming gesture](#arm_disarm_gestures), or _MAVLink command_ on the ground controller: -- A _safety switch_ is a control _on the vehicle_ that must be engaged before the vehicle can be armed, and which may also prevent prearming (depending on the configuration). +- A _safety switch_ is a control _on the vehicle_ that must be engaged before the vehicle can be armed, and which may also prevent pre-arming (depending on the configuration). 보통 안전 스위치는 GPS 장치에 붙어있으나, 별도의 부품으로 공급되기도 합니다. :::warning @@ -28,7 +28,7 @@ Users can control progression though these states using a [safety switch](../get - An _arming gesture_ is a stick movement _on an RC controller_ that can be used as an alternative to an arming switch. -- MAVLink 명령은 지상국에서 기체의 시동을 걸거나 시동을 해제할 수 있습니다. +- MAVLink commands can also be sent by a ground control station to pre-arm, arm, or disarm a vehicle. PX4는 시동 후 일정 시간 내에 이륙하지 않고, 착륙 후 수동으로 시동 해제하지 않으면, 기체의 시동은 자동으로 해제됩니다. 이것은 시동이 걸린 기체가 지상에서 안전사고를 유발할 수 있는 시간을 줄입니다. @@ -94,6 +94,15 @@ The switch can also be set as part of _QGroundControl_ [Flight Mode](../config/f | [COM_DISARM_LAND](../advanced_config/parameter_reference.md#COM_DISARM_LAND) | 착륙후 자동 시동 해제 대기 시간. 기본값: 2s (-1 비활성화). | | [COM_DISARM_PRFLT](../advanced_config/parameter_reference.md#COM_DISARM_PRFLT) | 이륙 속도가 너무 느리면 자동 시동 해제 시간이 초과됩니다. Default: 10s (-1 to disable). | +By default, the vehicle keeps safety off after disarming. +If [COM_FORCE_SAFETY](#COM_FORCE_SAFETY) is set to `1`, safety is re-enabled on disarm, so it must be turned off again (by switch or MAVLink command, depending on [COM_SAFETY_MODE](#COM_SAFETY_MODE)) before the next arming. +In modes that pre-arm when safety is turned off, this also exits the pre-armed state. +This parameter has no effect when `COM_SAFETY_MODE` is set to `0`. + +| Parameter | 설명 | +| ----------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | +| [COM_FORCE_SAFETY](../advanced_config/parameter_reference.md#COM_FORCE_SAFETY) | Re-enable safety when the vehicle disarms. Default: `0` (Disabled). | + ## Auto-Arming on Boot The vehicle can be configured to arm automatically on boot once all preflight checks pass, @@ -116,14 +125,14 @@ Ensure the vehicle is in a safe state before powering on. | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | | [COM_ARM_ON_BOOT](../advanced_config/parameter_reference.md#COM_ARM_ON_BOOT) | Arm automatically once preflight checks pass after boot. Default: `0` (Disabled). | -## Pre-Arm Checks +## Pre-Arm Checks {#prearm_checks} To reduce accidents, vehicles are only allowed to arm certain conditions are met (some of which are configurable). Arming is prevented if: - The vehicle is not in a "healthy" state. For example it is not calibrated, or is reporting sensor errors. -- The vehicle has a [safety switch](../getting_started/px4_basic_concepts.md#safety-switch) that has not been engaged. +- The vehicle still has its [safety state](#safety_state) set to _ON_. This could for instance be a [safety switch](../getting_started/px4_basic_concepts.md#safety-switch) that has not been engaged. - The vehicle has a [remote ID](../peripherals/remote_id.md) that is unhealthy or otherwise not ready - A VTOL vehicle is in fixed-wing mode ([by default](../advanced_config/parameter_reference.md#CBRK_VTOLARMING)). - The current mode requires an adequate global position estimate but the vehicle does not have GPS lock. @@ -134,7 +143,7 @@ The current failed checks can be viewed in QGroundControl (v4.2.0 and later) [Ar Note that internally PX4 runs arming checks at 10Hz. A list of the failed checks is kept, and if the list changes PX4 emits the current list using the [Events interface](../concept/events_interface.md). The list is also sent out when the GCS connects. -Effectively the GCS knows the status of prearm checks immediately, both when disarmed and armed. +Effectively the GCS knows the status of pre-arm checks immediately, both when disarmed and armed. :::details Implementation notes for developers @@ -148,108 +157,89 @@ QGC implementation: [HealthAndArmingCheckReport.cc](https://github.com/mavlink/q PX4 also emits a subset of the arming check information in the [SYS_STATUS](https://mavlink.io/en/messages/common.html#SYS_STATUS) message (see [MAV_SYS_STATUS_SENSOR](https://mavlink.io/en/messages/common.html#MAV_SYS_STATUS_SENSOR)). -## Arming Sequence: Pre Arm Mode & Safety Button +## Arming Sequence: Safety State {#safety_state} -The arming sequence depends on whether or not there is a _safety switch_, and is controlled by the parameters [COM_PREARM_MODE](#COM_PREARM_MODE) (Prearm mode) and [CBRK_IO_SAFETY](#CBRK_IO_SAFETY) (I/O safety circuit breaker). +The arming sequence depends on whether or not there is a _safety switch_, and is controlled by the parameter [COM_SAFETY_MODE](#COM_SAFETY_MODE). Changes to the parameter only take effect after a reboot. -The [COM_PREARM_MODE](#COM_PREARM_MODE) parameter defines when/if pre-arm mode is enabled ("safe"/non-throttling actuators are able to move): +When disarmed (or pre-armed), the safety state can either be _ON_ (a.k.a. _SAFE_), or _OFF_ (a.k.a. _DANGEROUS_). When it is _ON_, arming will always be prevented. When it is _OFF_, the vehicle can be armed for as long as the [pre-arm checks](#prearm_checks) have passed. -- _Disabled_: Pre-arm mode disabled (there is no stage where only "safe"/non-throttling actuators are enabled). -- _Safety Switch_ (Default): The pre-arm mode is enabled by the safety switch. - 안전 스위치가 없으면 시동전 모드가 활성화되지 않습니다. -- _Always_: Prearm mode is enabled from power up. +Additionally, the [COM_PREARM_MODE](#COM_PREARM_MODE) parameter defines when/if pre-arm mode is enabled ("safe"/non-throttling actuators are able to move): -기본 설정에서는 시동전에 안전 스위치를 사용하도록 설정합니다. -If there is no safety switch the I/O safety circuit breaker must be engaged ([CBRK_IO_SAFETY](#CBRK_IO_SAFETY)), and arming will depend only on the arm command. +- `Disabled` (Default): Pre-arm mode disabled (there is no stage where only non-throttling actuators are enabled). +- `When safety off`: Pre-arm mode is enabled when safety is turned off. +- `Always`: Pre-arm mode is enabled from power up. -아래 섹션에서는 여러가지 설정의 시작 순서를 자세히 설명합니다. +The sections below detail the startup sequences for the different configurations of [COM_SAFETY_MODE](#COM_SAFETY_MODE) and [COM_PREARM_MODE](#COM_PREARM_MODE). -### 기본값: COM_PREARM_MODE = Safety and Safety Switch +### COM_SAFETY_MODE=Always off (Default) and COM_PREARM_MODE=Disabled (Default) -기본 설정에서는 시동전에 안전 스위치를 사용하도록 설정합니다. -시동전에 이 스위치를 켜면 모든 모터와 액츄에이터를 가동하기 위하여 시동을 걸 수 있습니다. -It corresponds to: [COM_PREARM_MODE=1](#COM_PREARM_MODE) (safety switch) and [CBRK_IO_SAFETY=0](#CBRK_IO_SAFETY) (I/O safety circuit breaker disabled). +The default configuration does not impose any additional safety measures. Arming is possible as soon as the rest of the system is ready. 시작 절차는 다음과 같습니다: 1. 전원 인가 - 모든 액츄에이터를 시동 해제 상태로 잠금 - - 시동 걸기 불가능 -2. 안전 스위치 누름 - - 시스템이 시동전 상태로 전환: 추진 모터를 제외한 모든 액츄에이터 동작 가능(예: 보조익) - - 시스템 안전 장치 꺼짐: 시동 가능 -3. 시동 명령 인가 - - 시스템에 시동이 걸림 - - 모든 모터와 액츄에이터를 움직일 수 있음 - -### COM_PREARM_MODE = Disabled and Safety Switch - -When prearm mode is _Disabled_, engaging the safety switch does not unlock the "safe" actuators, though it does allow you to then arm the vehicle. -This corresponds to [COM_PREARM_MODE=0](#COM_PREARM_MODE) (Disabled) and [CBRK_IO_SAFETY=0](#CBRK_IO_SAFETY) (I/O safety circuit breaker disabled). - -시작 절차는 다음과 같습니다: - -1. 전원 인가 - - 모든 액츄에이터를 시동 해제 상태로 잠금 - - 시동 걸기 불가능 -2. 안전 스위치 누름 - - _All actuators stay locked into disarmed position (same as disarmed)._ - - 시스템 안전 장치 꺼짐: 시동 가능 -3. 시동 명령 인가 - - 시스템에 시동이 걸림 - - 모든 모터와 액츄에이터를 움직일 수 있음 - -### COM_PREARM_MODE = Always and Safety Switch - -When prearm mode is _Always_, prearm mode is enabled from power up. -시동 걸기 위하여 여전히 안전 스위치가 필요합니다. -This corresponds to [COM_PREARM_MODE=2](#COM_PREARM_MODE) (Always) and [CBRK_IO_SAFETY=0](#CBRK_IO_SAFETY) (I/O safety circuit breaker disabled). - -시작 절차는 다음과 같습니다: - -1. 전원 인가 - - 시스템이 시동전 상태로 전환: 추진 모터를 제외한 모든 액츄에이터 동작 가능(예: 보조익) - - 시동 걸기 불가능 -2. 안전 스위치 누름 - - 시스템 안전 장치 꺼짐: 시동 가능 -3. 시동 명령 인가 - - 시스템에 시동이 걸림 - - 모든 모터와 액츄에이터를 움직일 수 있음 - -### COM_PREARM_MODE = Safety or Disabled and No Safety Switch - -With no safety switch, when `COM_PREARM_MODE` is set to _Safety_ or _Disabled_ prearm mode cannot be enabled (same as disarmed). -This corresponds to [COM_PREARM_MODE=0 or 1](#COM_PREARM_MODE) (Disabled/Safety Switch) and [CBRK_IO_SAFETY=22027](#CBRK_IO_SAFETY) (I/O safety circuit breaker engaged). - -시작 절차는 다음과 같습니다: - -1. 전원 인가 - - 모든 액츄에이터를 시동 해제 상태로 잠금 - - 시스템 안전 장치 꺼짐: 시동 가능 + - System safety is off: Arming possible once the other pre-arm checks pass. 2. 시동 명령 인가 - 시스템에 시동이 걸림 - 모든 모터와 액츄에이터를 움직일 수 있음 -### COM_PREARM_MODE = Always and No Safety Switch +### COM_SAFETY_MODE=Safety switch (physical or virtual via MAVLink) and COM_PREARM_MODE=When safety off -When prearm mode is _Always_, prearm mode is enabled from power up. -This corresponds to [COM_PREARM_MODE=2](#COM_PREARM_MODE) (Always) and [CBRK_IO_SAFETY=22027](#CBRK_IO_SAFETY) (I/O safety circuit breaker engaged). +This configuration lets you use either the safety switch or a MAVLink command [MAV_CMD_DO_SET_SAFETY_SWITCH_STATE](https://mavlink.io/en/messages/common.html#MAV_CMD_DO_SET_SAFETY_SWITCH_STATE) to turn safety off. Note that sending the corresponding MAVLink command with SAFETY_SWITCH_STATE_SAFE also lets you turn safety back on, but the physical switch does \_not_ allow to go back to a safe state. 시작 절차는 다음과 같습니다: 1. 전원 인가 - - 시스템이 시동전 상태로 전환: 추진 모터를 제외한 모든 액츄에이터 동작 가능(예: 보조익) - - 시스템 안전 장치 꺼짐: 시동 가능 -2. 시동 명령 인가 + - 모든 액츄에이터를 시동 해제 상태로 잠금 + - 시동 걸기 불가능 +2. Safety switch is pressed or a MAVLink command is received. + - System now pre-armed: non-throttling actuators can move (e.g. ailerons). + - System safety is off: Arming possible once the other pre-arm checks pass. +3. 시동 명령 인가 + - 시스템에 시동이 걸림 + - 모든 모터와 액츄에이터를 움직일 수 있음 + +### COM_SAFETY_MODE=Physical safety switch only and COM_PREARM_MODE=When safety off + +When safety mode is `Physical safety switch only`, you must press the safety switch to turn safety off. Note that pressing the safety switch again does _not_ allow to go back to a safe state. +The MAVLink command is rejected. + +시작 절차는 다음과 같습니다: + +1. 전원 인가 + - 모든 액츄에이터를 시동 해제 상태로 잠금 + - 시동 걸기 불가능 +2. 안전 스위치 누름 + - System now pre-armed: non-throttling actuators can move (e.g. ailerons). + - System safety is off: Arming possible once the other pre-arm checks pass. +3. 시동 명령 인가 + - 시스템에 시동이 걸림 + - 모든 모터와 액츄에이터를 움직일 수 있음 + +### COM_SAFETY_MODE=MAVLink only and COM_PREARM_MODE=When safety off + +When safety mode is `MAVLink only`, you must send a MAVLink command [MAV_CMD_DO_SET_SAFETY_SWITCH_STATE](https://mavlink.io/en/messages/common.html#MAV_CMD_DO_SET_SAFETY_SWITCH_STATE) to turn safety off. Note that sending the corresponding MAVLink command with SAFETY_SWITCH_STATE_SAFE also lets you turn safety back on. +Any physical safety switch is ignored. + +시작 절차는 다음과 같습니다: + +1. 전원 인가 + - 모든 액츄에이터를 시동 해제 상태로 잠금 + - 시동 걸기 불가능 +2. A MAVLink command is received. + - System now pre-armed: non-throttling actuators can move (e.g. ailerons). + - System safety is off: Arming possible once the other pre-arm checks pass. +3. 시동 명령 인가 - 시스템에 시동이 걸림 - 모든 모터와 액츄에이터를 움직일 수 있음 ### 매개변수 -| Parameter | 설명 | -| -------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [COM_PREARM_MODE](../advanced_config/parameter_reference.md#COM_PREARM_MODE) | 시동전 모드로 진입하는 상태입니다. `0`: Disabled, `1`: Safety switch (prearm mode enabled by safety switch; if no switch present cannot be enabled), `2`: Always (prearm mode enabled from power up). Default: `1` (safety button). | -| [CBRK_IO_SAFETY](../advanced_config/parameter_reference.md#CBRK_IO_SAFETY) | 입출력 안전을 위한 회로 차단. | +| Parameter | 설명 | +| -------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| [COM_SAFETY_MODE](../advanced_config/parameter_reference.md#COM_SAFETY_MODE) | Condition to turn safety off. Vehicle arming is prevented for as long as safety is on. | +| [COM_PREARM_MODE](../advanced_config/parameter_reference.md#COM_PREARM_MODE) | Condition to enter the prearmed state. | +- **VIEWER:** This is the simulator ("viewer") to launch and connect: `gz`, `gazebo`, `none` :::tip - `none` can be used if you want to launch PX4 and wait for a simulator (jmavsim, Gazebo, Gazebo Classic, or some other simulator). + `none` can be used if you want to launch PX4 and wait for a simulator (Gazebo, Gazebo Classic, or some other simulator). For example, `make px4_sitl none_iris` launches PX4 without a simulator (but with the iris airframe). ::: @@ -329,7 +350,7 @@ make list_config_targets - 두 개의 다른 설정 사이에 기본값을 지정하려는 경우에는, 세 개의 밑줄을 사용할 수 있습니다. For example, `gazebo-classic___gdb` is equivalent to `gazebo-classic_iris_gdb`. - You can use a `none` value for `VIEWER_MODEL_DEBUGGER` to start PX4 and wait for a simulator. - For example start PX4 using `make px4_sitl_default none` and jMAVSim using `./Tools/simulation/jmavsim/jmavsim_run.sh -l`. + For example start PX4 using `make px4_sitl_default none` and then start your simulator. ::: diff --git a/docs/ko/dev_setup/dev_env_linux_arch.md b/docs/ko/dev_setup/dev_env_linux_arch.md index 1bea210e90e..4473e15f771 100644 --- a/docs/ko/dev_setup/dev_env_linux_arch.md +++ b/docs/ko/dev_setup/dev_env_linux_arch.md @@ -9,7 +9,7 @@ See [Toolchain Installation](../dev_setup/dev_env.md) for information about the The PX4-Autopilot repository provides a convenient script to set your Arch installation up for PX4 development: [Tools/setup/arch.sh](https://github.com/PX4/PX4-Autopilot/blob/main/Tools/setup/arch.sh). -The script installs (by default) all tools to build PX4 for NuttX targets and run simulation with [JMAVSim](../sim_jmavsim/index.md). +The script installs (by default) all tools to build PX4 for NuttX targets and run simulation with [SIH](../sim_sih/index.md). You can additionally install the [Gazebo Classic](../sim_gazebo_classic/index.md) simulator by specifying the command line argument: `--gazebo`. ![Gazebo on Arch](../../assets/simulation/gazebo_classic/arch-gazebo.png) @@ -47,4 +47,4 @@ The instructions have been tested on [Manjaro](https://manjaro.org/) (Arch based - `--no-nuttx`: Do not install the NuttX/Pixhawk toolchain (i.e. if only using simulation). -- `--no-sim-tools`: Do not install jMAVSim/Gazebo (i.e. if only targeting Pixhawk/NuttX targets) +- `--no-sim-tools`: Do not install the simulation dependencies (i.e. if only targeting Pixhawk/NuttX targets) diff --git a/docs/ko/dev_setup/dev_env_linux_ubuntu.md b/docs/ko/dev_setup/dev_env_linux_ubuntu.md index 9615e3233b7..8553e069724 100644 --- a/docs/ko/dev_setup/dev_env_linux_ubuntu.md +++ b/docs/ko/dev_setup/dev_env_linux_ubuntu.md @@ -1,6 +1,6 @@ # 우분투 개발 환경 -The following instructions use a bash script to set up the PX4 development environment on the [Ubuntu Linux LTS](https://wiki.ubuntu.com/LTS) versions supported by PX4: Ubuntu 24.04 (Nimble Numbat) and Ubuntu 22.04 (Jammy Jellyfish). +The following instructions use a bash script to set up the PX4 development environment on the [Ubuntu Linux LTS](https://ubuntu.com/about/release-cycle) versions supported by PX4: Ubuntu 24.04 (Nimble Numbat) and Ubuntu 22.04 (Jammy Jellyfish). The environment includes: diff --git a/docs/ko/dev_setup/dev_env_mac.md b/docs/ko/dev_setup/dev_env_mac.md index b7c339a1101..a88e736bf25 100644 --- a/docs/ko/dev_setup/dev_env_mac.md +++ b/docs/ko/dev_setup/dev_env_mac.md @@ -80,7 +80,7 @@ To build for [other targets](../dev_setup/dev_env.md#supported-targets) you will ::: info The script installs from third-party Homebrew taps and marks them as trusted (`brew trust`) on Homebrew 6.0 and later, which refuses to load formulae from untrusted taps. - With `--sim-tools` it will prompt for your password, since the XQuartz installer and the JDK link into `/Library/Java/JavaVirtualMachines` need `sudo`. + With `--sim-tools` it will prompt for your password. ::: @@ -88,6 +88,12 @@ To build for [other targets](../dev_setup/dev_env.md#supported-targets) you will The `--sim-tools` flag installs Gazebo and the libraries PX4's simulation modules build against. +Gazebo does not come from Homebrew. +The script installs it from a locked [conda-forge](https://conda-forge.org/) environment, using [pixi](https://pixi.sh), into `Tools/setup/macos/.pixi`. +The lock file pins every package, so the install does not change when Homebrew updates its own Gazebo dependencies. +The build and the `make px4_sitl gz_*` targets find it on their own, like the `.venv`. +Activating `.venv` also puts it on your `PATH`, which you only need to run `gz` commands directly. + If you skipped `--sim-tools` during initial setup and want to add simulation later, re-run the setup script with the flag (it is safe to run repeatedly): ```sh @@ -111,7 +117,7 @@ arm-none-eabi-gcc --version cmake --version ninja --version -# Gazebo (if --sim-tools was used) +# Gazebo (if --sim-tools was used, with .venv activated) gz sim --versions ``` diff --git a/docs/ko/dev_setup/dev_env_windows_cygwin.md b/docs/ko/dev_setup/dev_env_windows_cygwin.md index f8cf00f8df8..b6e1669dc33 100644 --- a/docs/ko/dev_setup/dev_env_windows_cygwin.md +++ b/docs/ko/dev_setup/dev_env_windows_cygwin.md @@ -14,7 +14,7 @@ See [Toolchain Installation](../dev_setup/dev_env.md) for information about the PX4 빌드에 사용되어 집니다. - Pixhawk와 기타 NuttX 기반 하드웨어 -- [jMAVSim Simulation](../sim_jmavsim/index.md) +- jMAVSim simulation (removed from PX4, see the note in [Getting Started](#getting-started)) @@ -73,6 +73,12 @@ The toolchain uses a specially configured console window (started by running the 4. For example, to run JMAVSim: + ::: info + jMAVSim has been removed from PX4, so this example only works with PX4 versions that still include it. + Current PX4 uses [SIH](../sim_sih/index.md) with the [Hawkeye](../sim_hawkeye/index.md) visualizer instead. + +::: + ```sh # Navigate to PX4-Autopilot repo cd Firmware diff --git a/docs/ko/dev_setup/dev_env_windows_vm.md b/docs/ko/dev_setup/dev_env_windows_vm.md index 0ad31324f55..cbf9a55e7b2 100644 --- a/docs/ko/dev_setup/dev_env_windows_vm.md +++ b/docs/ko/dev_setup/dev_env_windows_vm.md @@ -13,7 +13,7 @@ Windows 개발자는 Linux를 게스트 운영 체제로 사용하는 가상 머 가상 머신을 사용하는 것은 펌웨어 구축 환경을 설정과 테스트가 매우 편리하지만, 사용자는 다음 사항에 유의하여야 합니다. 1. 펌웨어 빌드는 Linux에서 빌드하는 것보다 조금 느립니다. -2. The JMAVSim simulation, frame rate be much slower than on native Linux. +2. Simulation frame rates will be much slower than on native Linux. 경우에 따라서, 가상 머신 리소스 부족과 관련된 문제로 차량이 충돌할 수 있습니다. 3. Gazebo와 ROS는 설치할 수 있지만, 사용할 수 없을 정도로 느립니다. @@ -41,7 +41,7 @@ VMWare performance is acceptable for basic usage (building Firmware) but not for 5. Enable 3D acceleration in the VM's settings: **VM > Settings > Hardware > Display > Accelerate 3D graphics** ::: info - This option is required to properly run 3D simulation environments like jMAVSim and Gazebo Classic. + This option is required to properly run 3D simulation environments like Gazebo and Gazebo Classic. 가상 환경에 Linux를 설치하기 전에 이 작업을 수행하는 것이 좋습니다. ::: diff --git a/docs/ko/dev_setup/sitl_container_builds.md b/docs/ko/dev_setup/sitl_container_builds.md index 1efde29934a..7c4180fb4af 100644 --- a/docs/ko/dev_setup/sitl_container_builds.md +++ b/docs/ko/dev_setup/sitl_container_builds.md @@ -140,7 +140,7 @@ GIT_COMMON_DIR=$(git rev-parse --path-format=absolute --git-common-dir) docker run --rm -it \ -v "$SOURCE:$SOURCE" -v "$GIT_COMMON_DIR:$GIT_COMMON_DIR" -w "$SOURCE" \ -e GIT_CONFIG_COUNT=1 -e GIT_CONFIG_KEY_0=safe.directory \ - -e "GIT_CONFIG_VALUE_0=$SOURCE" px4-dev-ros2:local bash + -e "GIT_CONFIG_VALUE_0=*" px4-dev-ros2:local bash ``` The same absolute mounts support both ordinary checkouts and git worktrees. @@ -196,6 +196,24 @@ Already installed Ubuntu/ROS Python versions are constrained during installation The SIH image does not acquire Gazebo or the NuttX toolchain. Installing the complete source-build toolset increases cold image-build time and size; existing native architecture and incremental cache boundaries remain in use. +## Testing A PX4 Checkout With ROS and Gazebo + +The `ghcr.io/px4/px4-dev-ros2-gazebo` image extends `ghcr.io/px4/px4-dev-ros2` by calling `Tools/setup/ubuntu.sh --no-nuttx` and therefore installing Gz Harmonic. +This allows to test PX4 changes in Gazebo. +To build the image locally and the start the container to build PX4, run + +```sh +bash Tools/packaging/containers/prepare_context.sh +ROS_DISTRO=jazzy docker buildx bake -f Tools/packaging/containers/docker-bake.hcl ros2-gazebo-dev \ + --set ros2-gazebo-dev.tags=px4-dev-ros2-gazebo:local --load +SOURCE=$(pwd -P) +GIT_COMMON_DIR=$(git rev-parse --path-format=absolute --git-common-dir) +docker run --rm -it \ + -v "$SOURCE:$SOURCE" -v "$GIT_COMMON_DIR:$GIT_COMMON_DIR" -w "$SOURCE" \ + -e GIT_CONFIG_COUNT=1 -e GIT_CONFIG_KEY_0=safe.directory \ + -e "GIT_CONFIG_VALUE_0=*" px4-dev-ros2-gazebo:local bash +``` + ## Container SBOMs The publishing workflow enables BuildKit's standard SBOM attestations for both runtime and ROS images. diff --git a/docs/ko/dronecan/ark_dist.md b/docs/ko/dronecan/ark_dist.md index 090ce27960e..957ed57d9a5 100644 --- a/docs/ko/dronecan/ark_dist.md +++ b/docs/ko/dronecan/ark_dist.md @@ -75,7 +75,6 @@ Set the following parameters in _QGroundControl_: - Enable [UAVCAN_ENABLE](../advanced_config/parameter_reference.md#UAVCAN_ENABLE) to 2 for dynamic node allocation. - Enable [UAVCAN_SUB_RNG](../advanced_config/parameter_reference.md#UAVCAN_SUB_RNG). -- Set [EKF2_RNG_A_HMAX](../advanced_config/parameter_reference.md#EKF2_RNG_A_HMAX) to `30`. - Set [EKF2_RNG_QLTY_T](../advanced_config/parameter_reference.md#EKF2_RNG_QLTY_T) to `0.2`. - Set [UAVCAN_RNG_MIN](../advanced_config/parameter_reference.md#UAVCAN_RNG_MIN) to `0.08`. - Set [UAVCAN_RNG_MAX](../advanced_config/parameter_reference.md#UAVCAN_RNG_MAX) to `30`. @@ -90,7 +89,6 @@ If connecting via a UART set the following parameters in _QGroundControl_: - Set [MAV_X_FORWARD](../advanced_config/parameter_reference.md#MAV_0_FORWARD) to `0` (off). - Set [MAV_X_MODE](../advanced_config/parameter_reference.md#MAV_0_MODE) to `7` or `13` to (Minimal or Low Bandwidth) to reduce memory usage. - Set `SER_XXX_BAUD` to `115200`, where `XXX` is specific to the port you are using (such as [SER_GPS2_BAUD](../advanced_config/parameter_reference.md#SER_GPS2_BAUD)). -- Set [EKF2_RNG_A_HMAX](../advanced_config/parameter_reference.md#EKF2_RNG_A_HMAX) to `30`. - Set [EKF2_RNG_QLTY_T](../advanced_config/parameter_reference.md#EKF2_RNG_QLTY_T) to `0.2`. ## See Also diff --git a/docs/ko/dronecan/ark_dist_mr.md b/docs/ko/dronecan/ark_dist_mr.md index a65866d1bfc..1b1fb45af13 100644 --- a/docs/ko/dronecan/ark_dist_mr.md +++ b/docs/ko/dronecan/ark_dist_mr.md @@ -74,7 +74,6 @@ Set the following parameters in _QGroundControl_: - Enable [UAVCAN_ENABLE](../advanced_config/parameter_reference.md#UAVCAN_ENABLE) to 2 for dynamic node allocation. - Enable [UAVCAN_SUB_RNG](../advanced_config/parameter_reference.md#UAVCAN_SUB_RNG). -- Set [EKF2_RNG_A_HMAX](../advanced_config/parameter_reference.md#EKF2_RNG_A_HMAX) to `50`. - Set [EKF2_RNG_QLTY_T](../advanced_config/parameter_reference.md#EKF2_RNG_QLTY_T) to `0.2`. - Set [UAVCAN_RNG_MIN](../advanced_config/parameter_reference.md#UAVCAN_RNG_MIN) to `0.08`. - Set [UAVCAN_RNG_MAX](../advanced_config/parameter_reference.md#UAVCAN_RNG_MAX) to `50`. @@ -89,7 +88,6 @@ If connecting via a UART set the following parameters in _QGroundControl_: - Set [MAV_X_FORWARD](../advanced_config/parameter_reference.md#MAV_0_FORWARD) to `0` (off). - Set [MAV_X_MODE](../advanced_config/parameter_reference.md#MAV_0_MODE) to `7` or `13` to (Minimal or Low Bandwidth) to reduce memory usage. - Set `SER_XXX_BAUD` to `115200`, where `XXX` is specific to the port you are using (such as [SER_GPS2_BAUD](../advanced_config/parameter_reference.md#SER_GPS2_BAUD)). -- Set [EKF2_RNG_A_HMAX](../advanced_config/parameter_reference.md#EKF2_RNG_A_HMAX) to `50`. - Set [EKF2_RNG_QLTY_T](../advanced_config/parameter_reference.md#EKF2_RNG_QLTY_T) to `0.2`. ## See Also diff --git a/docs/ko/dronecan/ark_flow.md b/docs/ko/dronecan/ark_flow.md index f0f558e5f73..062d255ba56 100644 --- a/docs/ko/dronecan/ark_flow.md +++ b/docs/ko/dronecan/ark_flow.md @@ -95,7 +95,6 @@ Set the following parameters in _QGroundControl_: - Enable [UAVCAN_SUB_FLOW](../advanced_config/parameter_reference.md#UAVCAN_SUB_FLOW). - Enable [UAVCAN_SUB_RNG](../advanced_config/parameter_reference.md#UAVCAN_SUB_RNG). - Set [EKF2_RNG_CTRL](../advanced_config/parameter_reference.md#EKF2_RNG_CTRL) to `1`. -- Set [EKF2_RNG_A_HMAX](../advanced_config/parameter_reference.md#EKF2_RNG_A_HMAX) to `10`. - Set [EKF2_RNG_QLTY_T](../advanced_config/parameter_reference.md#EKF2_RNG_QLTY_T) to `0.2`. - Set [UAVCAN_RNG_MIN](../advanced_config/parameter_reference.md#UAVCAN_RNG_MIN) to `0.08`. - Set [UAVCAN_RNG_MAX](../advanced_config/parameter_reference.md#UAVCAN_RNG_MAX) to `30`. diff --git a/docs/ko/dronecan/ark_flow_mr.md b/docs/ko/dronecan/ark_flow_mr.md index 3bd65bd6457..0caf08edfe8 100644 --- a/docs/ko/dronecan/ark_flow_mr.md +++ b/docs/ko/dronecan/ark_flow_mr.md @@ -92,7 +92,6 @@ Set the following parameters in _QGroundControl_: - Enable [UAVCAN_SUB_FLOW](../advanced_config/parameter_reference.md#UAVCAN_SUB_FLOW). - Enable [UAVCAN_SUB_RNG](../advanced_config/parameter_reference.md#UAVCAN_SUB_RNG). - Set [EKF2_RNG_CTRL](../advanced_config/parameter_reference.md#EKF2_RNG_CTRL) to `1`. -- Set [EKF2_RNG_A_HMAX](../advanced_config/parameter_reference.md#EKF2_RNG_A_HMAX) to `10`. - Set [EKF2_RNG_QLTY_T](../advanced_config/parameter_reference.md#EKF2_RNG_QLTY_T) to `0.2`. - Set [UAVCAN_RNG_MIN](../advanced_config/parameter_reference.md#UAVCAN_RNG_MIN) to `0.08`. - Set [UAVCAN_RNG_MAX](../advanced_config/parameter_reference.md#UAVCAN_RNG_MAX) to `50`. diff --git a/docs/ko/dronecan/ark_g5_rtk_gps.md b/docs/ko/dronecan/ark_g5_rtk_gps.md index 2727f2a325f..eb172121f37 100644 --- a/docs/ko/dronecan/ark_g5_rtk_gps.md +++ b/docs/ko/dronecan/ark_g5_rtk_gps.md @@ -97,7 +97,7 @@ There is also CAN built-in bus termination via [CANNODE_TERM](../advanced_config You need to set necessary [DroneCAN](index.md) parameters and define offsets if the sensor is not centred within the vehicle: - Enable [UAVCAN_SUB_GPS](../advanced_config/parameter_reference.md#UAVCAN_SUB_GPS), [UAVCAN_SUB_MAG](../advanced_config/parameter_reference.md#UAVCAN_SUB_MAG), and [UAVCAN_SUB_BARO](../advanced_config/parameter_reference.md#UAVCAN_SUB_BARO). -- The parameters [SENS_GPS0_OFFX](../advanced_config/parameter_reference.md#SENS_GPS0_OFFX), [SENS_GPS0_OFFY](../advanced_config/parameter_reference.md#SENS_GPS0_OFFY) and [SENS_GPS0_OFFZ](../advanced_config/parameter_reference.md#SENS_GPS0_OFFZ) can be set to account for the offset of the ARK G5 RTK GPS from the vehicle's centre of gravity. +- The parameters [SENS_GNSS0_OFFX](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFX), [SENS_GNSS0_OFFY](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFY) and [SENS_GNSS0_OFFZ](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFZ) can be set to account for the offset of the ARK G5 RTK GPS from the vehicle's centre of gravity. ## LED 신호의 의미 diff --git a/docs/ko/dronecan/ark_g5_rtk_heading_gps.md b/docs/ko/dronecan/ark_g5_rtk_heading_gps.md index 2e0c5d40940..71b24598d12 100644 --- a/docs/ko/dronecan/ark_g5_rtk_heading_gps.md +++ b/docs/ko/dronecan/ark_g5_rtk_heading_gps.md @@ -97,36 +97,15 @@ There is also CAN built-in bus termination via [CANNODE_TERM](../advanced_config You need to set necessary [DroneCAN](index.md) parameters and define offsets if the sensor is not centred within the vehicle: - Enable GPS yaw fusion by setting bit 3 of [EKF2_GPS_CTRL](../advanced_config/parameter_reference.md#EKF2_GPS_CTRL) to true. -- Enable GPS blending to ensure the heading is always published by setting [SENS_GPS_MASK](../advanced_config/parameter_reference.md#SENS_GPS_MASK) to 7 (all three bits checked). - Enable [UAVCAN_SUB_GPS](../advanced_config/parameter_reference.md#UAVCAN_SUB_GPS), [UAVCAN_SUB_MAG](../advanced_config/parameter_reference.md#UAVCAN_SUB_MAG), and [UAVCAN_SUB_BARO](../advanced_config/parameter_reference.md#UAVCAN_SUB_BARO). -- The parameters [SENS_GPS0_OFFX](../advanced_config/parameter_reference.md#SENS_GPS0_OFFX), [SENS_GPS0_OFFY](../advanced_config/parameter_reference.md#SENS_GPS0_OFFY) and [SENS_GPS0_OFFZ](../advanced_config/parameter_reference.md#SENS_GPS0_OFFZ) can be set to account for the offset of the ARK G5 RTK HEADING GPS from the vehicle's centre of gravity. +- The parameters [SENS_GNSS0_OFFX](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFX), [SENS_GNSS0_OFFY](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFY) and [SENS_GNSS0_OFFZ](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFZ) can be set to account for the offset of the MAIN antenna from the vehicle's centre of gravity. +- Set [SENS_GNSS0_HDG](../advanced_config/parameter_reference.md#SENS_GNSS0_HDG) to `Dual antenna` and [SENS_GNSS0_AUXX/Y/Z](../advanced_config/parameter_reference.md#SENS_GNSS0_AUXX) to the position of the ANT2 antenna, in the slot matched by [SENS_GNSS0_ID](../advanced_config/parameter_reference.md#SENS_GNSS0_ID). + Module firmware that still has `SEP_OFFS_YAW` applies it on top: set it to 0. ### Parameter references This GPS is using ARK's private driver, the parameters below only exist on the firmware we ship the GPS with. You can set these params either in QGC or using the DroneCAN GUI Tool. -#### SEP_OFFS_YAW (float) - -Heading offset angle for dual antenna GPS setups that support heading estimation. -Set this to 0 if the antennas are parallel to the forward-facing direction of the vehicle and the Rover/ANT2 antenna is in front. -The offset angle increases clockwise. -Set this to 90 if the ANT2 antenna is placed on the right side of the vehicle and the Moving Base/MAIN antenna is on the left side. - -- Default: 0 -- Min: -360 -- Max: 360 -- Unit: degree - -#### SEP_OFFS_PITCH (float) - -Vertical offsets can be compensated for by adjusting the Pitch offset. -Note that this can be interpreted as the "roll" angle in case the antennas are aligned along the perpendicular axis. This occurs in situations where the two antenna ARPs may not be exactly at the same height in the vehicle reference frame. Since pitch is defined as the right-handed rotation about the vehicle Y axis, a situation where the main antenna is mounted lower than the aux antenna (assuming the default antenna setup) will result in a positive pitch. - -- Default: 0 -- Min: -90 -- Max: 90 -- Unit: degree - #### SEP_OUT_RATE (enum) Configures the output rate for GNSS data messages. diff --git a/docs/ko/dronecan/ark_gps.md b/docs/ko/dronecan/ark_gps.md index 99533c0caba..5f119f4a696 100644 --- a/docs/ko/dronecan/ark_gps.md +++ b/docs/ko/dronecan/ark_gps.md @@ -91,7 +91,7 @@ If the sensor is not centred within the vehicle you will also need to define sen - Enable GPS yaw fusion by setting bit 3 of [EKF2_GPS_CTRL](../advanced_config/parameter_reference.md#EKF2_GPS_CTRL) to true. - Enable [UAVCAN_SUB_GPS](../advanced_config/parameter_reference.md#UAVCAN_SUB_GPS), [UAVCAN_SUB_MAG](../advanced_config/parameter_reference.md#UAVCAN_SUB_MAG), and [UAVCAN_SUB_BARO](../advanced_config/parameter_reference.md#UAVCAN_SUB_BARO). -- The parameters [SENS_GPS0_OFFX](../advanced_config/parameter_reference.md#SENS_GPS0_OFFX), [SENS_GPS0_OFFY](../advanced_config/parameter_reference.md#SENS_GPS0_OFFY) and [SENS_GPS0_OFFZ](../advanced_config/parameter_reference.md#SENS_GPS0_OFFZ) can be set to account for the offset of the ARK GPS from the vehicles centre of gravity. +- The parameters [SENS_GNSS0_OFFX](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFX), [SENS_GNSS0_OFFY](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFY) and [SENS_GNSS0_OFFZ](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFZ) can be set to account for the offset of the ARK GPS from the vehicles centre of gravity. ### ARK GPS Configuration diff --git a/docs/ko/dronecan/ark_rtk_gps.md b/docs/ko/dronecan/ark_rtk_gps.md index 3e86af26ea4..cc704c78559 100644 --- a/docs/ko/dronecan/ark_rtk_gps.md +++ b/docs/ko/dronecan/ark_rtk_gps.md @@ -83,10 +83,11 @@ GPS data should arrive at 10Hz. You need to set necessary [DroneCAN](index.md) parameters and define offsets if the sensor is not centred within the vehicle: - Enable GPS yaw fusion by setting bit 3 of [EKF2_GPS_CTRL](../advanced_config/parameter_reference.md#EKF2_GPS_CTRL) to true. -- Enable GPS blending to ensure the heading is always published by setting [SENS_GPS_MASK](../advanced_config/parameter_reference.md#SENS_GPS_MASK) to 7 (all three bits checked). -- If using [Moving Baseline & GPS Heading](#setting-up-moving-baseline-gps-heading), set [SENS_GPS_PRIME](../advanced_config/parameter_reference.md#SENS_GPS_PRIME) to the CAN node ID of the _Moving Base_ module. The moving base is preferred because the rover receiver in a moving baseline configuration can experience degraded navigation rate and increased data latency when corrections are intermittent. +- Enable GPS blending to ensure the heading is always published by setting [SENS_GNSS_MASK](../advanced_config/parameter_reference.md#SENS_GNSS_MASK) to 7 (all three bits checked). +- If using [Moving Baseline & GPS Heading](#setting-up-moving-baseline-gps-heading), set [SENS_GNSS_PRIME](../advanced_config/parameter_reference.md#SENS_GNSS_PRIME) to the CAN node ID of the _Moving Base_ module. The moving base is preferred because the rover receiver in a moving baseline configuration can experience degraded navigation rate and increased data latency when corrections are intermittent. - Enable [UAVCAN_SUB_GPS](../advanced_config/parameter_reference.md#UAVCAN_SUB_GPS), [UAVCAN_SUB_MAG](../advanced_config/parameter_reference.md#UAVCAN_SUB_MAG), and [UAVCAN_SUB_BARO](../advanced_config/parameter_reference.md#UAVCAN_SUB_BARO). -- The parameters [SENS_GPS0_OFFX](../advanced_config/parameter_reference.md#SENS_GPS0_OFFX), [SENS_GPS0_OFFY](../advanced_config/parameter_reference.md#SENS_GPS0_OFFY) and [SENS_GPS0_OFFZ](../advanced_config/parameter_reference.md#SENS_GPS0_OFFZ) can be set to account for the offset of the ARK RTK GPS from the vehicles centre of gravity. +- The parameters [SENS_GNSS0_OFFX](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFX), [SENS_GNSS0_OFFY](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFY) and [SENS_GNSS0_OFFZ](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFZ) can be set to account for the offset of the ARK RTK GPS from the vehicles centre of gravity. +- If using [Moving Baseline & GPS Heading](#setting-up-moving-baseline-gps-heading), set [SENS_GNSSn_HDG](../advanced_config/parameter_reference.md#SENS_GNSS0_HDG) to `Moving base rover` for the _Rover_'s slot (matched by [SENS_GNSSn_ID](../advanced_config/parameter_reference.md#SENS_GNSS0_ID)) and the antenna offsets of both modules (see [heading baseline](../gps_compass/rtk_gps.md#configuring-gps-as-yaw-heading-source)). ### ARK RTK GPS Configuration @@ -122,7 +123,9 @@ For more information see [Rover and Fixed Base](../dronecan/index.md#rover-and-f The simplest way to set up moving baseline and GPS heading with two ARK RTK GPS modules is via CAN, though it can be done via UART to reduce traffic on the CAN bus if desired. -Note that a heading is only output if the Rover is in RTX Fixed mode. It will not output a heading in RTK Float. +Note that a heading is only output if the Rover is in RTK Fixed mode. It will not output a heading in RTK Float. + +Both modules run at 5 Hz in the moving base modes, the u-blox maximum for a moving base, because a rover must share its base's navigation rate. The node firmware sets this, so leave [GPS_UBX_RATE](../advanced_config/parameter_reference.md#GPS_UBX_RATE) at `0`. Setup via CAN: @@ -135,12 +138,11 @@ Setup via CAN: ::: - On the _Rover_, set the following: - [GPS_UBX_MODE](../advanced_config/parameter_reference.md#GPS_UBX_MODE) to `3` - - [GPS_YAW_OFFSET](../advanced_config/parameter_reference.md#GPS_YAW_OFFSET) to `0` if your _Rover_ is in front of your _Moving Base_, `90` if _Rover_ is right of _Moving Base_, `180` if _Rover_ is behind _Moving Base_, or `270` if _Rover_ is left of _Moving Base_. - [CANNODE_SUB_MBD](../advanced_config/parameter_reference.md#CANNODE_SUB_MBD) to `1`. - On the _Moving Base_, set the following: - [GPS_UBX_MODE](../advanced_config/parameter_reference.md#GPS_UBX_MODE) to `4`. - [CANNODE_PUB_MBD](../advanced_config/parameter_reference.md#CANNODE_PUB_MBD) to `1`. -- On the _Flight Controller_, set [SENS_GPS_PRIME](../advanced_config/parameter_reference.md#SENS_GPS_PRIME) to the CAN node ID of the _Moving Base_ (see [PX4 Configuration](#px4-configuration)). +- On the _Flight Controller_, set [SENS_GNSS_PRIME](../advanced_config/parameter_reference.md#SENS_GNSS_PRIME) to the CAN node ID of the _Moving Base_ (see [PX4 Configuration](#px4-configuration)). Setup via UART: @@ -156,10 +158,9 @@ Setup via UART: - On the _Rover_, set the following: - [GPS_UBX_MODE](../advanced_config/parameter_reference.md#GPS_UBX_MODE) to `1` - - [GPS_YAW_OFFSET](../advanced_config/parameter_reference.md#GPS_YAW_OFFSET) to `0` if your _Rover_ is in front of your _Moving Base_, `90` if _Rover_ is right of _Moving Base_, `180` if _Rover_ is behind _Moving Base_, or `270` if _Rover_ is left of _Moving Base_. - On the _Moving Base_, set the following: - [GPS_UBX_MODE](../advanced_config/parameter_reference.md#GPS_UBX_MODE) to `2`. -- On the _Flight Controller_, set [SENS_GPS_PRIME](../advanced_config/parameter_reference.md#SENS_GPS_PRIME) to the CAN node ID of the _Moving Base_ (see [PX4 Configuration](#px4-configuration)). +- On the _Flight Controller_, set [SENS_GNSS_PRIME](../advanced_config/parameter_reference.md#SENS_GNSS_PRIME) to the CAN node ID of the _Moving Base_ (see [PX4 Configuration](#px4-configuration)). For more information see [Rover and Moving Base](../dronecan/index.md#rover-and-moving-base) in the DroneCAN guide. diff --git a/docs/ko/dronecan/ark_rtk_gps_l1_l2.md b/docs/ko/dronecan/ark_rtk_gps_l1_l2.md index 952f9d27717..79f0625c2eb 100644 --- a/docs/ko/dronecan/ark_rtk_gps_l1_l2.md +++ b/docs/ko/dronecan/ark_rtk_gps_l1_l2.md @@ -83,9 +83,9 @@ GPS data should arrive at 10Hz. You need to set necessary [DroneCAN](index.md) parameters and define offsets if the sensor is not centred within the vehicle: - Enable GPS yaw fusion by setting bit 3 of [EKF2_GPS_CTRL](../advanced_config/parameter_reference.md#EKF2_GPS_CTRL) to true. -- Enable GPS blending to ensure the heading is always published by setting [SENS_GPS_MASK](../advanced_config/parameter_reference.md#SENS_GPS_MASK) to 7 (all three bits checked). +- Enable GPS blending to ensure the heading is always published by setting [SENS_GNSS_MASK](../advanced_config/parameter_reference.md#SENS_GNSS_MASK) to 7 (all three bits checked). - Enable [UAVCAN_SUB_GPS](../advanced_config/parameter_reference.md#UAVCAN_SUB_GPS), [UAVCAN_SUB_MAG](../advanced_config/parameter_reference.md#UAVCAN_SUB_MAG), and [UAVCAN_SUB_BARO](../advanced_config/parameter_reference.md#UAVCAN_SUB_BARO). -- The parameters [SENS_GPS0_OFFX](../advanced_config/parameter_reference.md#SENS_GPS0_OFFX), [SENS_GPS0_OFFY](../advanced_config/parameter_reference.md#SENS_GPS0_OFFY) and [SENS_GPS0_OFFZ](../advanced_config/parameter_reference.md#SENS_GPS0_OFFZ) can be set to account for the offset of the ARK RTK GPS L1 L5 from the vehicles centre of gravity. +- The parameters [SENS_GNSS0_OFFX](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFX), [SENS_GNSS0_OFFY](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFY) and [SENS_GNSS0_OFFZ](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFZ) can be set to account for the offset of the ARK RTK GPS L1 L5 from the vehicles centre of gravity. ### ARK RTK GPS L1 L5 Configuration diff --git a/docs/ko/dronecan/ark_x20_rtk_gps.md b/docs/ko/dronecan/ark_x20_rtk_gps.md index e88f3e64820..42798152f8c 100644 --- a/docs/ko/dronecan/ark_x20_rtk_gps.md +++ b/docs/ko/dronecan/ark_x20_rtk_gps.md @@ -86,9 +86,9 @@ GPS data should arrive at 10Hz. You need to set necessary [DroneCAN](index.md) parameters and define offsets if the sensor is not centred within the vehicle: - Enable GPS yaw fusion by setting bit 3 of [EKF2_GPS_CTRL](../advanced_config/parameter_reference.md#EKF2_GPS_CTRL) to true. -- Enable GPS blending to ensure the heading is always published by setting [SENS_GPS_MASK](../advanced_config/parameter_reference.md#SENS_GPS_MASK) to 7 (all three bits checked). +- Enable GPS blending to ensure the heading is always published by setting [SENS_GNSS_MASK](../advanced_config/parameter_reference.md#SENS_GNSS_MASK) to 7 (all three bits checked). - Enable [UAVCAN_SUB_GPS](../advanced_config/parameter_reference.md#UAVCAN_SUB_GPS), [UAVCAN_SUB_MAG](../advanced_config/parameter_reference.md#UAVCAN_SUB_MAG), and [UAVCAN_SUB_BARO](../advanced_config/parameter_reference.md#UAVCAN_SUB_BARO). -- The parameters [SENS_GPS0_OFFX](../advanced_config/parameter_reference.md#SENS_GPS0_OFFX), [SENS_GPS0_OFFY](../advanced_config/parameter_reference.md#SENS_GPS0_OFFY) and [SENS_GPS0_OFFZ](../advanced_config/parameter_reference.md#SENS_GPS0_OFFZ) can be set to account for the offset of the ARK X20 RTK GPS from the vehicles centre of gravity. +- The parameters [SENS_GNSS0_OFFX](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFX), [SENS_GNSS0_OFFY](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFY) and [SENS_GNSS0_OFFZ](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFZ) can be set to account for the offset of the ARK X20 RTK GPS from the vehicles centre of gravity. ### ARK X20 RTK GPS Configuration diff --git a/docs/ko/dronecan/holybro_h_rtk_zed_f9p_gps.md b/docs/ko/dronecan/holybro_h_rtk_zed_f9p_gps.md index 06df69e8345..b5d0db94183 100644 --- a/docs/ko/dronecan/holybro_h_rtk_zed_f9p_gps.md +++ b/docs/ko/dronecan/holybro_h_rtk_zed_f9p_gps.md @@ -113,7 +113,7 @@ Then in order to enable the subscription in DroneCAN, enable the following PX4 a - [UAVCAN_ENABLE](../advanced_config/parameter_reference.md#UAVCAN_ENABLE): Set to `1` to enable DroneCAN in PX4 - [EKF2_GPS_CTRL](../advanced_config/parameter_reference.md#EKF2_GPS_CTRL): Set to `15` to enable Dual antenna heading. - [UAVCAN_SUB_GPS_R](../advanced_config/parameter_reference.md#UAVCAN_SUB_GPS_R): Set to `1` to enable subscription to GNSS relative. -- [EKF2_GPS_YAW_OFF](../advanced_config/parameter_reference.md#GPS_YAW_OFFSET): Set to the clockwise angle (degrees) corresponding to base and rover orientation (e.g. 90 degrees when moving base to the left and rover to the right) +- [SENS_GNSSn_HDG](../advanced_config/parameter_reference.md#SENS_GNSS0_HDG): `Moving base rover` for the rover's slot, matched by [SENS_GNSSn_ID](../advanced_config/parameter_reference.md#SENS_GNSS0_ID), with the antenna offsets [SENS_GNSSn_OFFX/Y/Z](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFX) of both F9Ps set (see [heading baseline](../gps_compass/rtk_gps.md#configuring-gps-as-yaw-heading-source)) Once these params are enabled and the F9Ps are mounted to the airframe (assuming valid RTK fix) the LED's on both F9Ps should turn green. diff --git a/docs/ko/dronecan/holybro_m8n_gps.md b/docs/ko/dronecan/holybro_m8n_gps.md index 92b784336e8..96551aea6bd 100644 --- a/docs/ko/dronecan/holybro_m8n_gps.md +++ b/docs/ko/dronecan/holybro_m8n_gps.md @@ -94,4 +94,4 @@ If the sensor is not centred within the vehicle you will also need to define sen - Enable GPS yaw fusion by setting bit 3 of [EKF2_GPS_CTRL](../advanced_config/parameter_reference.md#EKF2_GPS_CTRL) to true. - Enable [UAVCAN_SUB_GPS](../advanced_config/parameter_reference.md#UAVCAN_SUB_GPS), [UAVCAN_SUB_MAG](../advanced_config/parameter_reference.md#UAVCAN_SUB_MAG), and [UAVCAN_SUB_BARO](../advanced_config/parameter_reference.md#UAVCAN_SUB_BARO). - Set [CANNODE_TERM](../advanced_config/parameter_reference.md#CANNODE_TERM) to `1` if this is that last node on the CAN bus. -- The parameters [SENS_GPS0_OFFX](../advanced_config/parameter_reference.md#SENS_GPS0_OFFX), [SENS_GPS0_OFFY](../advanced_config/parameter_reference.md#SENS_GPS0_OFFY) and [SENS_GPS0_OFFZ](../advanced_config/parameter_reference.md#SENS_GPS0_OFFZ) can be set to account for the offset of the ARK GPS from the vehicles centre of gravity. +- The parameters [SENS_GNSS0_OFFX](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFX), [SENS_GNSS0_OFFY](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFY) and [SENS_GNSS0_OFFZ](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFZ) can be set to account for the offset of the ARK GPS from the vehicles centre of gravity. diff --git a/docs/ko/dronecan/index.md b/docs/ko/dronecan/index.md index 2d87d761553..e61f1beab05 100644 --- a/docs/ko/dronecan/index.md +++ b/docs/ko/dronecan/index.md @@ -199,7 +199,7 @@ GPS CANNODE parameter ([set using QGC](#qgc-cannode-parameter-configuration)): Other PX4 Parameters: -- If the GPS is not positioned at the vehicle centre of gravity you can account for the offset using [SENS_GPS0_OFFX](../advanced_config/parameter_reference.md#SENS_GPS0_OFFX), [SENS_GPS0_OFFY](../advanced_config/parameter_reference.md#SENS_GPS0_OFFY) and [SENS_GPS0_OFFZ](../advanced_config/parameter_reference.md#SENS_GPS0_OFFZ). +- If the GPS is not positioned at the vehicle centre of gravity you can account for the offset using [SENS_GNSS0_OFFX](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFX), [SENS_GNSS0_OFFY](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFY) and [SENS_GNSS0_OFFZ](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFZ). - If the GPS module provides yaw information, you can enable GPS yaw fusion by setting bit 3 of [EKF2_GPS_CTRL](../advanced_config/parameter_reference.md#EKF2_GPS_CTRL) to true. #### RTK GPS @@ -235,7 +235,8 @@ These parameters can be [set on moving base and rover RTK CAN nodes](#qgc-cannod - [CANNODE_PUB_MBD](../advanced_config/parameter_reference.md#CANNODE_PUB_MBD) causes a moving base GPS unit to publish [MovingBaselineData](https://dronecan.github.io/Specification/7._List_of_standard_data_types/#movingbaselinedata)RTCM messages onto the bus (for the rover) - [CANNODE_SUB_MBD](../advanced_config/parameter_reference.md#CANNODE_SUB_MBD) tells the rover that it should subscribe to [MovingBaselineData](https://dronecan.github.io/Specification/7._List_of_standard_data_types/#movingbaselinedata) RTCM messages on the bus (from the moving base). -For PX4 you will also need to set [GPS_YAW_OFFSET](../advanced_config/parameter_reference.md#GPS_YAW_OFFSET) to indicate the relative position of the moving base and rover: 0 if your Rover is in front of your Moving Base, 90 if Rover is right of Moving Base, 180 if Rover is behind Moving Base, or 270 if Rover is left of Moving Base. +On the autopilot, set [SENS_GNSSn_HDG](../advanced_config/parameter_reference.md#SENS_GNSS0_HDG) to `Moving base rover` for the rover's slot (matched by [SENS_GNSSn_ID](../advanced_config/parameter_reference.md#SENS_GNSS0_ID)) and the antenna offsets of both nodes (see [heading baseline](../gps_compass/rtk_gps.md#configuring-gps-as-yaw-heading-source)). +A node running older firmware subtracts its own `GPS_YAW_OFFSET`; leave that at 0. #### 기압계 @@ -335,6 +336,17 @@ PX4 identifies valid firmware binaries (`.bin`) based on the presence of an **AP PX4 uses this descriptor to match each binary to the correct node and to determine whether an update is needed. ::: +### Getting Firmware + +Every PX4 release publishes the firmware for CAN nodes built by PX4 as `.uavcan.bin` (for example `cuav_can-gps-v1_default.uavcan.bin`), attached to the [GitHub release](https://github.com/PX4/PX4-Autopilot/releases). +When you build a CAN node target yourself with `make `, the `.uavcan.bin` file is written to `build//`. + +:::info +Flight controller builds can no longer embed CAN node firmware in their ROMFS. +The `CONFIG_BOARD_UAVCAN_PERIPHERALS` board option and the `px4_fmu-v5_uavcanv0periph` build that used it (embedding CUAV CAN GPS v1 firmware) were removed after PX4 v1.18. +Copy the node's `.uavcan.bin` to the SD card as described below instead. +::: + ### Firmware Directories Place firmware binaries in one of these locations on the SD card before rebooting: diff --git a/docs/ko/dronecan/px4_cannode_fw.md b/docs/ko/dronecan/px4_cannode_fw.md index 7fca1d1368a..ce6bcce2e2c 100644 --- a/docs/ko/dronecan/px4_cannode_fw.md +++ b/docs/ko/dronecan/px4_cannode_fw.md @@ -81,6 +81,20 @@ make ark_can-flow_canbootloader The binary can then be flashed to the microcontroller using your favorite SWD/JTAG debugger, such as the [Black Magic Probe](https://black-magic.org/index.html), [ST-Link](https://www.st.com/en/development-tools/st-link-v2.html), or [Segger JLink](https://www.segger.com/products/debug-probes/j-link/). +On STM32 boards the `canbootloader` build also writes the binary to `boards///extras/__bootloader.bin`. +When that file exists, the `default` build additionally produces `__default_with_bootloader.bin`: bootloader and application in one image, flashed at `0x08000000` (`st-flash write 0x8000000`). +The image spans the parameter sectors, so flashing it resets the node's parameters. + +Boards with `CONFIG_SYSTEMCMDS_BL_UPDATE=y` embed that bootloader in the application firmware and rewrite the bootloader within about 2 seconds of [SYS_BL_UPDATE](../advanced_config/parameter_reference.md#SYS_BL_UPDATE) being set, without rebooting. +From the flight controller's [MAVLink Shell](../debug/mavlink_shell.md): + +```sh +uavcan param set SYS_BL_UPDATE 1 +``` + +The node reports `bootloader updated`, `bootloader unchanged`, or `bootloader update failed: `, which the flight controller logs as `uavcan::uavcannode`. +Do not power off the node during the update. + ### Firmware Internals For the most part, peripheral firmware works the same way as flight controller firmware builds. diff --git a/docs/ko/dronecan/smartmicro_t132.md b/docs/ko/dronecan/smartmicro_t132.md index 1107e88c66a..bed4a31b8df 100644 --- a/docs/ko/dronecan/smartmicro_t132.md +++ b/docs/ko/dronecan/smartmicro_t132.md @@ -73,7 +73,6 @@ Future firmware update is possible with proprietary Smartmicro software via CAN - In _QGroundControl_ set the parameter [UAVCAN_ENABLE](../advanced_config/parameter_reference.md#UAVCAN_ENABLE) to `2` for dynamic node allocation. - Confirm that [UAVCAN_BITRATE](../advanced_config/parameter_reference.md#UAVCAN_BITRATE) is set to 1000000 (1 Mbit/s). - Enable [UAVCAN_SUB_RNG](../advanced_config/parameter_reference.md#UAVCAN_SUB_RNG). -- Set [EKF2_RNG_A_HMAX](../advanced_config/parameter_reference.md#EKF2_RNG_A_HMAX) to `175`. - Set [EKF2_RNG_QLTY_T](../advanced_config/parameter_reference.md#EKF2_RNG_QLTY_T) to `0.2`. - Set [UAVCAN_RNG_MIN](../advanced_config/parameter_reference.md#UAVCAN_RNG_MIN) to `1`. - Set [UAVCAN_RNG_MAX](../advanced_config/parameter_reference.md#UAVCAN_RNG_MAX) to `175`. diff --git a/docs/ko/features_mc/gain_compression.md b/docs/ko/features_mc/gain_compression.md new file mode 100644 index 00000000000..771a123e9aa --- /dev/null +++ b/docs/ko/features_mc/gain_compression.md @@ -0,0 +1,28 @@ +# Gain compression + + + +Automatic gain compression reduces the gains of the angular-rate PID whenever oscillations are detected. +It monitors the angular-rate controller output (the torque setpoint) through a band-pass filter to identify these oscillations, and scales the output down until they stop. +The gain recovers to 1.0 once the oscillation is gone. + +This approach is a safe adaptive mechanism: the PID gains remain unchanged when no oscillations are present, they are never increased beyond their nominal values, and they are bounded by a minimum limit ([MC_GC_GAIN_MIN](../advanced_config/parameter_reference.md#MC_GC_GAIN_MIN)). + +Gain compression can help prevent actuator damage, and even loss of the vehicle, when the rate loop becomes oscillatory in flight: for example after a payload change that shifts the CG or inertia, a partial propeller failure, or gains that were tuned for a different configuration. +It removes the need to retune manually for the oscillation to stop. + +The algorithm is the same one used on fixed-wing vehicles, where you can also find a [block diagram](../features_fw/gain_compression.md) of the adaptive law (the multicopter rate loop has no airspeed scaling stage). + +## 사용법 + +Gain compression is disabled by default and is enabled with [MC_GC_EN](../advanced_config/parameter_reference.md#MC_GC_EN). + +It should be disabled during multicopter [manual tuning](../config_mc/pid_tuning_guide_multicopter.md) to avoid over-tuning: with compression active, an oscillation caused by gains that are too high is damped out, which hides the very symptom the tuning process relies on. +It does not need to be disabled when [autotuning](../config/autotune_mc.md). + +Compression is automatically reset (gain back to 1.0) while the vehicle is disarmed or landed, so that vibration from ground contact cannot compress the gains before takeoff. + +## 매개변수 + +- [MC_GC_EN](../advanced_config/parameter_reference.md#MC_GC_EN) +- [MC_GC_GAIN_MIN](../advanced_config/parameter_reference.md#MC_GC_GAIN_MIN) diff --git a/docs/ko/features_mc/index.md b/docs/ko/features_mc/index.md index 44e8a339ff9..0ea80a215fe 100644 --- a/docs/ko/features_mc/index.md +++ b/docs/ko/features_mc/index.md @@ -8,3 +8,4 @@ This section lists features that are specific to (or customised for) multicopter - [Terrain Following/Holding](../flying/terrain_following_holding.md) - [Throw Launch](../flight_modes_mc/throw_launch.md) - [Motor Failure Recovery](../config/motor_failure_recovery.md) +- [Gain Compression](../features_mc/gain_compression.md) diff --git a/docs/ko/flight_controller/agam_v6xrt.md b/docs/ko/flight_controller/agam_v6xrt.md index 47c67672481..3d958518590 100644 --- a/docs/ko/flight_controller/agam_v6xrt.md +++ b/docs/ko/flight_controller/agam_v6xrt.md @@ -49,13 +49,13 @@ See [Agam's IMU triple redundancy notes](https://agamrobotics.gitbook.io/docs/au - 64MB external Octal SPI flash - On-board sensors — Agam Autopilot v6X-RT ships in two sensor-set variants (Sensor Set 1 and Sensor Set 3, per [Pixhawk Standards](https://github.com/pixhawk/Pixhawk-Standards/blob/master/DS-020%20Pixhawk%20Autopilot%20v6X-RT%20Standard.pdf)): - Sensor Set 1: - - 2x [InvenSense ICM-42688-P IMU](https://www.invensense.tdk.com/products/motion-tracking/6-axis/icm-42688-p/) - - [Bosch BMI088 IMU](https://www.bosch-sensortec.com/products/motion-sensors/imus/bmi088/) + - 2x [InvenSense ICM-42688-P IMU](https://www.invensense.tdk.com/en-us/products/6-axis/icm-42688-p) + - [Bosch BMI088 IMU](https://www.bosch-sensortec.com/en/products/motion-sensors/imus/bmi088/) - [Bosch BMM150 Magnetometer](https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmm150-ds001.pdf) - 2x [Bosch BMP388 Barometer](https://www.bosch-sensortec.com/en/products/environmental-sensors/pressure-sensors/bmp390/) - Sensor Set 3: - 2x [TDK InvenSense ICM-45686 IMU](https://www.invensense.tdk.com/en-us/products/6-axis/icm-45686) - - [Bosch BMI088 IMU](https://www.bosch-sensortec.com/products/motion-sensors/imus/bmi088/) + - [Bosch BMI088 IMU](https://www.bosch-sensortec.com/en/products/motion-sensors/imus/bmi088/) - [Bosch BMM350 Magnetometer](https://www.bosch-sensortec.com/en/products/motion-sensors/magnetometers/bmm350) - 2x [Bosch BMP388 Barometer](https://www.bosch-sensortec.com/en/products/environmental-sensors/pressure-sensors/bmp390/) diff --git a/docs/ko/flight_controller/ark_pab.md b/docs/ko/flight_controller/ark_pab.md index 39d342f33c8..69e7f312ce0 100644 --- a/docs/ko/flight_controller/ark_pab.md +++ b/docs/ko/flight_controller/ark_pab.md @@ -24,7 +24,7 @@ Order From [Ark Electronics](https://arkelectron.com/product/ark-pixhawk-autopil - PAB Board to Board Interface - 100 Pin Hirose DF40 - - 40 Pin Hirose DF40 + - 50 Pin Hirose DF40 - Dual Digital Power Module Inputs - 5V Input - I2C Power Monitor diff --git a/docs/ko/flight_controller/ark_v6xrt.md b/docs/ko/flight_controller/ark_v6xrt.md index 1446cfd287f..a1a7135a4ba 100644 --- a/docs/ko/flight_controller/ark_v6xrt.md +++ b/docs/ko/flight_controller/ark_v6xrt.md @@ -36,7 +36,7 @@ Order from [ARK Electronics](https://arkelectron.com/product/arkv6xrt) (US). - **Code store:** no internal flash. Code executes in place from a 64 MB external octal NOR on FlexSPI1, of which PX4 uses the first 4 MB. - **IO processor:** PX4IO v2, on carriers that fit one. - **Sensors** - - **IMU:** [InvenSense ICM-45686](https://invensense.tdk.com/products/motion-tracking/6-axis/icm-45686/) (SPI1), [InvenSense IIM-20670](https://invensense.tdk.com/products/motion-tracking/6-axis/iim-20670/) (SPI2), [ST LSM6DSV80X](https://www.st.com/en/mems-and-sensors/lsm6dsv80x.html) (SPI3) + - **IMU:** [InvenSense ICM-45686](https://www.invensense.tdk.com/en-us/products/6-axis/icm-45686) (SPI1), [InvenSense IIM-20670](https://www.invensense.tdk.com/en-us/products/motion-tracking/6-axis/iim-20670) (SPI2), [ST LSM6DSV80X](https://www.st.com/en/mems-and-sensors/lsm6dsv80x.html) (SPI3) - **Barometer:** [Bosch BMP390](https://www.bosch-sensortec.com/en/products/environmental-sensors/pressure-sensors/bmp390/) (I2C2) - **Magnetometer:** [ST IIS2MDC](https://www.st.com/en/mems-and-sensors/iis2mdc.html) (I2C3) - **Heater:** closed loop on the ICM-45686 die temperature diff --git a/docs/ko/flight_controller/autopilot_manufacturer_supported.md b/docs/ko/flight_controller/autopilot_manufacturer_supported.md index 9eba6c1b881..ace28b76f6f 100644 --- a/docs/ko/flight_controller/autopilot_manufacturer_supported.md +++ b/docs/ko/flight_controller/autopilot_manufacturer_supported.md @@ -56,4 +56,5 @@ This category includes boards that are not fully compliant with the pixhawk stan - [ThePeach FCC-K1](../flight_controller/thepeach_k1.md) - [ThePeach FCC-R1](../flight_controller/thepeach_r1.md) - [X-MAV AP-H743-R1](../flight_controller/x-mav_ap-h743r1.md) +- [ZenFC H743](../flight_controller/zenfc_h743.md) - [SIYI-UniFC-6-PICO](../flight_controller/siyi-unifc-6-pico.md) diff --git a/docs/ko/flight_controller/corvon_743v1.md b/docs/ko/flight_controller/corvon_743v1.md index a161c42beb0..03c7b73c69f 100644 --- a/docs/ko/flight_controller/corvon_743v1.md +++ b/docs/ko/flight_controller/corvon_743v1.md @@ -40,7 +40,7 @@ This flight controller is [manufacturer supported](../flight_controller/autopilo ## 구매처 -Order from [CORVON](https://corvon.tech). +Order from [CORVON](https://www.corvon.tech/en). ## Physical / Mechanical diff --git a/docs/ko/flight_controller/corvon_743v2.md b/docs/ko/flight_controller/corvon_743v2.md index a6cce6754c0..ee98acaa1e2 100644 --- a/docs/ko/flight_controller/corvon_743v2.md +++ b/docs/ko/flight_controller/corvon_743v2.md @@ -4,7 +4,7 @@ :::warning PX4 does not manufacture this (or any) autopilot. -Contact the [manufacturer](https://corvon.tech) for hardware support or compliance issues. +Contact the [manufacturer](https://www.corvon.tech/en) for hardware support or compliance issues. ::: The _CORVON 743v2_ is a flight controller designed by Feikong Technology Co., Ltd under the CORVON brand. @@ -40,7 +40,7 @@ This flight controller is [manufacturer supported](../flight_controller/autopilo ## 구매처 -Order from [CORVON](https://corvon.tech). +Order from [CORVON](https://www.corvon.tech/en). ## Physical / Mechanical diff --git a/docs/ko/flight_controller/corvon_v5.md b/docs/ko/flight_controller/corvon_v5.md index 15813d1ca6d..7e90f60ae12 100644 --- a/docs/ko/flight_controller/corvon_v5.md +++ b/docs/ko/flight_controller/corvon_v5.md @@ -4,7 +4,7 @@ :::warning PX4 does not manufacture this (or any) autopilot. -Contact the [manufacturer](https://corvon.tech) for hardware support or compliance issues. +Contact the [manufacturer](https://www.corvon.tech/en) for hardware support or compliance issues. ::: The CORVON V5 is based on the Pixhawk FMUv5 design standard and runs PX4 on NuttX. @@ -54,7 +54,7 @@ This flight controller is [manufacturer supported](autopilot_manufacturer_suppor ## Where to Buy {#store} -- [CORVON Store](https://corvon.tech) +- [CORVON Store](https://www.corvon.tech/en) ## Connectors and Interfaces @@ -190,4 +190,4 @@ The complete set of supported configurations can be seen in the [Airframes Refer ## 추가 정보 -- [Corvon Tech](https://corvon.tech) +- [Corvon Tech](https://www.corvon.tech/en) diff --git a/docs/ko/flight_controller/cuav_nora.md b/docs/ko/flight_controller/cuav_nora.md index ee99bfce15e..ff73bf16b3e 100644 --- a/docs/ko/flight_controller/cuav_nora.md +++ b/docs/ko/flight_controller/cuav_nora.md @@ -5,7 +5,7 @@ PX4 does not manufacture this (or any) autopilot. Contact the [manufacturer](https://www.cuav.net) for hardware support or compliance issues. ::: -The [Nora](https://doc.cuav.net/controller/x7/en/nora-plus.html)® flight controller is a high-performance autopilot. +The [Nora](https://doc.cuav.net/en/controller/nora-plus/nora-plus.html)® flight controller is a high-performance autopilot. 산업용 드론과 대형 대형 드론에 적합합니다. 주로 상용 제조업체에 공급됩니다. @@ -31,7 +31,7 @@ This flight controller is [manufacturer supported](../flight_controller/autopilo - 고성능 프로세서 :::tip -The manufacturer [CUAV Docs](https://doc.cuav.net/controller/x7/en/nora-plus.html) are the canonical reference for Nora. +The manufacturer [CUAV Docs](https://doc.cuav.net/en/controller/nora-plus/nora-plus.html) are the canonical reference for Nora. 가장 정확한 최신 정보를 포함하고 있습니다. ::: @@ -83,7 +83,7 @@ When it runs PX4 firmware, only 8 PWM outputs work. ## 배선 -[CUAV nora Wiring Quickstart](https://doc.cuav.net/controller/x7/en/quick-start/quick-start-nora.html) +[CUAV nora Wiring Quickstart](https://doc.cuav.net/en/controller/nora-plus/quick-start-nora.html) ## 크기와 핀배열 @@ -171,6 +171,6 @@ The complete set of supported configurations can be seen in the [Airframes Refer ## 추가 정보 -- [Quick start](https://doc.cuav.net/controller/x7/en/quick-start/quick-start-nora.html) +- [Quick start](https://doc.cuav.net/en/controller/nora-plus/quick-start-nora.html) - [CUAV docs](https://doc.cuav.net/) - [nora schematic](https://github.com/cuav/hardware/tree/master/X7_Autopilot) diff --git a/docs/ko/flight_controller/nwblue_pro-h757.md b/docs/ko/flight_controller/nwblue_pro-h757.md index d299776b486..01d28e664f7 100644 --- a/docs/ko/flight_controller/nwblue_pro-h757.md +++ b/docs/ko/flight_controller/nwblue_pro-h757.md @@ -6,7 +6,7 @@ PX4 does not manufacture this (or any) autopilot. Contact the manufacturer for hardware support or compliance issues. ::: -The _NWBlue Pro H757_ is a 36 x 36 mm FPV flight controller built around a [CubePilot CubeNode H757](https://docs.cubepilot.org/user-guides/cubenode/pin-descriptions) module carrying an STM32H757 microcontroller. +The _NWBlue Pro H757_ is a 36 x 36 mm FPV flight controller built around a [CubePilot CubeNode H757](https://docs.cubepilot.org/cubenode/pin-descriptions) module carrying an STM32H757 microcontroller. ![NWBlue Pro H757](../../assets/flight_controller/nwblue_pro-h757/nwblue_pro-h757.png) @@ -23,7 +23,7 @@ Order from [NWBlue](https://nwblue.com/products/pro-h757-fpv-flight-controller) - **Processor** - **Main FMU processor:** STM32H757 (32-bit Arm® Cortex®-M7 at 480 MHz, 2 MB Flash, 1 MB RAM), on a CubePilot CubeNode module - **Sensors** - - **IMU:** [InvenSense ICM-45686](https://invensense.tdk.com/products/motion-tracking/6-axis/icm-45686/) (SPI3, inside the CubeNode module) + - **IMU:** [InvenSense ICM-45686](https://www.invensense.tdk.com/en-us/products/6-axis/icm-45686) (SPI3, inside the CubeNode module) - **Barometer:** [Infineon DPS368](https://www.infineon.com/part/DPS368) (SPI3) - **Magnetometer:** [ST IIS2MDC](https://www.st.com/en/mems-and-sensors/iis2mdc.html) (I2C3, internal) - **Interfaces** diff --git a/docs/ko/flight_controller/zenfc_h743.md b/docs/ko/flight_controller/zenfc_h743.md new file mode 100644 index 00000000000..da96f9109c9 --- /dev/null +++ b/docs/ko/flight_controller/zenfc_h743.md @@ -0,0 +1,151 @@ +# ZenFC H743 + + + + + +:::warning +PX4 does not manufacture this (or any) autopilot. +Contact the [manufacturer](https://www.zenithratech.com/contact) for hardware support or compliance issues. +::: + +The _ZenFC H743_ is a flight controller designed by Zenithra Tech. +It is built around the STM32H743 processor with dual Bosch BMI088 IMUs for sensor redundancy, an onboard barometer, and an integrated OSD. + +![ZenFC H743 Flight Controller](../../assets/flight_controller/zenfc_h743/zenfc_h743.png) + +:::info +This flight controller is [manufacturer supported](../flight_controller/autopilot_manufacturer_supported.md). +::: + +## 주요 특징 + +- **MCU:** + - STM32H743VIT6 (32-bit Arm® Cortex®-M7, 480 MHz) +- **IMU:** + - 2x Bosch BMI088 (accel + gyro, independent SPI buses for redundancy) +- **Barometer:** + - Bosch BMP388 +- **OSD:** + - Onboard AT7456E OSD chip +- **Interfaces:** + - 7x UARTs + - CAN 1개 + - 2x external I2C (I2C1 with GPS connector and dedicated I2C2 connector) + - 8x PWM outputs (Dshot supported) + - microSD card slot + - 1x USB Type-C +- **Power:** + - 2x ADC (V_BAT & current sense) + - Battery Input range - 2S-6S + - BEC Outputs + - 9V 3A cont. + - 5V 3A cont. + +## 크기 + +- **Mounting:** 30.5 mm x 30.5 mm /Φ4mm hole +- **Dimensions:** 35mm x 35mm x 8mm +- **Weight:** 9g + +![ZenFC H743 Dimensions](../../assets/flight_controller/zenfc_h743/zenfc_h743_dimensions.png) + +## 구매처 + +Order from [Zenithra Tech](https://www.zenithratech.com/solutions/components). + +## Flight Controller Layout + +![ZenFC H743 Layout Front](../../assets/flight_controller/zenfc_h743/zenfc_h743_layout_front.png) + +![ZenFC H743 Layout Back](../../assets/flight_controller/zenfc_h743/zenfc_h743_layout_back.png) + +## 시리얼 포트 매핑 + +| UART | 장치 | PX4 Port | +| ------ | ---------- | -------- | +| USART1 | /dev/ttyS0 | GPS1 | +| USART2 | /dev/ttyS1 | TEL3 | +| USART3 | /dev/ttyS2 | TEL4 | +| UART5 | /dev/ttyS3 | TEL1 | +| USART6 | /dev/ttyS4 | RC | +| UART7 | /dev/ttyS5 | TEL2 | +| UART8 | /dev/ttyS6 | UART6 | + +## Connectors & Pinout + +Board uses JST SH connectors for all interfaces. + +![ZenFC H743 Pinouts Front](../../assets/flight_controller/zenfc_h743/zenfc_h743_pinouts_front.png) + +![ZenFC H743 Pinouts Back](../../assets/flight_controller/zenfc_h743/zenfc_h743_pinouts_back.png) + +**Note** - SBus pin on DJI O3/O4 port is internally connected to RX6 (`RCIN`). + +### PWM 출력 + +The 8 outputs are in 3 groups: + +- Outputs 1-4 in group1 +- Outputs 5-6 in group2 +- Outputs 7-8 in group3 + +**Note**: + +- All outputs support PWM and [DShot](../peripherals/dshot.md) protocol. + Outputs 1-6 and 8 support "bidirectional DShot" (or "BDShot") telemetry. +- Outputs 1-4 default to DShot300 ([PWM_MAIN_TIM0](../advanced_config/parameter_reference.md#PWM_MAIN_TIM0) = `-4`); outputs 5-6 and 7-8 default to PWM at 400 Hz. +- Each group's protocol can be changed independently using the corresponding `PWM_MAIN_TIMx` parameter, including to [Bidirectional DShot](../peripherals/dshot.md#bidirectional-dshot-telemetry) (BDShot) for ESC telemetry. + +### 디버그 포트 + +This board does not configure a dedicated UART as a system console. +Use the [MAVLink Shell](../debug/mavlink_shell.md) over USB for console/NSH access using QGroundControl. + +**SWD** + +The board features a [**4-pin SWD Debug**](../debug/swd_debug.md) interface (3V3 / SWCLK / SWDIO / GND) for hardware debugging. + +## 무선 조종 + +A [Radio Control (RC) system](../getting_started/rc_transmitter_receiver.md) is required if you want to manually control your vehicle (PX4 does not require a radio system for autonomous flight modes). +See [Radio Control modules](../modules/modules_driver_radio_control.md) for the list of supported protocols. + +RC input is mapped to **USART6** (`/dev/ttyS4`, `RC` port). +The port supports both single-wire inverted SBUS and full-duplex protocols with telemetry return (such as CRSF), and the receiver protocol is auto-detected by default ([RC_INPUT_PROTO](../advanced_config/parameter_reference.md#RC_INPUT_PROTO) = `-1`). + +## PX4 설정 + +In addition to the [basic configuration](../config/index.md), the following +parameter is important: + +| Parameter | 설정 | +| -------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | +| [SYS_HAS_MAG](../advanced_config/parameter_reference.md#SYS_HAS_MAG) | Disabled by default since the board has no internal magnetometer. Enable it if you attach an external mag. | + +## 펌웨어 빌드 + +To [build PX4](../dev_setup/building_px4.md) for this target: + +```sh +make zenfc_h743_default +``` + +## 펌웨어 설치 + +펌웨어는 일반적인 방법으로 설치할 수 있습니다. + +- Build and upload the source: + + ```sh + make zenfc_h743_default upload + ``` + +- [Load the firmware](../config/firmware.md) using _QGroundControl_. + 미리 빌드된 펌웨어나 사용자 지정 펌웨어를 사용할 수 있습니다. + +The board uses the standard PX4 bootloader, so it follows the same generic LED indications as most other boards (Red = Bootloader/Error, Blue = Active/Activity, Green = Powered). + +## 추가 정보 + +- [Zenithra Tech](https://www.zenithratech.com/contact) diff --git a/docs/ko/flight_modes/offboard.md b/docs/ko/flight_modes/offboard.md index ec472ae3aab..08f4dc90f91 100644 --- a/docs/ko/flight_modes/offboard.md +++ b/docs/ko/flight_modes/offboard.md @@ -281,7 +281,7 @@ The following MAVLink messages and their particular fields and field values are ### Copter/VTOL - [SET_POSITION_TARGET_LOCAL_NED](https://mavlink.io/en/messages/common.html#SET_POSITION_TARGET_LOCAL_NED) - - The following input combinations are supported: + - The following input combinations are supported: - Position setpoint (only `x`, `y`, `z`) - Velocity setpoint (only `vx`, `vy`, `vz`) - Acceleration setpoint (only `afx`, `afy`, `afz`) @@ -290,8 +290,14 @@ The following MAVLink messages and their particular fields and field values are - PX4 supports the following `coordinate_frame` values (only): [MAV_FRAME_LOCAL_NED](https://mavlink.io/en/messages/common.html#MAV_FRAME_LOCAL_NED) and [MAV_FRAME_BODY_NED](https://mavlink.io/en/messages/common.html#MAV_FRAME_BODY_NED). + ::: info + `MAV_FRAME_BODY_NED` can only be used with velocity and acceleration setpoints, which are rotated from body to local frame using the vehicle heading. + Position setpoints are ignored (set to `NAN`) in this frame, because a position in a body-fixed frame is ambiguous; position setpoints must use `MAV_FRAME_LOCAL_NED`. + +::: + - [SET_POSITION_TARGET_GLOBAL_INT](https://mavlink.io/en/messages/common.html#SET_POSITION_TARGET_GLOBAL_INT) - - The following input combinations are supported: + - The following input combinations are supported: - Position setpoint (only `lat_int`, `lon_int`, `alt`) - Velocity setpoint (only `vx`, `vy`, `vz`) @@ -311,12 +317,13 @@ The following MAVLink messages and their particular fields and field values are - The following input combinations are supported: - Attitude/orientation (`SET_ATTITUDE_TARGET.q`) with thrust setpoint (`SET_ATTITUDE_TARGET.thrust`). - Body rate (`SET_ATTITUDE_TARGET` `.body_roll_rate` ,`.body_pitch_rate`, `.body_yaw_rate`) with thrust setpoint (`SET_ATTITUDE_TARGET.thrust`). + - A message with attitude enabled and a zero or non-finite `q` (norm below 0.001) is ignored as a whole and does not count as the offboard signal. ### Fixed-wing - [SET_POSITION_TARGET_LOCAL_NED](https://mavlink.io/en/messages/common.html#SET_POSITION_TARGET_LOCAL_NED) - - The following input combinations are supported (via `type_mask`): - - Position setpoint (`x`, `y`, `z` only; velocity and acceleration setpoints are ignored). + - The following input combinations are supported (via `type_mask`): + - Position setpoint (`x`, `y`, `z`). - Specify the _type_ of the setpoint in `type_mask` (if these bits are not set the vehicle will fly in a flower-like pattern): ::: info Some of the _setpoint type_ values below are not part of the MAVLink standard for the `type_mask` field. @@ -333,10 +340,17 @@ The following MAVLink messages and their particular fields and field values are - 12288: Loiter setpoint (fly a circle centred on setpoint). - 16384: Idle setpoint (zero throttle, zero roll / pitch). - - PX4 supports the coordinate frames (`coordinate_frame` field): [MAV_FRAME_LOCAL_NED](https://mavlink.io/en/messages/common.html#MAV_FRAME_LOCAL_NED) and [MAV_FRAME_BODY_NED](https://mavlink.io/en/messages/common.html#MAV_FRAME_BODY_NED). + - Position setpoint with velocity setpoint (`x`, `y`, `z` with `vx`, `vy`). + The vehicle follows a path through the position, tangent to the direction of the horizontal velocity (the velocity magnitude and `vz` are not used). + If the acceleration setpoint (`afx`, `afy`, `afz`) is also set, its component normal to the velocity is used as the path curvature. + + - Velocity-only and acceleration-only setpoints are not supported: without a position setpoint the fixed-wing position controller does not generate new setpoints. + + - PX4 supports the coordinate frame (`coordinate_frame` field): [MAV_FRAME_LOCAL_NED](https://mavlink.io/en/messages/common.html#MAV_FRAME_LOCAL_NED). + [MAV_FRAME_BODY_NED](https://mavlink.io/en/messages/common.html#MAV_FRAME_BODY_NED) is accepted, but position setpoints are ignored in this frame, and fixed-wing requires a position setpoint, so it cannot be used. - [SET_POSITION_TARGET_GLOBAL_INT](https://mavlink.io/en/messages/common.html#SET_POSITION_TARGET_GLOBAL_INT) - - The following input combinations are supported (via `type_mask`): + - The following input combinations are supported (via `type_mask`): - Position setpoint (only `lat_int`, `lon_int`, `alt`) - Specify the _type_ of the setpoint in `type_mask` (if these bits are not set the vehicle will fly in a flower-like pattern): @@ -352,12 +366,17 @@ The following MAVLink messages and their particular fields and field values are - 12288: Loiter setpoint (fly a circle centred on setpoint). - 16384: Idle setpoint (zero throttle, zero roll / pitch). + - Position setpoint with velocity setpoint (`lat_int`, `lon_int`, `alt` with `vx`, `vy`), handled as for `SET_POSITION_TARGET_LOCAL_NED` above. + + - Velocity-only and acceleration-only setpoints are not supported. + - PX4 supports the following `coordinate_frame` values (only): [MAV_FRAME_GLOBAL_INT](https://mavlink.io/en/messages/common.html#MAV_FRAME_GLOBAL_INT), [MAV_FRAME_GLOBAL_RELATIVE_ALT_INT](https://mavlink.io/en/messages/common.html#MAV_FRAME_GLOBAL_RELATIVE_ALT_INT), [MAV_FRAME_GLOBAL_TERRAIN_ALT_INT](https://mavlink.io/en/messages/common.html#MAV_FRAME_GLOBAL_TERRAIN_ALT_INT). - [SET_ATTITUDE_TARGET](https://mavlink.io/en/messages/common.html#SET_ATTITUDE_TARGET) - The following input combinations are supported: - Attitude/orientation (`SET_ATTITUDE_TARGET.q`) with thrust setpoint (`SET_ATTITUDE_TARGET.thrust`). - Body rate (`SET_ATTITUDE_TARGET` `.body_roll_rate` ,`.body_pitch_rate`, `.body_yaw_rate`) with thrust setpoint (`SET_ATTITUDE_TARGET.thrust`). + - A message with attitude enabled and a zero or non-finite `q` (norm below 0.001) is ignored as a whole and does not count as the offboard signal. ### Rover diff --git a/docs/ko/flight_modes/return.md b/docs/ko/flight_modes/return.md index fc45e585911..fc816f530c1 100644 --- a/docs/ko/flight_modes/return.md +++ b/docs/ko/flight_modes/return.md @@ -228,7 +228,7 @@ Things like path tracking error, wind and other disturbances may cause temporary 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)). ::: -### RTL-types with Geofence-Awareness +### Return Types with Geofence Awareness The following table shows which return types currently support geofence awareness: @@ -321,7 +321,7 @@ For this reason fixed-wing vehicles are configured to use [Mission landing/reall ## 매개변수 -The RTL parameters are listed in [Parameter Reference > Return Mode](../advanced_config/parameter_reference.md#return-mode) (and summarised below). +The Return parameters are listed in [Parameter Reference > Return Mode](../advanced_config/parameter_reference.md#return-mode) (and summarised below). | Parameter | 설명 | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | @@ -330,10 +330,10 @@ The RTL parameters are listed in [Parameter Reference > Return Mode](../advanced | [RTL_DESCEND_ALT](../advanced_config/parameter_reference.md#RTL_DESCEND_ALT) | Altitude above the destination used for the final descent before landing or loitering (default: 30m). | | [RTL_LAND_DELAY](../advanced_config/parameter_reference.md#RTL_LAND_DELAY) | Time to wait at `RTL_DESCEND_ALT` before landing (default: 0.5s) - by default this period is short so that the vehicle will simply slow and then land immediately. If set to -1 the system will loiter at `RTL_DESCEND_ALT` rather than landing. 이 지연은 랜딩 기어가 배치될 시간을 설정합니다. (자동으로 동작함). | | [RTL_MIN_DIST](../advanced_config/parameter_reference.md#RTL_MIN_DIST) | Within this distance from the return destination, the return altitude is calculated from the "cone" rather than directly from `RTL_RETURN_ALT`. | -| [RTL_CONE_ANG](../advanced_config/parameter_reference.md#RTL_CONE_ANG) | 기체 RTL 리턴 고도를 정의하는 원뿔의 반각. Values (in degrees): `0`, `25`, `45`, `65`, `80`, `90`. Note that `0` is "no cone" (always return at `RTL_RETURN_ALT` or higher), while `90` indicates an almost vertical cone, so the vehicle generally returns at its current altitude when close to the destination. The return altitude may still be constrained to avoid flying too low while approaching the destination. | -| [RTL_APPR_FORCE](../advanced_config/parameter_reference.md#RTL_APPR_FORCE) | [VTOL FW only] If set, home or rally-point RTL destinations are only considered when a valid VTOL approach loiter is defined for that landing location. Mission landing patterns are unaffected. | +| [RTL_CONE_ANG](../advanced_config/parameter_reference.md#RTL_CONE_ANG) | Half-angle of the cone that defines the vehicle return altitude. Values (in degrees): `0`, `25`, `45`, `65`, `80`, `90`. Note that `0` is "no cone" (always return at `RTL_RETURN_ALT` or higher), while `90` indicates an almost vertical cone, so the vehicle generally returns at its current altitude when close to the destination. The return altitude may still be constrained to avoid flying too low while approaching the destination. | +| [RTL_APPR_FORCE](../advanced_config/parameter_reference.md#RTL_APPR_FORCE) | [VTOL FW only] If set, home or rally-point return destinations are only considered when a valid VTOL approach loiter is defined for that landing location. Mission landing patterns are unaffected. | | [MAN_OVERRIDE_SPD](../advanced_config/parameter_reference.md#MAN_OVERRIDE_SPD) | Speed (normalized stick travel per second) above which moving the sticks controlling a multicopter (or VTOL in hover) gives control back to the pilot by switching to [Position mode](../flight_modes_mc/position.md) (or Altitude mode if position is unavailable). At the default 1 a half-stick movement in ~0.5 s triggers it; lower is more sensitive. A stick held statically has zero speed and will not trigger. Set to -1 to disable. | | [RTL_LOITER_RAD](../advanced_config/parameter_reference.md#RTL_LOITER_RAD) | [Fixed-wing Only] The radius of the loiter circle (at [RTL_LAND_DELAY](#RTL_LAND_DELAY)). | | [MIS_TKO_LAND_REQ](../advanced_config/parameter_reference.md#MIS_TKO_LAND_REQ) | Specify whether a mission landing or takeoff pattern is _required_. Generally fixed-wing vehicles set this to require a landing pattern but VTOL do not. | -| [RTL_TIME_FACTOR](../advanced_config/parameter_reference.md#RTL_TIME_FACTOR) | RTL time estimate safety factor. | -| [RTL_TIME_MARGIN](../advanced_config/parameter_reference.RTL_TIME_MARGIN) | RTL time estimate safety margin. | +| [RTL_TIME_FACTOR](../advanced_config/parameter_reference.md#RTL_TIME_FACTOR) | Return time estimate safety factor. | +| [RTL_TIME_MARGIN](../advanced_config/parameter_reference.md#RTL_TIME_MARGIN) | Return time estimate safety margin. | diff --git a/docs/ko/flight_modes_fw/mission.md b/docs/ko/flight_modes_fw/mission.md index 4a46afb359d..68d8264ee61 100644 --- a/docs/ko/flight_modes_fw/mission.md +++ b/docs/ko/flight_modes_fw/mission.md @@ -104,7 +104,7 @@ A subset of the most important checks are listed below: - Any mission item conflicts with a plan or safety geofence - More than one land start mission item defined ([MAV_CMD_DO_LAND_START](https://mavlink.io/en/messages/common.html#MAV_CMD_DO_LAND_START)) - A fixed-wing landing has an infeasible slope angle ([FW_LND_ANG](#FW_LND_ANG)) -- Land start item (`MAV_CMD_DO_LAND_START`) appears in mission before an RTL item ([MAV_CMD_NAV_RETURN_TO_LAUNCH](https://mavlink.io/en/messages/common.html#MAV_CMD_NAV_RETURN_TO_LAUNCH)) +- Land start item (`MAV_CMD_DO_LAND_START`) appears in mission before an RTL ("Return") item ([MAV_CMD_NAV_RETURN_TO_LAUNCH](https://mavlink.io/en/messages/common.html#MAV_CMD_NAV_RETURN_TO_LAUNCH)) - Missing takeoff and/or land item when these are configured as a requirement ([MIS_TKO_LAND_REQ](#MIS_TKO_LAND_REQ)) Additionally there is a check if the first waypoint is too far from the Home position ([MIS_DIST_1WP](#MIS_DIST_1WP)). @@ -154,6 +154,8 @@ Mission Items: - [MAV_CMD_NAV_TAKEOFF](https://mavlink.io/en/messages/common.html#MAV_CMD_NAV_TAKEOFF) - [MAV_CMD_NAV_LOITER_TO_ALT](https://mavlink.io/en/messages/common.html#MAV_CMD_NAV_LOITER_TO_ALT) - [MAV_CMD_DO_JUMP](https://mavlink.io/en/messages/common.html#MAV_CMD_DO_JUMP) + - _Param1_ (sequence number) must refer to an earlier mission item. + A mission is rejected if a jump targets itself or a later item, even if its repeat count is 0. - [MAV_CMD_NAV_ROI](https://mavlink.io/en/messages/common.html#MAV_CMD_NAV_ROI) - [MAV_CMD_DO_SET_ROI](https://mavlink.io/en/messages/common.html#MAV_CMD_DO_SET_ROI) - [MAV_CMD_DO_SET_ROI_LOCATION](https://mavlink.io/en/messages/common.html#MAV_CMD_DO_SET_ROI_LOCATION) diff --git a/docs/ko/flight_modes_fw/return.md b/docs/ko/flight_modes_fw/return.md index 20f8c13cb37..8df70e6fdb3 100644 --- a/docs/ko/flight_modes_fw/return.md +++ b/docs/ko/flight_modes_fw/return.md @@ -65,7 +65,7 @@ The following requirements must be met to arm in this mode, or to switch to this ## 매개변수 -The RTL parameters are listed in [Parameter Reference > Return Mode](../advanced_config/parameter_reference.md#return-mode). +The Return parameters are listed in [Parameter Reference > Return Mode](../advanced_config/parameter_reference.md#return-mode). If using a mission landing, only the [RTL_RETURN_ALT](#RTL_RETURN_ALT) and [RTL_DESCEND_ALT](#RTL_DESCEND_ALT) are relevant. The others are relevant if the destination is a rally point or the home location. diff --git a/docs/ko/flight_modes_mc/mission.md b/docs/ko/flight_modes_mc/mission.md index 146fe343033..df5646748a1 100644 --- a/docs/ko/flight_modes_mc/mission.md +++ b/docs/ko/flight_modes_mc/mission.md @@ -156,6 +156,8 @@ Mission Items: - [MAV_CMD_NAV_TAKEOFF](https://mavlink.io/en/messages/common.html#MAV_CMD_NAV_TAKEOFF) - [MAV_CMD_NAV_LOITER_TO_ALT](https://mavlink.io/en/messages/common.html#MAV_CMD_NAV_LOITER_TO_ALT) - [MAV_CMD_DO_JUMP](https://mavlink.io/en/messages/common.html#MAV_CMD_DO_JUMP) + - _Param1_ (sequence number) must refer to an earlier mission item. + A mission is rejected if a jump targets itself or a later item, even if its repeat count is 0. - [MAV_CMD_NAV_ROI](https://mavlink.io/en/messages/common.html#MAV_CMD_NAV_ROI) - [MAV_CMD_DO_SET_ROI](https://mavlink.io/en/messages/common.html#MAV_CMD_DO_SET_ROI) - [MAV_CMD_DO_SET_ROI_LOCATION](https://mavlink.io/en/messages/common.html#MAV_CMD_DO_SET_ROI_LOCATION) diff --git a/docs/ko/flight_modes_mc/return.md b/docs/ko/flight_modes_mc/return.md index 899740a5107..56187e376fb 100644 --- a/docs/ko/flight_modes_mc/return.md +++ b/docs/ko/flight_modes_mc/return.md @@ -73,7 +73,7 @@ For more information on this return type see [Home/Rally Point Return Type (RTL_ ## 매개변수 -The RTL parameters are listed in [Parameter Reference > Return Mode](../advanced_config/parameter_reference.md#return-mode). +The Return parameters are listed in [Parameter Reference > Return Mode](../advanced_config/parameter_reference.md#return-mode). The parameters that are relevant to multicopter (assuming the [RTL_TYPE](../advanced_config/parameter_reference.md#RTL_TYPE) is set to 0) are listed below. @@ -83,7 +83,7 @@ The parameters that are relevant to multicopter (assuming the [RTL_TYPE](../adva | [RTL_DESCEND_ALT](../advanced_config/parameter_reference.md#RTL_DESCEND_ALT) | Altitude above the destination used for the final descent before landing or loitering (default: 30m). | | [RTL_LAND_DELAY](../advanced_config/parameter_reference.md#RTL_LAND_DELAY) | Time to hover at `RTL_DESCEND_ALT` before landing (default: 0.5s) - by default this period is short so that the vehicle will simply slow and then land immediately. If set to -1 the system will loiter at `RTL_DESCEND_ALT` rather than landing. 이 지연은 랜딩 기어가 배치될 시간을 설정합니다. (자동으로 동작함). | | [RTL_MIN_DIST](../advanced_config/parameter_reference.md#RTL_MIN_DIST) | Within this distance from the home position, the return altitude is calculated from the "cone" rather than directly from `RTL_RETURN_ALT`. | -| [RTL_CONE_ANG](../advanced_config/parameter_reference.md#RTL_CONE_ANG) | 기체 RTL 리턴 고도를 정의하는 원뿔의 반각. Values (in degrees): `0`, `25`, `45`, `65`, `80`, `90`. Note that `0` is "no cone" (always return at `RTL_RETURN_ALT` or higher), while `90` indicates an almost vertical cone, so the vehicle generally returns at its current altitude when close to the destination. The return altitude may still be constrained to avoid flying too low while approaching the destination. | +| [RTL_CONE_ANG](../advanced_config/parameter_reference.md#RTL_CONE_ANG) | Half-angle of the cone that defines the vehicle return altitude. Values (in degrees): `0`, `25`, `45`, `65`, `80`, `90`. Note that `0` is "no cone" (always return at `RTL_RETURN_ALT` or higher), while `90` indicates an almost vertical cone, so the vehicle generally returns at its current altitude when close to the destination. The return altitude may still be constrained to avoid flying too low while approaching the destination. | | [MAN_OVERRIDE_SPD](../advanced_config/parameter_reference.md#MAN_OVERRIDE_SPD) | Speed (normalized stick travel per second) above which moving the sticks controlling a multicopter (or VTOL in hover) gives control back to the pilot by switching to [Position mode](../flight_modes_mc/position.md) (or Altitude mode if position is unavailable). At the default value of 1 a half-stick movement in ~0.5 s triggers it; lower is more sensitive. A stick held statically has zero speed and will not trigger. Set to -1 to disable. | ## See Also diff --git a/docs/ko/flight_modes_rover/index.md b/docs/ko/flight_modes_rover/index.md index bf9ec86926a..58c3df51cd1 100644 --- a/docs/ko/flight_modes_rover/index.md +++ b/docs/ko/flight_modes_rover/index.md @@ -12,12 +12,13 @@ Selecting any other mode than those listed below will either stop the rover or c ## Manual Modes -| Mode | 설명 | -| --------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [Manual](manual.md#manual-mode) | No autopilot support. User is responsible for keeping the rover on the desired course and maintaining speed and rate of turn. | -| [Acro](manual.md#acro-mode) | + Maintains the yaw rate (feels more like driving a car than manual mode).
+ Allows maximum yaw rate to be limited (protects against roll over). | -| [Stabilized](manual.md#stabilized-mode) | + Maintains the yaw (significantly better at holding a straight line). | -| [Position](manual.md#position-mode) | + Maintains the course (best mode for driving a straight line).
+ Maintains speed against disturbances, e.g. when driving up a hill.
+ Allows maximum speed to be limited. | +| Mode | 설명 | +| ----------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [Manual](manual.md#manual-mode) | No autopilot support. User is responsible for keeping the rover on the desired course and maintaining speed and rate of turn. | +| [Acro](manual.md#acro-mode) | + Maintains the yaw rate (feels more like driving a car than manual mode).
+ Allows maximum yaw rate to be limited (protects against roll over). | +| [Stabilized](manual.md#stabilized-mode) | + Maintains the yaw (significantly better at holding a straight line). | +| [Position](manual.md#position-mode) | + Maintains the course (best mode for driving a straight line).
+ Maintains speed against disturbances, e.g. when driving up a hill.
+ Allows maximum speed to be limited. | +| [Manual Parking](manual.md#manual-parking-mode) | Reduced throttle for precise maneuvering in tight spaces. Differential and mecanum rovers are driven tank-style, using one stick per side. Ackermann vehicles are controlled in the same way as they are in manual mode, but with reduced throttle. | ## Auto Modes diff --git a/docs/ko/flight_modes_rover/manual.md b/docs/ko/flight_modes_rover/manual.md index 613fc60312f..c7f17e7787a 100644 --- a/docs/ko/flight_modes_rover/manual.md +++ b/docs/ko/flight_modes_rover/manual.md @@ -14,22 +14,24 @@ The sticks provide the same "high level" control effects over direction and rate The manual modes provide progressively increasing levels of autopilot support for maintaining a course, speed, and rate of turn, compensating for external factors such as slopes or uneven terrain. -| Mode | 설명 | -| --------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [Manual](manual.md#manual-mode) | No autopilot support. User is responsible for keeping the rover on the desired course and maintaining speed and rate of turn. | -| [Acro](manual.md#acro-mode) | + Maintains the yaw rate (feels more like driving a car than manual mode).
+ Allows maximum yaw rate to be limited (protects against roll over). | -| [Stabilized](manual.md#stabilized-mode) | + Maintains the yaw (significantly better at holding a straight line). | -| [Position](manual.md#position-mode) | + Maintains the course (best mode for driving a straight line).
+ Maintains speed against disturbances, e.g. when driving up a hill.
+ Allows maximum speed to be limited. | +| Mode | 설명 | +| ----------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [Manual](manual.md#manual-mode) | No autopilot support. User is responsible for keeping the rover on the desired course and maintaining speed and rate of turn. | +| [Acro](manual.md#acro-mode) | + Maintains the yaw rate (feels more like driving a car than manual mode).
+ Allows maximum yaw rate to be limited (protects against roll over). | +| [Stabilized](manual.md#stabilized-mode) | + Maintains the yaw (significantly better at holding a straight line). | +| [Position](manual.md#position-mode) | + Maintains the course (best mode for driving a straight line).
+ Maintains speed against disturbances, e.g. when driving up a hill.
+ Allows maximum speed to be limited. | +| [Manual Parking](manual.md#manual-parking-mode) | Reduced throttle for precise maneuvering in tight spaces. Differential and mecanum rovers are driven tank-style, using one stick per side. Ackermann vehicles are controlled in the same way as they are in manual mode, but with reduced throttle. | :::details Overview mode mapping to control effect -| Mode | Speed | Turning | Required measurements | -| ------------------------------ | ---------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| [Manual](#manual-mode) | Directly map stick input to motor command. | Directly map stick input to steering angle/speed difference. | None. | -| [Acro](#acro-mode) | Directly map stick input to motor command. | Stick input creates a yaw rate setpoint for the control system to regulate. | yaw rate. | -| [Stabilized](#stabilized-mode) | Directly map stick input to motor commands. | Stick input creates a yaw rate setpoint for the control system to regulate. If this setpoint is zero (stick is centered) the control system will maintain the current yaw (heading) of the rover. | Yaw rate and yaw. | -| [Position](#position-mode) | Stick input creates a speed setpoint for the control system to regulate. | Stick input creates a yaw rate setpoint for the control system to regulate. If this setpoint is zero (stick is centered) the control system will keep the rover driving in a straight line. | yaw rate, yaw, speed and global position (GPS). | +| Mode | Speed | Turning | Required measurements | +| -------------------------------------- | ---------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| [Manual](#manual-mode) | Directly map stick input to motor command. | Directly map stick input to steering angle/speed difference. | None. | +| [Acro](#acro-mode) | Directly map stick input to motor command. | Stick input creates a yaw rate setpoint for the control system to regulate. | yaw rate. | +| [Stabilized](#stabilized-mode) | Directly map stick input to motor commands. | Stick input creates a yaw rate setpoint for the control system to regulate. If this setpoint is zero (stick is centered) the control system will maintain the current yaw (heading) of the rover. | Yaw rate and yaw. | +| [Position](#position-mode) | Stick input creates a speed setpoint for the control system to regulate. | Stick input creates a yaw rate setpoint for the control system to regulate. If this setpoint is zero (stick is centered) the control system will keep the rover driving in a straight line. | yaw rate, yaw, speed and global position (GPS). | +| [Manual Parking](#manual-parking-mode) | Directly map scaled down stick input to motor command. | Ackermann: Directly map stick input to steering angle. Differential/Mecanum: Each stick directly maps to the motor command of one side of the rover. | None. | ::: @@ -98,3 +100,23 @@ This offers the highest amount of disturbance rejection, which leads to the best | Mecanum | Stick position sets a forward/back speed setpoint. The vehicle attempts to maintain this speed on slopes etc. | Create a yaw rate setpoint for the control system to regulate. If this input is zero the control system will maintain the course of the rover. | Stick position sets a left/right speed setpoint. The vehicle attempts to maintain this speed on slopes etc. | For the configuration/tuning of this mode see [Velocity tuning](../config_rover/velocity_tuning.md). + +## Manual Parking Mode + +This mode is intended for precisely maneuvering the rover in tight spaces, e.g. when parking it. +Like [Manual mode](#manual-mode) the stick inputs are directly mapped to motor commands without any autopilot support, but the throttle is scaled down to [RO_PARK_THR_MAX](../advanced_config/parameter_reference.md#RO_PARK_THR_MAX). + +Differential and mecanum rovers are driven tank-style in this mode: the left stick drives the motor(s) on the left side and the right stick drives the motor(s) on the right side of the rover. +Pushing both sticks in the same direction drives straight, pushing them in opposite directions turns the rover on the spot, and holding one stick centered pivots the rover around that side. + +Ackermann vehicles are controlled in the same way as they are in manual mode, but with reduced throttle. + +| Rover Type | Left stick up/down | Right stick up/down | Right stick left/right | +| ------------ | -------------------------------------------------------------- | ---------------------------------------------------------- | ----------------------------------------------------------------------- | +| Ackermann | Drive the rover forwards/backwards (slowly) | - | Move the steering angle to the left/right. | +| Differential | Drive the left motor forwards/backwards. | Drive the right motor forwards/backwards. | - | +| Mecanum | Drive the left motors forwards/backwards. | Drive the right motors forwards/backwards. | Drive the rover left/right (slowly). | + +:::info +This mode has to be assigned to a flight mode switch (see [Flight Mode Configuration](../config/flight_mode.md)) or selected via the ground station. +::: diff --git a/docs/ko/flight_modes_vtol/return.md b/docs/ko/flight_modes_vtol/return.md index ca9c5f88eb2..3691c5a3192 100644 --- a/docs/ko/flight_modes_vtol/return.md +++ b/docs/ko/flight_modes_vtol/return.md @@ -80,7 +80,7 @@ When uploading VTOL approach loiters through MAVLink, [upload them as rally/safe The `MAV_CMD_NAV_RALLY_POINT` item must come first, followed by one or more `MAV_CMD_NAV_LOITER_TO_ALT` items that define the approach loiters for that rally point. The next `MAV_CMD_NAV_RALLY_POINT` starts a new landing-location block. -For each `MAV_CMD_NAV_LOITER_TO_ALT` item, `x/y/z` define the loiter center and approach altitude, and `param2` defines the loiter radius used by RTL. +For each `MAV_CMD_NAV_LOITER_TO_ALT` item, `x/y/z` define the loiter center and approach altitude, and `param2` defines the loiter radius used by Return mode. If `param2` is unset or zero, PX4 falls back to [RTL_LOITER_RAD](#RTL_LOITER_RAD). For example, a rally upload with one rally point and two possible approach loiters would use: @@ -104,16 +104,16 @@ If returning as a multicopter: ## 매개변수 -The RTL parameters are listed in [Parameter Reference > Return Mode](../advanced_config/parameter_reference.md#return-mode). +The Return parameters are listed in [Parameter Reference > Return Mode](../advanced_config/parameter_reference.md#return-mode). If using a mission landing, only the [RTL_RETURN_ALT](#RTL_RETURN_ALT) and [RTL_DESCEND_ALT](#RTL_DESCEND_ALT) are relevant. The others are relevant if the destination is a rally point or the home location. | Parameter | 설명 | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | [RTL_TYPE](../advanced_config/parameter_reference.md#RTL_TYPE) | Return type. | -| [RTL_APPR_FORCE](../advanced_config/parameter_reference.md#RTL_APPR_FORCE) | [VTOL FW only] If set, PX4 only considers home or rally-point RTL destinations when a valid VTOL approach loiter is defined for that landing location. Mission landing patterns are unaffected. | +| [RTL_APPR_FORCE](../advanced_config/parameter_reference.md#RTL_APPR_FORCE) | [VTOL FW only] If set, PX4 only considers home or rally-point return destinations when a valid VTOL approach loiter is defined for that landing location. Mission landing patterns are unaffected. | | [RTL_RETURN_ALT](../advanced_config/parameter_reference.md#RTL_RETURN_ALT) | Return altitude in meters (default: 60m)If already above this value the vehicle will return at its current altitude. | -| [RTL_CONE_ANG](../advanced_config/parameter_reference.md#RTL_CONE_ANG) | 기체 RTL 리턴 고도를 정의하는 원뿔의 반각. 값 (도) : 0, 25, 45, 65, 80, 90. Note that 0 is "no cone" (always return at `RTL_RETURN_ALT` or higher), while 90 indicates that the vehicle must return at the current altitude or `RTL_DESCEND_ALT` (whichever is higher). | +| [RTL_CONE_ANG](../advanced_config/parameter_reference.md#RTL_CONE_ANG) | Half-angle of the cone that defines the vehicle return altitude. 값 (도) : 0, 25, 45, 65, 80, 90. Note that 0 is "no cone" (always return at `RTL_RETURN_ALT` or higher), while 90 indicates that the vehicle must return at the current altitude or `RTL_DESCEND_ALT` (whichever is higher). | | [RTL_DESCEND_ALT](../advanced_config/parameter_reference.md#RTL_DESCEND_ALT) | 기체가 더 높은 복귀 고도에서 감속하거나 초기 하강을 중지할 최소 복귀 고도 및 고도 (기본값 : 30m) | | [RTL_LAND_DELAY](../advanced_config/parameter_reference.md#RTL_LAND_DELAY) | Time to hover at `RTL_DESCEND_ALT` before landing (default: 0.5s) -by default this period is short so that the vehicle will simply slow and then land immediately. If set to -1 the system will loiter at `RTL_DESCEND_ALT` rather than landing. 이 지연은 랜딩 기어가 배치될 시간을 설정합니다. (자동으로 동작함). | | [RTL_LOITER_RAD](../advanced_config/parameter_reference.md#RTL_LOITER_RAD) | [Fixed-wing Only] The radius of the loiter circle (at [RTL_LAND_DELAY](#RTL_LAND_DELAY). | diff --git a/docs/ko/flying/package_delivery_mission.md b/docs/ko/flying/package_delivery_mission.md index 65ca21e2de4..1cd96476c39 100644 --- a/docs/ko/flying/package_delivery_mission.md +++ b/docs/ko/flying/package_delivery_mission.md @@ -24,7 +24,7 @@ Whether or not you `Land` depends on whether the package can safely be deployed Since a gripper cannot lower packages safely, multicopter and VTOL vehicles will often land to deploy packages when using a gripper. After the deployment device [indicates completion](#package-release-feedback), the vehicle will proceed to the next waypoint. -Note that if landed, the next mission item after deployment should be another `Waypoint` or a `Takeoff` mission item ([it must not be a `RETURN`](#rtl-waypoint-for-package-delivery-with-landing).) +Note that if landed, the next mission item after deployment should be another `Waypoint` or a `Takeoff` mission item ([it must not be a `RETURN`](#return-waypoint-for-package-delivery-with-landing).) ## Creating a Package Delivery Mission @@ -76,12 +76,12 @@ Note how the altitude graph shows the `Land` item. ### 참고 -#### RTL Waypoint for Package Delivery with Landing +#### Return Waypoint for Package Delivery with Landing Do not plan a mission with a delivery like this: `LAND` > `GRIPPER` > `RETURN TO LAUNCH`. -For safety reasons "Return To Launch" is disabled when vehicle is landed ([related issue](https://github.com/PX4/PX4-Autopilot/pull/20044)). -So if you land, release the cargo, then have an RTL waypoint, the vehicle will idle at the landing coordinate. +For safety reasons Return mode is disabled when the vehicle is landed ([related issue](https://github.com/PX4/PX4-Autopilot/pull/20044)). +So if you land, release the cargo, then have a `Return` (`MAV_CMD_NAV_RETURN_TO_LAUNCH`) mission item, the vehicle will idle at the landing coordinate. #### Manual Control of Gripper in Missions diff --git a/docs/ko/getting_started/px4_basic_concepts.md b/docs/ko/getting_started/px4_basic_concepts.md index 228ddc5b50c..ad13b39180a 100644 --- a/docs/ko/getting_started/px4_basic_concepts.md +++ b/docs/ko/getting_started/px4_basic_concepts.md @@ -208,7 +208,7 @@ Vehicles may include a _safety switch_ that must be engaged before the vehicle c This switch is almost always integrated into the [GPS](../gps_compass/index.md) module that is connected to the Pixhawk `GPS1` port — along with the [buzzer](#buzzer) and [UI LED](#leds). The switch may be disabled by default, though this depends on the particular flight controller and airframe configuration. -You can disable/enable use of the switch with the [CBRK_IO_SAFETY](../advanced_config/parameter_reference.md#CBRK_IO_SAFETY) parameter. +You can disable/enable use of the switch with the [COM_SAFETY_MODE](../advanced_config/parameter_reference.md#COM_SAFETY_MODE) parameter. :::info Safety switches are optional. diff --git a/docs/ko/gps_compass/index.md b/docs/ko/gps_compass/index.md index 2c3fae95d55..1a35318018b 100644 --- a/docs/ko/gps_compass/index.md +++ b/docs/ko/gps_compass/index.md @@ -179,7 +179,7 @@ Compass calibration for an included compass part is covered in: [Compass Configu ## GNSS Data Overview PX4 uses the subset of information that can be provided by most GNSS modules. -This is written to the [SensorGps](../msg_docs/SensorGps.md) uORB message and used by the estimator as an input to global position estimation. +This is written to the [SensorGnss](../msg_docs/SensorGnss.md) uORB message, and the selected receiver is passed to the estimator in [VehicleGnss](../msg_docs/VehicleGnss.md) as an input to global position estimation. It is also streamed via MAVLink using messages such as [GPS_RAW_INT](https://mavlink.io/en/messages/common.html#GPS_RAW_INT) and [GPS2_RAW](https://mavlink.io/en/messages/common.html#GPS2_RAW). Some of GNSS terms that are useful for interpreting the data include: diff --git a/docs/ko/gps_compass/rtk_gps.md b/docs/ko/gps_compass/rtk_gps.md index 744bce27ca7..c81ebe719fa 100644 --- a/docs/ko/gps_compass/rtk_gps.md +++ b/docs/ko/gps_compass/rtk_gps.md @@ -59,7 +59,7 @@ It also highlights devices that connect via the CAN bus, and those which support | [Septentrio mosaic-go](../gps_compass/septentrio_mosaic-go.md) | mosaic X5 / mosaic H | ✓ | | [Septentrio Dual Antenna] | ✓ | | [SIRIUS RTK GNSS ROVER (F9P)](https://store-drotek.com/911-sirius-rtk-gnss-rover-f9p.html) | F9P | ✓ | | [Dual F9P] | | | [SparkFun GPS-RTK2 Board - ZED-F9P](https://www.sparkfun.com/sparkfun-gps-rtk2-board-zed-f9p-qwiic-gps-15136.html) | F9P | ✓ | | [Dual F9P] | | -| [Trimble MB-Two](../gps_compass/rtk_gps_trimble_mb_two.md) | F9P | ✓ | | ✓ | | +| [Trimble MB-Two](../gps_compass/rtk_gps_trimble_mb_two.md) | F9P | ✓ | | | | @@ -168,21 +168,28 @@ GPS can be used as a source for yaw fusion when using a single device with two a Using GPS as a heading source has the benefit that yaw calculations are not impacted by magnetic interference. Both approaches work comparing the time taken for a GNSS signal to reach two separated antennas. -The minimum distance between antenna depends on the device but is of the order of 50 cm (check manufacturer documentation). +Antennas should be at least 30 cm apart (check the manufacturer's documentation). -The devices that can be used are listed in this way are listed in the **GPS Yaw** column of the table above, such as [Septentrio AsteRx-m3 Pro](../gps_compass/septentrio_asterx-rib.md), [Holybro H-RTK Unicore UM982 GPS](../gps_compass/rtk_gps_holybro_unicore_um982.md), and [Trimble MB-Two](../gps_compass/rtk_gps_trimble_mb_two.md). +The devices that can be used in this way are listed in the **GPS Yaw** column of the table above, such as [Septentrio AsteRx-m3 Pro](../gps_compass/septentrio_asterx-rib.md) and [Holybro H-RTK Unicore UM982 GPS](../gps_compass/rtk_gps_holybro_unicore_um982.md). The links in the table take you to the device-specific PX4 configuration. -Generally when using a GNSS as a source of yaw information you will need to configure the following parameters: +The heading is the bearing of the _baseline_, the vector from one antenna to the other. +PX4 derives the baseline in the body frame (as shown [here][fc_orientation]) from the antenna positions, and uses a heading only when the length of the baseline the receiver reports is within 20% of it. +Configure the slot of the receiver that reports the heading, matched by [SENS\_GNSSn\_ID][SENS_GNSSn_ID]: -| Parameter | 설정 | -| ---------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [GPS\_YAW\_OFFSET][GPS_YAW_OFFSET] | The angle made by the _baseline_ (the line between the two GPS antennas) relative to the vehicle x-axis (front/back axis, as shown [here][fc_orientation]). | -| [EKF2\_GPS\_CTRL][EKF2_GPS_CTRL] | Set bit position 3 "Dual antenna heading" to `1` (i.e. add 8 to the parameter value). | +| Parameter | 설정 | +| ---------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [SENS\_GNSSn\_HDG][SENS_GNSSn_HDG] | `Moving base rover` for the rover of two receivers (the baseline runs from the moving base's antenna to the rover's), `Dual antenna` for a single receiver with two antennas. | +| [SENS\_GNSSn\_OFFX/Y/Z][SENS_GNSSn_OFFX] | Antenna position of each receiver, the main antenna's for a receiver with two antennas. With `Moving base rover`, both receivers' slots must be set. | +| [SENS\_GNSSn\_AUXX/Y/Z][SENS_GNSSn_AUXX] | With `Dual antenna`: position of the auxiliary antenna (see the device page for which antenna is which). | +| [EKF2\_GPS\_CTRL][EKF2_GPS_CTRL] | Set bit position 3 "Dual antenna heading" to `1` (i.e. add 8 to the parameter value). | -[GPS_YAW_OFFSET]: ../advanced_config/parameter_reference.md#GPS_YAW_OFFSET +[SENS_GNSSn_HDG]: ../advanced_config/parameter_reference.md#SENS_GNSS0_HDG +[SENS_GNSSn_OFFX]: ../advanced_config/parameter_reference.md#SENS_GNSS0_OFFX +[SENS_GNSSn_AUXX]: ../advanced_config/parameter_reference.md#SENS_GNSS0_AUXX +[SENS_GNSSn_ID]: ../advanced_config/parameter_reference.md#SENS_GNSS0_ID [EKF2_GPS_CTRL]: ../advanced_config/parameter_reference.md#EKF2_GPS_CTRL [fc_orientation]: ../config/flight_controller_orientation.md#calculating-orientation diff --git a/docs/ko/gps_compass/rtk_gps_cuav_c-rtk-9ps.md b/docs/ko/gps_compass/rtk_gps_cuav_c-rtk-9ps.md index 8ee956fd67b..f5dc5451a54 100644 --- a/docs/ko/gps_compass/rtk_gps_cuav_c-rtk-9ps.md +++ b/docs/ko/gps_compass/rtk_gps_cuav_c-rtk-9ps.md @@ -64,4 +64,4 @@ RTK setup and use on PX4 via _QGroundControl_ is largely plug and play (see [RTK ## More information -[CUAV docs](https://doc.cuav.net/gps/c-rtk-series/en/c-rtk-9ps/) +[CUAV docs](https://doc.cuav.net/en/gnss/c-rtk-series/c-rtk-9ps/) diff --git a/docs/ko/gps_compass/rtk_gps_cuav_c-rtk2.md b/docs/ko/gps_compass/rtk_gps_cuav_c-rtk2.md index 14269d956a2..d0ede1303f1 100644 --- a/docs/ko/gps_compass/rtk_gps_cuav_c-rtk2.md +++ b/docs/ko/gps_compass/rtk_gps_cuav_c-rtk2.md @@ -98,7 +98,7 @@ In addition to surveying/mapping, it is suitable for many other use-cases, inclu ## 설정 -[CUAV Docs](https://doc.cuav.net/gps/c-rtk2/en/quick-start-c-rtk2.html) +[CUAV Docs](https://doc.cuav.net/en/gnss/c-rtk-series/c-rtk2/quick-start-c-rtk2.html) ## 핀배열 @@ -110,4 +110,4 @@ In addition to surveying/mapping, it is suitable for many other use-cases, inclu ## More information -[CUAV Docs](https://doc.cuav.net/gps/c-rtk-series/en/c-rtk-9ps/) +[CUAV Docs](https://doc.cuav.net/en/gnss/c-rtk-series/c-rtk-9ps/) diff --git a/docs/ko/gps_compass/rtk_gps_fem_mini2.md b/docs/ko/gps_compass/rtk_gps_fem_mini2.md index bb527340759..beeeb1a21fc 100644 --- a/docs/ko/gps_compass/rtk_gps_fem_mini2.md +++ b/docs/ko/gps_compass/rtk_gps_fem_mini2.md @@ -43,9 +43,6 @@ The [MINI2 Receiver](http://www.femtomes.com) is connected to a UART on the flig ## 설정 -방향 추정을 위해 두 안테나는 같은 높이에 있어야하고, 서로 최소 30cm 떨어져 있어야합니다. -The direction that they are facing does not matter as it can be configured with the [GPS_YAW_OFFSET](../advanced_config/parameter_reference.md#GPS_YAW_OFFSET) parameter. - Configure the serial port on which the [MINI2 Receiver](http://www.femtomes.com/#/MiniII?type=0) will run using [GPS_1_CONFIG](../advanced_config/parameter_reference.md#GPS_1_CONFIG), and set the baud rate to 115200 using [SER_GPS1_BAUD](../advanced_config/parameter_reference.md#SER_GPS1_BAUD). Once configured the receiver is used in the same way as any other [RTK GPS](../gps_compass/rtk_gps.md) (i.e. with respect to the Survey-in process). diff --git a/docs/ko/gps_compass/rtk_gps_holybro_unicore_um982.md b/docs/ko/gps_compass/rtk_gps_holybro_unicore_um982.md index 90d8f04776e..b0d505f90a0 100644 --- a/docs/ko/gps_compass/rtk_gps_holybro_unicore_um982.md +++ b/docs/ko/gps_compass/rtk_gps_holybro_unicore_um982.md @@ -53,8 +53,7 @@ The Unicore module comes with two antennas, a primary (right connector) and a se You will need to set the following parameters: - [EKF2_GPS_CTRL](../advanced_config/parameter_reference.md#EKF2_GPS_CTRL): Set bit 3 (8) to enable dual antenna heading into the yaw estimation. -- [GPS_YAW_OFFSET](../advanced_config/parameter_reference.md#GPS_YAW_OFFSET): Set heading offset to 0 if the primary antenna is in the front. - The angle increases clock-wise, so set the offset to 90 degrees if the primary antenna is on the right side of the vehicle (and the secondary on the left side). +- [SENS_GNSSn_HDG](../advanced_config/parameter_reference.md#SENS_GNSS0_HDG): `Dual antenna`, with [SENS_GNSSn_OFFX/Y/Z](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFX) the position of the primary antenna and [SENS_GNSSn_AUXX/Y/Z](../advanced_config/parameter_reference.md#SENS_GNSS0_AUXX) that of the secondary antenna. ### RTK Corrections diff --git a/docs/ko/gps_compass/rtk_gps_trimble_mb_two.md b/docs/ko/gps_compass/rtk_gps_trimble_mb_two.md index 4cfbadc34c2..e30a3289ac1 100644 --- a/docs/ko/gps_compass/rtk_gps_trimble_mb_two.md +++ b/docs/ko/gps_compass/rtk_gps_trimble_mb_two.md @@ -2,8 +2,6 @@ The [Trimble MB-Two RTK GPS receiver](https://oemgnss.trimble.com/en/products/receiver-modules/mb-two) is a high-end, dual-frequency [RTK GPS module](../gps_compass/rtk_gps.md) that can be configured as either base or rover. -정확한 위치 정보를 제공하는 것만 아니라, MB-Two는 방향 각도를 추정할 수 있습니다 (이중 안테나 지원이 있음). 이것은 금속 구조물 근처에서 비행시 나침반 정보가 부정확한 상황에서 매우 유용합니다. - ![MB-Two Hero image](../../assets/hardware/gps/rtk_trimble_two_gnss_hero.jpg) ## 필수 펌웨어 옵션 @@ -52,17 +50,8 @@ The module cannot be powered from a Pixhawk. First set the GPS protocol to Trimble ([GPS_x_PROTOCOL=3](../advanced_config/parameter_reference.md#GPS_1_PROTOCOL)). -방향 추정을 위해 두 안테나는 같은 높이에 있어야하고, 서로 최소 30cm 떨어져 있어야합니다. -The direction that they are facing does not matter as it can be configured with the [GPS_YAW_OFFSET](../advanced_config/parameter_reference.md#GPS_YAW_OFFSET) parameter. - -:::info -The `GPS_YAW_OFFSET` is the angle made by the _baseline_ (the line between the two GPS antennas) relative to the vehicle x-axis (front/back axis, as shown [here](../config/flight_controller_orientation.md#calculating-orientation)). -::: - [Configure the serial port](../peripherals/serial_configuration.md) on which the Trimple will run using [GPS_1_CONFIG](../advanced_config/parameter_reference.md#GPS_1_CONFIG), and set the baud rate to 115200 using [SER_GPS1_BAUD](../advanced_config/parameter_reference.md#SER_GPS1_BAUD). -To activate heading fusion for the attitude estimation, set the [EKF2_GPS_CTRL](../advanced_config/parameter_reference.md#EKF2_GPS_CTRL) parameter to enable _Dual antenna heading_. - :::info -See also: [GPS > Configuration > GPS as Yaw/Heading Source](../gps_compass/index.md#configuring-gps-as-yaw-heading-source) +PX4 doesn't use the MB-Two's dual-antenna heading. ::: diff --git a/docs/ko/gps_compass/septentrio.md b/docs/ko/gps_compass/septentrio.md index eb31f237cd7..a4066371ca1 100644 --- a/docs/ko/gps_compass/septentrio.md +++ b/docs/ko/gps_compass/septentrio.md @@ -119,8 +119,8 @@ To switch rover and base in the moving base setup, switch `SEP_PORT1_CFG` and `S It is important that the antennas are positioned at least 30 cm apart for a stable heading result. In a normal setup, the main antenna is behind the auxiliary one. -If another setup is used, the [SEP_YAW_OFFS](../advanced_config/parameter_reference.md#SEP_YAW_OFFS) value needs to be changed accordingly. -If the antennas are not at the same height, the [SEP_PITCH_OFFS](../advanced_config/parameter_reference.md#SEP_PITCH_OFFS) value needs to be changed. +With a dual-antenna receiver, set [SENS_GNSSn_HDG](../advanced_config/parameter_reference.md#SENS_GNSS0_HDG) to `Dual antenna`, [SENS_GNSSn_OFFX/Y/Z](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFX) to the position of the main antenna and [SENS_GNSSn_AUXX/Y/Z](../advanced_config/parameter_reference.md#SENS_GNSS0_AUXX) to that of the auxiliary antenna. +With two receivers, set `SENS_GNSSn_HDG` to `Moving base rover` in the rover's slot and `SENS_GNSSn_OFFX/Y/Z` of both receivers. ## 로깅 diff --git a/docs/ko/gps_compass/septentrio_asterx-rib.md b/docs/ko/gps_compass/septentrio_asterx-rib.md index 0c86bbed98b..060e4616d3d 100644 --- a/docs/ko/gps_compass/septentrio_asterx-rib.md +++ b/docs/ko/gps_compass/septentrio_asterx-rib.md @@ -108,7 +108,7 @@ To enable multi-antenna attitude determination, follow the following procedure: For best accuracy, try to maximize the distance between the antennas, and avoid significant height difference between the antenna ARPs. 2. In practice, the two antenna ARPs may not be exactly at the same height in the vehicle frame, or the main-aux1 baseline may not be exactly parallel or perpendicular to the longitudinal axis of the vehicle. This leads to offsets in the computed attitude angles. - These can be compensated for with the heading parameters provided by the Septentrio driver in PX4. + PX4 compensates for these from the antenna positions (see [GNSS-Based Heading](../gps_compass/septentrio.md#gnss-based-heading)). :::info For optimal heading results, the two antennas should be separated by at least 30cm / 11.8 in (ideally 50cm / 19.7in or more). diff --git a/docs/ko/gps_compass/septentrio_mosaic-go.md b/docs/ko/gps_compass/septentrio_mosaic-go.md index 5e7fcd07728..6676d3a43a4 100644 --- a/docs/ko/gps_compass/septentrio_mosaic-go.md +++ b/docs/ko/gps_compass/septentrio_mosaic-go.md @@ -105,7 +105,7 @@ To enable multi-antenna attitude determination, follow the following procedure: For best accuracy, try to maximize the distance between the antennas, and avoid significant height difference between the antenna ARPs. 2. In practice, the two antenna ARPs may not be exactly at the same height in the vehicle frame, or the main-aux1 baseline may not be exactly parallel or perpendicular to the longitudinal axis of the vehicle. This leads to offsets in the computed attitude angles. - These can be compensated for with the heading parameters provided by the Septentrio driver in PX4. + PX4 compensates for these from the antenna positions (see [GNSS-Based Heading](../gps_compass/septentrio.md#gnss-based-heading)). :::info For optimal heading results, the two antennas should be separated by at least 30cm / 11.8 in (ideally 50cm / 19.7in or more). diff --git a/docs/ko/gps_compass/u-blox_f9p_heading.md b/docs/ko/gps_compass/u-blox_f9p_heading.md index 94ed4ef8096..c13a866f4d3 100644 --- a/docs/ko/gps_compass/u-blox_f9p_heading.md +++ b/docs/ko/gps_compass/u-blox_f9p_heading.md @@ -29,9 +29,13 @@ The following devices are supported: Ideally the two antennas should be identical, on the same level/horizontal plane and oriented the same way, and on an identical ground plane size and shape ([Application note](https://content.u-blox.com/sites/default/files/documents/ZED-F9P-MovingBase_AppNote_UBX-19009093.pdf), section _System Level Considerations_). - 애플리케이션 노트에는 모듈 사이에 필요한 최소 간격이 명시되어 있지 않습니다 (PX4를 실행하는 테스트 차량에 50cm가 사용되었습니다). -- The antennas can be positioned as needed, but the [GPS_YAW_OFFSET](../advanced_config/parameter_reference.md#GPS_YAW_OFFSET) must be configured: +- The antennas can be positioned as needed, but the heading baseline must be configured: [RTK GPS > GPS as Yaw/Heading Source](../gps_compass/rtk_gps.md#configuring-gps-as-yaw-heading-source). +:::info +A moving base and its rover must run at the same navigation rate, and u-blox limits a moving base to 5 Hz. In the moving base modes ([GPS_UBX_MODE](../advanced_config/parameter_reference.md#GPS_UBX_MODE) 1 to 4) the driver sets 5 Hz on both receivers whatever their model, so leave [GPS_UBX_RATE](../advanced_config/parameter_reference.md#GPS_UBX_RATE) at `0`. A rover running faster than its base has no time-matched base observations for the extra epochs and reports no heading for them. +::: + ### UART Setup - The UART2 of the GPS devices need to be connected together (TXD2 of the "Moving Base" to RXD2 of the "Rover") @@ -43,7 +47,7 @@ Ideally the two antennas should be identical, on the same level/horizontal plane - Set [GPS_UBX_BAUD1](../advanced_config/parameter_reference.md#GPS_UBX_BAUD1) if a UART1 rate other than the default is required (0 keeps 115200). Use a higher rate for high update rates or when RTCM is sent on UART1 ([GPS_UBX_MODE](../advanced_config/parameter_reference.md#GPS_UBX_MODE) 3/4), and a lower rate on long serial cables. - Set [GPS_UBX_BAUD2](../advanced_config/parameter_reference.md#GPS_UBX_BAUD2) if a UART2 rate other than the default (230400) is required. UART2 carries RTCM between the modules in this setup. - [EKF2_GPS_CTRL](../advanced_config/parameter_reference.md#EKF2_GPS_CTRL) parameter bit 3 must be set (see [RTK GPS > GPS as Yaw/Heading Source](../gps_compass/rtk_gps.md#configuring-gps-as-yaw-heading-source)). -- [GPS_YAW_OFFSET](../advanced_config/parameter_reference.md#GPS_YAW_OFFSET) may need to be set (see [RTK GPS > GPS as Yaw/Heading Source](../gps_compass/rtk_gps.md#configuring-gps-as-yaw-heading-source)). +- Set [SENS_GNSSn_HDG](../advanced_config/parameter_reference.md#SENS_GNSS0_HDG) to `Moving base rover` for the rover's slot, and the antenna offsets of both receivers (see [RTK GPS > GPS as Yaw/Heading Source](../gps_compass/rtk_gps.md#configuring-gps-as-yaw-heading-source)). - Reboot and wait until both devices have GPS reception. `gps status` should then show the Main GPS going into RTK mode, which means the heading angle is available. diff --git a/docs/ko/hardware/porting_guide_nuttx.md b/docs/ko/hardware/porting_guide_nuttx.md index 4e0c3256676..9b5b0e4673c 100644 --- a/docs/ko/hardware/porting_guide_nuttx.md +++ b/docs/ko/hardware/porting_guide_nuttx.md @@ -18,23 +18,28 @@ The following example uses FMUv5 as it is a recent [reference configuration](../ ## NuttX 메뉴 구성 설정 -To modify the NuttX OS configuration, you can use [menuconfig](https://bitbucket.org/patacongo/nuttx/src/master/) using the PX4 shortcuts: +To modify the NuttX OS configuration, you can use [menuconfig](https://nuttx.apache.org/docs/latest/quickstart/configuring.html) using the PX4 shortcuts: ```sh make px4_fmu-v5_default menuconfig make px4_fmu-v5_default qconfig ``` -For fresh installs of PX4 onto Ubuntu using [ubuntu.sh](https://github.com/PX4/PX4-Autopilot/blob/main/Tools/setup/ubuntu.sh) you will also need to install _kconfig_ tools from [NuttX tools](https://bitbucket.org/nuttx/tools/src/master/). +The _kconfig_ tools used by these targets (`kconfig-mconf` and `kconfig-qconf`) are installed by the standard [Ubuntu](../dev_setup/dev_env_linux_ubuntu.md) and [macOS](../dev_setup/dev_env_mac.md) development environment setup, and are included in the [px4-dev-nuttx](https://hub.docker.com/r/px4io/px4-dev-nuttx/) docker container. -:::info + + + To run `qconfig` you may need to install additional Qt dependencies. diff --git a/docs/ko/index.md b/docs/ko/index.md index 447b9e59792..f10c88e39eb 100644 --- a/docs/ko/index.md +++ b/docs/ko/index.md @@ -53,6 +53,11 @@ The [Hardware Selection & Setup](hardware/drone_parts.md) section covers flight Read [Operations](config/operations.md) to understand safety features and failsafe behavior before your first flight. Then see [Basic Flying (Multicopter)](flying/basic_flying_mc.md) or the equivalent for your frame type. +## Security + +Securing a deployment is the integrator's responsibility — PX4 ships with every control interface unauthenticated, unsigned, and unencrypted! +The [Security](security/index.md) section collects the hardening documentation, and links to the [security policy](https://github.com/PX4/PX4-Autopilot/blob/main/SECURITY.md) for reporting a vulnerability. + ## 지원 Get help on the [discussion forums](https://discuss.px4.io/) or [Discord](https://discord.com/invite/dronecode). See the [Support](contribute/support.md) page for diagnosing problems, reporting bugs, and joining the [weekly dev call](contribute/dev_call.md). diff --git a/docs/ko/mavlink/message_signing.md b/docs/ko/mavlink/message_signing.md index 9de0fb4e073..53fe7055fa1 100644 --- a/docs/ko/mavlink/message_signing.md +++ b/docs/ko/mavlink/message_signing.md @@ -10,7 +10,12 @@ This mechanism does not _encrypt_ the message payload. When signing is enabled, PX4 appends a 13-byte [signature](https://mavlink.io/en/guide/message_signing.html#signature) to every outgoing MAVLink 2 message. -Incoming messages are checked against the shared secret key, and unsigned or incorrectly signed messages are rejected (with [exceptions for safety-critical messages](#unsigned-message-allowlist)). +Signing uses a single secret key, shared by all MAVLink systems and components that communicate with each other: the ground station, PX4, and any companion computer, camera, or gimbal connected to it. + +Incoming messages are checked against this key, and unsigned or incorrectly signed messages are rejected (with [exceptions for safety-critical messages](#unsigned-message-allowlist)). +Rejected messages are not forwarded to other links either. +This includes messages that PX4 does not know (for example custom messages), which are only forwarded if they are signed with the shared key. +Components that communicate through PX4 therefore need to use the same key as PX4. The signing implementation is built into the MAVLink module and is always available, with no special build flags required. The key is stored in an SD card: @@ -58,6 +63,7 @@ When signing is **not active** (no key provisioned), the first `SETUP_SIGNING` w When signing is **already active**, key changes (including disabling) require that the `SETUP_SIGNING` message is signed with the current key. Note that `SETUP_SIGNING` is rejected while the vehicle is armed (disarm before provisioning or changing keys). +`SETUP_SIGNING` is only applied if it is broadcast or addressed to PX4 (its target system and component). As per the MAVLink specification, `SETUP_SIGNING` is never forwarded to other links. ## Key Storage @@ -134,9 +140,16 @@ When signing is active, **all links require signed messages**. This means: - An attacker cannot send unsigned commands on any link. +- Unsigned or incorrectly signed messages are not forwarded, so they don't reach components connected through PX4 (for example a companion computer), even if those don't check signatures themselves. - Changing or disabling the key requires sending a `SETUP_SIGNING` message **signed with the current key**. - Signing can be disabled via MAVLink by sending a signed `SETUP_SIGNING` with an all-zero key. +### One shared key + +The key is symmetric: every device that holds it can both verify and sign messages, as any system and component ID. +Signing therefore authenticates that a message comes from a device holding the key, not which device sent it. +Only provision the key on devices you trust. + ### Armed guard `SETUP_SIGNING` is rejected while the vehicle is armed. diff --git a/docs/ko/mavlink/security_hardening.md b/docs/ko/mavlink/security_hardening.md index 4e40edc40cb..059ce7b0074 100644 --- a/docs/ko/mavlink/security_hardening.md +++ b/docs/ko/mavlink/security_hardening.md @@ -3,16 +3,24 @@ MAVLink is an open communication protocol designed for lightweight, low-latency communication between drones and ground stations. -By default, all MAVLink messages are unauthenticated. -This is intentional for development and testing, but **production deployments must enable [message signing](message_signing.md)** to prevent unauthorized access. +By default, all MAVLink messages are unauthenticated and unencrypted. +This is intentional for development and testing, but **production deployments must secure the link** to prevent unauthorized access. + +There are two ways to do that, and they are not exclusive: + +- **Secure the link below MAVLink**, using a radio configured with link-layer security, a VPN, etc. + Configured with authenticated encryption, this uses standard, reviewed cryptography and gives confidentiality and authentication for all traffic on the link, not only MAVLink. + It is outside PX4's scope and depends on your radio and network stack. +- **Enable [MAVLink message signing](message_signing.md)**, which authenticates MAVLink frames without encrypting them. + This is the mechanism PX4 itself ships, and it is described in this guide. :::warning -Without message signing enabled, any device that can send MAVLink messages to the vehicle (via radio, network, or serial) can execute any command, including shell access, file operations, parameter changes, mission uploads, arming, and flight termination. +On an unsecured link, any device that can send MAVLink messages to the vehicle (via radio, network, or serial) can execute any command, including shell access, file operations, parameter changes, mission uploads, arming, and flight termination. ::: ## What Is at Risk -When MAVLink signing is not enabled, an attacker within communication range can: +On an unsecured link, an attacker within communication range can: | Capability | MAVLink mechanism | | ------------------------------------------- | ------------------------------------------------ | @@ -27,13 +35,15 @@ When MAVLink signing is not enabled, an attacker within communication range can: | Reboot the vehicle | `MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN` | All of these are standard MAVLink capabilities used by ground control stations. -Without signing, there is no distinction between a legitimate GCS and an unauthorized sender. +Until the link is secured, there is no distinction between a legitimate GCS and an unauthorized sender. ## Hardening Checklist -### 1. Enable Message Signing +### 1. Secure the Link -Message signing provides cryptographic authentication for all MAVLink communication. +If the link is carried over an encrypted radio, a VPN or IPsec, that covers authentication and confidentiality for everything on it, and the rest of this step is optional. + +Otherwise, use message signing, which provides cryptographic authentication for all MAVLink communication. See [Message Signing](message_signing.md) for full details. Steps: @@ -50,6 +60,14 @@ Signing changes are rejected while the vehicle is armed. Signing can also be disabled by physically removing the key file from the SD card. ::: +:::warning +Provision the key before the vehicle is used on an untrusted link, not after. + +Until a key is provisioned there is nothing to authenticate against, so any peer that can reach a link can provision one. +Only _changing_ a key requires a signed message; setting the first one cannot, because no key exists yet. +A key installed by someone else locks out the legitimate ground station, and the recovery is to remove the key file from the SD card. +::: + ### 2. Secure Physical Access - **SD card**: The signing key is stored at `/mavlink/mavlink-signing-key.bin`. @@ -67,6 +85,7 @@ If your threat model includes physical access, secure the SD card slot and debug ### 3. Secure Network Links +- Prefer an encrypted transport where one is available: an encrypted radio link, a VPN, etc. - Do not expose MAVLink UDP/TCP ports to untrusted networks or the internet. - Place MAVLink communication links behind firewalls or VPNs. - Segment MAVLink networks from business or public networks. @@ -77,6 +96,8 @@ If your threat model includes physical access, secure the SD card slot and debug - **No encryption**: Message signing provides authentication and integrity, but messages are sent in plaintext. An eavesdropper can read telemetry and commands but cannot forge them. +- **Unaudited implementation**: + The signing protocol was audited when it was drafted, but PX4's implementation of it has not been. - **Allowlisted messages**: A small set of [safety-critical messages](message_signing.md#unsigned-message-allowlist) (`HEARTBEAT`, `RADIO_STATUS`, `ADSB_VEHICLE`, `COLLISION`) are always accepted unsigned on all links. An attacker could spoof these specific messages. diff --git a/docs/ko/middleware/dds_topics.md b/docs/ko/middleware/dds_topics.md index 93a0d8281ef..e9b10b5cc8c 100644 --- a/docs/ko/middleware/dds_topics.md +++ b/docs/ko/middleware/dds_topics.md @@ -35,7 +35,7 @@ This document shows a markdown-rendered version of [dds_topics.yaml](https://git | `/fmu/out/vehicle_command_ack` | [px4_msgs::msg::VehicleCommandAck](../msg_docs/VehicleCommandAck.md) | | | `/fmu/out/vehicle_control_mode` | [px4_msgs::msg::VehicleControlMode](../msg_docs/VehicleControlMode.md) | 50.0 | | `/fmu/out/vehicle_global_position` | [px4_msgs::msg::VehicleGlobalPosition](../msg_docs/VehicleGlobalPosition.md) | 50.0 | -| `/fmu/out/vehicle_gps_position` | [px4_msgs::msg::SensorGps](../msg_docs/SensorGps.md) | 50.0 | +| `/fmu/out/vehicle_gnss` | [px4_msgs::msg::VehicleGnss](../msg_docs/VehicleGnss.md) | 50.0 | | `/fmu/out/vehicle_land_detected` | [px4_msgs::msg::VehicleLandDetected](../msg_docs/VehicleLandDetected.md) | 5.0 | | `/fmu/out/vehicle_local_position` | [px4_msgs::msg::VehicleLocalPosition](../msg_docs/VehicleLocalPosition.md) | 50.0 | | `/fmu/out/vehicle_odometry` | [px4_msgs::msg::VehicleOdometry](../msg_docs/VehicleOdometry.md) | 100.0 | @@ -149,7 +149,6 @@ See messages - [EstimatorBias3d](../msg_docs/EstimatorBias3d.md) - [EstimatorEventFlags](../msg_docs/EstimatorEventFlags.md) - [EstimatorFusionControl](../msg_docs/EstimatorFusionControl.md) -- [EstimatorGpsStatus](../msg_docs/EstimatorGpsStatus.md) - [EstimatorInnovations](../msg_docs/EstimatorInnovations.md) - [EstimatorSelectorStatus](../msg_docs/EstimatorSelectorStatus.md) - [EstimatorSensorBias](../msg_docs/EstimatorSensorBias.md) @@ -157,6 +156,7 @@ See messages - [EstimatorStatus](../msg_docs/EstimatorStatus.md) - [Event](../msg_docs/Event.md) - [EventV0](../msg_docs/EventV0.md) +- [ExternalGimbalManagerStatus](../msg_docs/ExternalGimbalManagerStatus.md) - [FailureDetectorStatus](../msg_docs/FailureDetectorStatus.md) - [FailureInjection](../msg_docs/FailureInjection.md) - [FiducialMarkerPosReport](../msg_docs/FiducialMarkerPosReport.md) @@ -181,6 +181,7 @@ See messages - [GimbalManagerInformation](../msg_docs/GimbalManagerInformation.md) - [GimbalManagerSetAttitude](../msg_docs/GimbalManagerSetAttitude.md) - [GimbalManagerSetManualControl](../msg_docs/GimbalManagerSetManualControl.md) +- [GimbalManagerSetPitchyaw](../msg_docs/GimbalManagerSetPitchyaw.md) - [GimbalManagerStatus](../msg_docs/GimbalManagerStatus.md) - [GpioConfig](../msg_docs/GpioConfig.md) - [GpioIn](../msg_docs/GpioIn.md) @@ -269,6 +270,7 @@ See messages - [SensorAirflow](../msg_docs/SensorAirflow.md) - [SensorBaro](../msg_docs/SensorBaro.md) - [SensorCorrection](../msg_docs/SensorCorrection.md) +- [SensorGnss](../msg_docs/SensorGnss.md) - [SensorGnssRelative](../msg_docs/SensorGnssRelative.md) - [SensorGnssRf](../msg_docs/SensorGnssRf.md) - [SensorGnssSpectrum](../msg_docs/SensorGnssSpectrum.md) @@ -283,6 +285,7 @@ See messages - [SensorTemp](../msg_docs/SensorTemp.md) - [SensorUwb](../msg_docs/SensorUwb.md) - [SensorsStatus](../msg_docs/SensorsStatus.md) +- [SensorsStatusGnss](../msg_docs/SensorsStatusGnss.md) - [SensorsStatusImu](../msg_docs/SensorsStatusImu.md) - [SystemPower](../msg_docs/SystemPower.md) - [TakeoffStatus](../msg_docs/TakeoffStatus.md) @@ -304,6 +307,7 @@ See messages - [VehicleCommandAckV0](../msg_docs/VehicleCommandAckV0.md) - [VehicleConstraints](../msg_docs/VehicleConstraints.md) - [VehicleGlobalPositionV0](../msg_docs/VehicleGlobalPositionV0.md) +- [VehicleGnssHeading](../msg_docs/VehicleGnssHeading.md) - [VehicleImu](../msg_docs/VehicleImu.md) - [VehicleImuStatus](../msg_docs/VehicleImuStatus.md) - [VehicleLocalPositionSetpoint](../msg_docs/VehicleLocalPositionSetpoint.md) diff --git a/docs/ko/middleware/uxrce_dds.md b/docs/ko/middleware/uxrce_dds.md index de5455fd32c..dc1507c6aab 100644 --- a/docs/ko/middleware/uxrce_dds.md +++ b/docs/ko/middleware/uxrce_dds.md @@ -26,6 +26,14 @@ In order for PX4 uORB topics to be shared on the DDS network you will need _uXRC The PX4 [uxrce_dds_client](../modules/modules_system.md#uxrce-dds-client) publishes to/from a defined set of uORB topics to the global DDS data space. +:::warning +The DDS transport is unauthenticated and reaches uORB directly, so the DDS network must be kept isolated. +Connect the flight controller to the companion over serial or a dedicated Ethernet cable, not over a shared or wireless network. +A direct cable is not enough on its own: the agent republishes into the DDS network on the companion, so also keep that local, for example with [UXRCE_DDS_PTCFG](../advanced_config/parameter_reference.md#UXRCE_DDS_PTCFG) set to localhost and `ROS_AUTOMATIC_DISCOVERY_RANGE=LOCALHOST` (`ROS_LOCALHOST_ONLY=1` on Humble). +If the data has to leave the companion, securing it is up to the integrator. +See [Security](../security/index.md) for more. +::: + The [eProsima Micro XRCE-DDS _Agent_](https://github.com/eProsima/Micro-XRCE-DDS-Agent) runs on the companion computer and acts as a proxy for the client in the DDS/ROS 2 network. The agent itself has no dependency on client-side code and can be built and/or installed independent of PX4 or ROS, as long as version compatibility is ensured. @@ -70,8 +78,8 @@ The following table explains the required Micro-XRCE-DDS-Agent versions and `UXR | Humble | 2.6.x | 2.4.2 | unset / `N` | | Jazzy | 2.14.0 | 2.4.3 | unset / `N` | | Kilted | 2.14.4 | 2.4.3 | unset / `N` | -| Lyrical | 3.6.x | 3.0.1 | set / `Y` | -| Rolling | 3.6.x | 3.0.1 | set / `Y` | +| Lyrical | 3.6.x | 3.0.2 | set / `Y` | +| Rolling | 3.6.x | 3.0.2 | set / `Y` | ## Micro XRCE-DDS Agent Installation @@ -107,7 +115,7 @@ sudo ldconfig /usr/local/lib/ :::tab DDS v3 ```sh -git clone -b v3.0.1 https://github.com/eProsima/Micro-XRCE-DDS-Agent.git +git clone -b v3.0.2 https://github.com/eProsima/Micro-XRCE-DDS-Agent.git cd Micro-XRCE-DDS-Agent mkdir build cd build @@ -148,7 +156,7 @@ To build the agent within ROS: ```sh cd ~/px4_ros_uxrce_dds_ws/src - git clone -b v3.0.1 https://github.com/eProsima/Micro-XRCE-DDS-Agent.git + git clone -b v3.0.2 https://github.com/eProsima/Micro-XRCE-DDS-Agent.git ``` Don't forget to set `UXRCE_DDS_CLIENT_USE_DDS_V3` before building PX4 when using DDS v3! @@ -410,7 +418,9 @@ The configuration can be done using the [UXRCE-DDS parameters](../advanced_confi Setting this parameter to any value other than `-1` creates a namespace with the prefix `uav_` and the specified value, e.g. `uav_0`, `uav_1`, etc. See [namespace](#customizing-the-namespace) for methods to define richer or arbitrary namespaces. - [`UXRCE_DDS_FLCTRL`](../advanced_config/parameter_reference.md#UXRCE_DDS_FLCTRL) : Serial port hardware flow control enable. - To use hardware flow control, a custom MicroXRCE Agent needs to be adopted. Please refer to [this PR](https://github.com/eProsima/Micro-XRCE-DDS-Agent/pull/407) for the required changes, cherry-pick them on top of the [agent version](#build-run-within-ros-2-workspace) you need to use and then run the agent with the additional `--flow-control` option. + This feature is available on MicroXRCE Agent version `>=3.0.2` (ROS 2 Lyrical and newer). + To use it in previous versions please refer to [Micro-XRCE-DDS-Agent#407](https://github.com/eProsima/Micro-XRCE-DDS-Agent/pull/407) for the required changes and cherry-pick them on top of the [agent version](#build-run-within-ros-2-workspace) you need to use. + On the agent side flow control is enable passing the `--flow-control` option. :::info Many ports already have a default configuration. diff --git a/docs/ko/middleware/zenoh.md b/docs/ko/middleware/zenoh.md index 7581397a82f..54bd96eff10 100644 --- a/docs/ko/middleware/zenoh.md +++ b/docs/ko/middleware/zenoh.md @@ -20,6 +20,14 @@ The Zenoh-based middleware consists of a client running on PX4 and a Zenoh route The router acts as a broker and discovery service, enabling PX4 to publish and subscribe to topics in the global Zenoh data space. This allows seamless integration with ROS 2 nodes using [`rmw_zenoh`](https://github.com/ros2/rmw_zenoh), and supports flexible deployment across distributed systems. +:::warning +The Zenoh transport is unauthenticated and reaches uORB directly, so the Zenoh network must be kept isolated. +Connect the flight controller to the companion over a dedicated Ethernet cable, not over a shared or wireless network. +A direct cable is not enough on its own: the router republishes into the Zenoh network, so the router must also not be reachable from other networks. +If the data has to leave the companion, securing it is up to the integrator. +See [Security](../security/index.md) for more. +::: + ![Architecture PX4 Zenoh-Pico with ROS 2](../../assets/middleware/zenoh/architecture-px4-zenoh.svg) The client is the _PX4 Zenoh-Pico Node_ referred to above, which is implemented in the [PX4 `zenoh` module](../modules/modules_driver.md#zenoh). diff --git a/docs/ko/modules/modules_command.md b/docs/ko/modules/modules_command.md index f307426e196..63975671359 100644 --- a/docs/ko/modules/modules_command.md +++ b/docs/ko/modules/modules_command.md @@ -609,7 +609,7 @@ Test operations on an SD Card sd_stress [arguments...] [-r ] Number of runs default: 5 - [-b ] Number of bytes + [-b ] Number of bytes (1-10000) default: 100 ``` diff --git a/docs/ko/modules/modules_controller.md b/docs/ko/modules/modules_controller.md index 34140f6ff12..43602c4c911 100644 --- a/docs/ko/modules/modules_controller.md +++ b/docs/ko/modules/modules_controller.md @@ -267,7 +267,7 @@ Source: [modules/navigator](https://github.com/PX4/PX4-Autopilot/tree/main/src/m ### 설명 Module that is responsible for autonomous flight modes. This includes missions (read from dataman), -takeoff and RTL. +takeoff and Return. It is also responsible for geofence violation checking. ### 구현 diff --git a/docs/ko/modules/modules_driver.md b/docs/ko/modules/modules_driver.md index 4aa3492d9f9..250d79e9ba9 100644 --- a/docs/ko/modules/modules_driver.md +++ b/docs/ko/modules/modules_driver.md @@ -266,7 +266,7 @@ Source: [examples/fake_magnetometer](https://github.com/PX4/PX4-Autopilot/tree/m ### 설명 Publish the earth magnetic field as a fake magnetometer (sensor_mag). -Requires vehicle_attitude and vehicle_gps_position. +Requires vehicle_attitude and vehicle_gnss. ### Usage {#fake_magnetometer_usage} @@ -763,6 +763,8 @@ mcp230xx [arguments...] [-M ] First minor number default: 0 + write Set the output pins to the state given with -O + stop status print status info diff --git a/docs/ko/modules/modules_system.md b/docs/ko/modules/modules_system.md index 789a9e67f98..c931bd9c878 100644 --- a/docs/ko/modules/modules_system.md +++ b/docs/ko/modules/modules_system.md @@ -155,9 +155,9 @@ commander [arguments...] transition VTOL transition mode Change flight mode - manual|acro|offboard|stabilized|altctl|posctl|altitude_cruise|position:slow - |auto:mission|auto:loiter|auto:course|auto:rtl|auto:takeoff|aut - o:land|auto:precland|ext1 Flight mode + manual|acro|offboard|stabilized|altctl|posctl|altitude_cruise|manual_parkin + g|position:slow|auto:mission|auto:loiter|auto:course|auto:rtl|a + uto:takeoff|auto:land|auto:precland|ext1 Flight mode pair @@ -411,54 +411,15 @@ Source: [modules/internal_combustion_engine_control](https://github.com/PX4/PX4- ### 설명 -The module controls internal combustion engine (ICE) features including: -ignition (on/off), throttle and choke level, starter engine delay, and user request. +Controls a spark-ignition internal combustion engine (ICE): ignition, throttle, choke and +electric starter motor. A state machine sequences the start attempts, restarts the engine if +it stops in flight, and runs a closed-loop idle RPM governor. -### Enabling +The module is not in the default builds, and is only started at boot if +[ICE_EN](../advanced_config/parameter_reference.md#ICE_EN) is set. -This feature is not enabled by default needs to be configured in the -build target for your board together with the rpm capture driver: - -``` -CONFIG_MODULES_INTERNAL_COMBUSTION_ENGINE_CONTROL=y -CONFIG_DRIVERS_RPM_CAPTURE=y -``` - -Additionally, to enable the module: - -- Set [ICE_EN](../advanced_config/parameter_reference.md#ICE_EN) - to true and adjust the other `ICE_` module parameters according to your needs. -- Set [RPM_CAP_ENABLE](../advanced_config/parameter_reference.md#RPM_CAP_ENABLE) to true. - -The module outputs control signals for ignition, throttle, and choke, -and takes inputs from an RPM sensor. -These must be mapped to AUX outputs/inputs in the [Actuator configuration](../config/actuators.md), -similar to the setup shown below. - -![Actuator setup for ICE](../../assets/hardware/ice/ice_actuator_setup.png) - -### 구현 - -The ICE is implemented with a (4) state machine: - -![Architecture](../../assets/hardware/ice/ice_control_state_machine.png) - -The state machine: - -- Checks if [Rpm.msg](../msg_docs/Rpm.md) is updated to know if the engine is running -- Allows for user inputs from: - - Manual control AUX - - Arming state in [VehicleStatus.msg](../msg_docs/VehicleStatus.md) -- In the state "Stopped" the throttle is set to NAN, which by definition will set the - throttle output to the disarmed value configured for the specific output. - -The module publishes [InternalCombustionEngineControl.msg](../msg_docs/InternalCombustionEngineControl.md). - -The architecture is as shown below: - -![Architecture](../../assets/hardware/ice/ice_control_diagram.png) - - +See [Internal Combustion Engines](../actuators/internal_combustion_engine.md) for the firmware +and hardware setup, actuator configuration, start sequence timing and idle governor tuning. ### Usage {#internal_combustion_engine_control_usage} diff --git a/docs/ko/msg_docs/Airspeed.md b/docs/ko/msg_docs/Airspeed.md index 270a3ea5690..8ee87737308 100644 --- a/docs/ko/msg_docs/Airspeed.md +++ b/docs/ko/msg_docs/Airspeed.md @@ -13,13 +13,14 @@ It is subscribed by the airspeed selector module, which validates the data from ## Fields -| 명칭 | 형식 | Unit [Frame] | Range/Enum | 설명 | -| ---------------------------------------------------------------------------------------------------------------------------- | --------- | ---------------------------------------------------------------- | --------------------------------------------------------------------------- | -------------------------------- | -| timestamp | `uint64` | us | | Time since system start | -| timestamp_sample | `uint64` | us | | Timestamp of the raw data | -| indicated_airspeed_m_s | `float32` | m/s | | Indicated airspeed | -| true_airspeed_m_s | `float32` | m/s | | True airspeed | -| confidence | `float32` | | [0 : 1] | Confidence value for this sensor | +| 명칭 | 형식 | Unit [Frame] | Range/Enum | 설명 | +| ---------------------------------------------------------------------------------------------------------------------------- | --------- | ---------------------------------------------------------------- | --------------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| timestamp | `uint64` | us | | Time since system start | +| timestamp_sample | `uint64` | us | | Timestamp of the raw data | +| device_id | `uint32` | | | Unique device ID of the sensor this measurement came from, 0 if unknown | +| indicated_airspeed_m_s | `float32` | m/s | | Indicated airspeed | +| true_airspeed_m_s | `float32` | m/s | | True airspeed | +| confidence | `float32` | | [0 : 1] | Confidence value for this sensor | ## Source Message @@ -36,6 +37,7 @@ Click here to see original file uint64 timestamp # [us] Time since system start uint64 timestamp_sample # [us] Timestamp of the raw data +uint32 device_id # [-] Unique device ID of the sensor this measurement came from, 0 if unknown float32 indicated_airspeed_m_s # [m/s] Indicated airspeed float32 true_airspeed_m_s # [m/s] True airspeed float32 confidence # [@range 0,1] Confidence value for this sensor diff --git a/docs/ko/msg_docs/ArmingCheckReply.md b/docs/ko/msg_docs/ArmingCheckReply.md index d9a36efd0d1..bfecad78b22 100644 --- a/docs/ko/msg_docs/ArmingCheckReply.md +++ b/docs/ko/msg_docs/ArmingCheckReply.md @@ -37,7 +37,7 @@ The message is not used by internal/FMU components, as their mode requirements a | mode_req_global_position | `bool` | | | Requires a global position estimate | | mode_req_global_position_relaxed | `bool` | | | Requires a relaxed global position estimate | | mode_req_mission | `bool` | | | Requires an uploaded mission | -| mode_req_home_position | `bool` | | | Requires a home position (such as RTL/Return mode) | +| mode_req_home_position | `bool` | | | Requires a home position (such as Return mode) | | mode_req_prevent_arming | `bool` | | | Prevent arming (such as in Land mode) | | mode_req_manual_control | `bool` | | | Requires a manual controller | @@ -104,7 +104,7 @@ bool mode_req_local_position_relaxed # Requires a more relaxed global position e bool mode_req_global_position # Requires a global position estimate bool mode_req_global_position_relaxed # Requires a relaxed global position estimate bool mode_req_mission # Requires an uploaded mission -bool mode_req_home_position # Requires a home position (such as RTL/Return mode) +bool mode_req_home_position # Requires a home position (such as Return mode) bool mode_req_prevent_arming # Prevent arming (such as in Land mode) bool mode_req_manual_control # Requires a manual controller diff --git a/docs/ko/msg_docs/BatteryStatus.md b/docs/ko/msg_docs/BatteryStatus.md index 9dfff763020..712bad4b715 100644 --- a/docs/ko/msg_docs/BatteryStatus.md +++ b/docs/ko/msg_docs/BatteryStatus.md @@ -79,7 +79,7 @@ Used in field(s): [warning](#fld_warning) | WARNING_EMERGENCY | `uint8` | 3 | Immediate landing required | | WARNING_FAILED | `uint8` | 4 | Battery has failed completely | | WARNING_UNHEALTHY | `uint8` | 6 | Battery is diagnosed to be defective or an error occurred, usage is discouraged / prohibited. Possible causes (faults) are listed in faults field | -| WARNING_CHARGING | `uint8` | 7 | Battery is charging | +| WARNING_CHARGING | `uint8` | 7 | Battery is charging and no other warning applies. A state, not a severity: do not compare it by value | ### FAULT {#FAULT} @@ -165,7 +165,7 @@ uint8 WARNING_CRITICAL = 2 # Critical voltage, return / abort immediately uint8 WARNING_EMERGENCY = 3 # Immediate landing required uint8 WARNING_FAILED = 4 # Battery has failed completely uint8 WARNING_UNHEALTHY = 6 # Battery is diagnosed to be defective or an error occurred, usage is discouraged / prohibited. Possible causes (faults) are listed in faults field -uint8 WARNING_CHARGING = 7 # Battery is charging +uint8 WARNING_CHARGING = 7 # Battery is charging and no other warning applies. A state, not a severity: do not compare it by value uint16 faults # [@enum FAULT] Smart battery supply status/fault flags (bitmask) for health indication uint8 FAULT_DEEP_DISCHARGE = 0 # Battery has deep discharged diff --git a/docs/ko/msg_docs/ExternalGimbalManagerStatus.md b/docs/ko/msg_docs/ExternalGimbalManagerStatus.md new file mode 100644 index 00000000000..66e166f6265 --- /dev/null +++ b/docs/ko/msg_docs/ExternalGimbalManagerStatus.md @@ -0,0 +1,56 @@ +--- +pageClass: is-wide-page +--- + +# ExternalGimbalManagerStatus (UORB message) + +External gimbal manager status. + +Status of a gimbal manager running on another component (not us), decoded from +an incoming GIMBAL_MANAGER_STATUS message. Used to track which component +currently controls an external gimbal manager. + +**TOPICS:** external_gimbal_manager_status + +## Fields + +| 명칭 | 형식 | Unit [Frame] | Range/Enum | 설명 | +| ----------------------------------------------------------------------------------------------------------- | -------- | ---------------------------------------------------------------- | ---------- | ------------------------------------------- | +| timestamp | `uint64` | us | | Time since system start | +| manager_sysid | `uint8` | | | System id of the external gimbal manager | +| manager_compid | `uint8` | | | Component id of the external gimbal manager | +| flags | `uint32` | | | | +| gimbal_device_id | `uint8` | | | | +| primary_control_sysid | `uint8` | | | | +| primary_control_compid | `uint8` | | | | +| secondary_control_sysid | `uint8` | | | | +| secondary_control_compid | `uint8` | | | | + +## Source Message + +[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/ExternalGimbalManagerStatus.msg) + +:::details +Click here to see original file + +```c +# External gimbal manager status +# +# Status of a gimbal manager running on another component (not us), decoded from +# an incoming GIMBAL_MANAGER_STATUS message. Used to track which component +# currently controls an external gimbal manager. + +uint64 timestamp # [us] Time since system start + +uint8 manager_sysid # [-] System id of the external gimbal manager +uint8 manager_compid # [-] Component id of the external gimbal manager + +uint32 flags # [-] +uint8 gimbal_device_id +uint8 primary_control_sysid +uint8 primary_control_compid +uint8 secondary_control_sysid +uint8 secondary_control_compid +``` + +::: diff --git a/docs/ko/msg_docs/FailsafeFlags.md b/docs/ko/msg_docs/FailsafeFlags.md index ed8836947d7..c1a1273a08a 100644 --- a/docs/ko/msg_docs/FailsafeFlags.md +++ b/docs/ko/msg_docs/FailsafeFlags.md @@ -13,55 +13,55 @@ The flag comments are used as label for the failsafe state machine simulation ## Fields -| 명칭 | 형식 | Unit [Frame] | Range/Enum | 설명 | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ---------------------------------------------------------------- | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| timestamp | `uint64` | | | time since system start (microseconds) | -| mode_req_angular_velocity | `uint32` | | | | -| mode_req_attitude | `uint32` | | | | -| mode_req_local_alt | `uint32` | | | | -| mode_req_local_position | `uint32` | | | | -| mode_req_local_position_relaxed | `uint32` | | | | -| mode_req_global_position | `uint32` | | | | -| mode_req_global_position_relaxed | `uint32` | | | | -| mode_req_mission | `uint32` | | | | -| mode_req_offboard_signal | `uint32` | | | | -| mode_req_home_position | `uint32` | | | | -| mode_req_wind_and_flight_time_compliance | `uint32` | | | if set, mode cannot be entered if wind or flight time limit exceeded | -| mode_req_prevent_arming | `uint32` | | | if set, cannot arm while in this mode | -| mode_req_manual_control | `uint32` | | | | -| mode_req_other | `uint32` | | | other requirements, not covered above (for external modes) | -| angular_velocity_invalid | `bool` | | | Angular velocity invalid | -| attitude_invalid | `bool` | | | Attitude invalid | -| local_altitude_invalid | `bool` | | | Local altitude invalid | -| local_position_invalid | `bool` | | | Local position estimate invalid | -| local_position_invalid_relaxed | `bool` | | | Local position with reduced accuracy requirements invalid (e.g. flying with optical flow) | -| local_velocity_invalid | `bool` | | | Local velocity estimate invalid | -| global_position_invalid | `bool` | | | Global position estimate invalid | -| global_position_invalid_relaxed | `bool` | | | Global position estimate invalid with relaxed accuracy requirements | -| auto_mission_missing | `bool` | | | No mission available | -| offboard_control_signal_lost | `bool` | | | Offboard signal lost | -| home_position_invalid | `bool` | | | No home position available | -| manual_control_signal_lost | `bool` | | | Manual control (RC) signal lost | -| gcs_connection_lost | `bool` | | | GCS connection lost | -| battery_warning | `uint8` | | | Battery warning level (see BatteryStatus.msg) | -| battery_low_remaining_time | `bool` | | | Low battery based on remaining flight time | -| battery_unhealthy | `bool` | | | Battery unhealthy | -| fd_critical_failure | `bool` | | | Critical failure (attitude limit exceeded, or external ATS) | -| fd_esc_arming_failure | `bool` | | | ESC failed to arm | -| fd_imbalanced_prop | `bool` | | | Imbalanced propeller detected | -| fd_motor_failure | `bool` | | | Motor failure | -| fd_alt_loss | `bool` | | | Uncommanded altitude loss (rotary-wing, altitude-controlled flight) | -| geofence_breached | `bool` | | | Geofence breached (one or multiple) | -| mission_failure | `bool` | | | Mission failure | -| vtol_fixed_wing_system_failure | `bool` | | | vehicle in fixed-wing system failure failsafe mode (after quad-chute) | -| wind_limit_exceeded | `bool` | | | Wind limit exceeded | -| flight_time_limit_exceeded | `bool` | | | Maximum flight time exceeded | -| position_accuracy_low | `bool` | | | Position estimate has dropped below threshold, but is currently still declared valid | -| navigator_failure | `bool` | | | Navigator failed to execute a mode | -| parachute_unhealthy | `bool` | | | Parachute system missing or unhealthy | -| traffic_avoidance_unhealthy | `bool` | | | Traffic avoidance (ADS-B/FLARM) system missing or unhealthy | -| remote_id_unhealthy | `bool` | | | Remote ID (Open Drone ID) system missing or unhealthy | -| gnss_lost | `bool` | | | Active GNSS count dropped below SYS_HAS_NUM_GNSS, or two receivers report inconsistent positions | +| 명칭 | 형식 | Unit [Frame] | Range/Enum | 설명 | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ---------------------------------------------------------------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------- | +| timestamp | `uint64` | | | time since system start (microseconds) | +| mode_req_angular_velocity | `uint32` | | | | +| mode_req_attitude | `uint32` | | | | +| mode_req_local_alt | `uint32` | | | | +| mode_req_local_position | `uint32` | | | | +| mode_req_local_position_relaxed | `uint32` | | | | +| mode_req_global_position | `uint32` | | | | +| mode_req_global_position_relaxed | `uint32` | | | | +| mode_req_mission | `uint32` | | | | +| mode_req_offboard_signal | `uint32` | | | | +| mode_req_home_position | `uint32` | | | | +| mode_req_wind_and_flight_time_compliance | `uint32` | | | if set, mode cannot be entered if wind or flight time limit exceeded | +| mode_req_prevent_arming | `uint32` | | | if set, cannot arm while in this mode | +| mode_req_manual_control | `uint32` | | | | +| mode_req_other | `uint32` | | | other requirements, not covered above (for external modes) | +| angular_velocity_invalid | `bool` | | | Angular velocity invalid | +| attitude_invalid | `bool` | | | Attitude invalid | +| local_altitude_invalid | `bool` | | | Local altitude invalid | +| local_position_invalid | `bool` | | | Local position estimate invalid | +| local_position_invalid_relaxed | `bool` | | | Local position with reduced accuracy requirements invalid (e.g. flying with optical flow) | +| local_velocity_invalid | `bool` | | | Local velocity estimate invalid | +| global_position_invalid | `bool` | | | Global position estimate invalid | +| global_position_invalid_relaxed | `bool` | | | Global position estimate invalid with relaxed accuracy requirements | +| auto_mission_missing | `bool` | | | No mission available | +| offboard_control_signal_lost | `bool` | | | Offboard signal lost | +| home_position_invalid | `bool` | | | No home position available | +| manual_control_signal_lost | `bool` | | | Manual control (RC) signal lost | +| gcs_connection_lost | `bool` | | | GCS connection lost | +| battery_warning | `uint8` | | | Battery warning level (see BatteryStatus.msg) | +| battery_low_remaining_time | `bool` | | | Low battery based on remaining flight time | +| battery_unhealthy | `bool` | | | Battery unhealthy | +| fd_critical_failure | `bool` | | | Critical failure (attitude limit exceeded, or external ATS) | +| fd_esc_arming_failure | `bool` | | | ESC failed to arm | +| fd_imbalanced_prop | `bool` | | | Imbalanced propeller detected | +| fd_motor_failure | `bool` | | | Motor failure | +| fd_alt_loss | `bool` | | | Uncommanded altitude loss (rotary-wing, altitude-controlled flight) | +| geofence_breached | `bool` | | | Geofence breached (one or multiple) | +| mission_failure | `bool` | | | Mission failure | +| vtol_fixed_wing_system_failure | `bool` | | | vehicle in fixed-wing system failure failsafe mode (after quad-chute) | +| wind_limit_exceeded | `bool` | | | Wind limit exceeded | +| flight_time_limit_exceeded | `bool` | | | Maximum flight time exceeded | +| position_accuracy_low | `bool` | | | Position estimate has dropped below threshold, but is currently still declared valid | +| navigator_failure | `bool` | | | Navigator failed to execute a mode | +| parachute_unhealthy | `bool` | | | Parachute system missing or unhealthy | +| traffic_avoidance_unhealthy | `bool` | | | Traffic avoidance (ADS-B/FLARM) system missing or unhealthy | +| remote_id_unhealthy | `bool` | | | Remote ID (Open Drone ID) system missing or unhealthy | +| gnss_lost | `bool` | | | Fewer GNSS receivers are healthy than required, or two receivers report inconsistent positions | ## Source Message @@ -135,7 +135,7 @@ bool navigator_failure # Navigator failed to execute a mode bool parachute_unhealthy # Parachute system missing or unhealthy bool traffic_avoidance_unhealthy # Traffic avoidance (ADS-B/FLARM) system missing or unhealthy bool remote_id_unhealthy # Remote ID (Open Drone ID) system missing or unhealthy -bool gnss_lost # Active GNSS count dropped below SYS_HAS_NUM_GNSS, or two receivers report inconsistent positions +bool gnss_lost # Fewer GNSS receivers are healthy than required, or two receivers report inconsistent positions ``` ::: diff --git a/docs/ko/msg_docs/FixedWingLateralGuidanceStatus.md b/docs/ko/msg_docs/FixedWingLateralGuidanceStatus.md index e6bcfa61bdd..acbd72dc925 100644 --- a/docs/ko/msg_docs/FixedWingLateralGuidanceStatus.md +++ b/docs/ko/msg_docs/FixedWingLateralGuidanceStatus.md @@ -4,7 +4,7 @@ pageClass: is-wide-page # FixedWingLateralGuidanceStatus (UORB message) -Fixed Wing Lateral Guidance Status message. Published by fw_pos_control module to report the resultant lateral setpoints and NPFG debug outputs. +Fixed Wing Lateral Guidance Status message. Published by fw_mode_manager module to report the resultant lateral setpoints and NPFG debug outputs. **TOPICS:** fixed_wing_lateral_guidance_status @@ -32,7 +32,7 @@ Click here to see original file ```c # Fixed Wing Lateral Guidance Status message -# Published by fw_pos_control module to report the resultant lateral setpoints and NPFG debug outputs +# Published by fw_mode_manager module to report the resultant lateral setpoints and NPFG debug outputs uint64 timestamp # time since system start (microseconds) diff --git a/docs/ko/msg_docs/GeofenceStatus.md b/docs/ko/msg_docs/GeofenceStatus.md index 912c14d69c7..b0670c41793 100644 --- a/docs/ko/msg_docs/GeofenceStatus.md +++ b/docs/ko/msg_docs/GeofenceStatus.md @@ -20,6 +20,7 @@ pageClass: is-wide-page | ------------------------------------------------------------------------------------------- | ------- | ----- | -- | | GF_STATUS_LOADING | `uint8` | 0 | | | GF_STATUS_READY | `uint8` | 1 | | +| GF_STATUS_FAILED | `uint8` | 2 | | ## Source Message @@ -36,6 +37,7 @@ uint8 status # Current geofence status uint8 GF_STATUS_LOADING = 0 uint8 GF_STATUS_READY = 1 +uint8 GF_STATUS_FAILED = 2 ``` ::: diff --git a/docs/ko/msg_docs/GimbalManagerSetPitchyaw.md b/docs/ko/msg_docs/GimbalManagerSetPitchyaw.md new file mode 100644 index 00000000000..2902aef025e --- /dev/null +++ b/docs/ko/msg_docs/GimbalManagerSetPitchyaw.md @@ -0,0 +1,70 @@ +--- +pageClass: is-wide-page +--- + +# GimbalManagerSetPitchyaw (UORB message) + +Gimbal manager pitch/yaw setpoint. + +This is sent by PX4 (acting as a gimbal manager client) to an +external gimbal manager). Streamed out as GIMBAL_MANAGER_SET_PITCHYAW. + +**TOPICS:** gimbal_manager_set_pitchyaw + +## Fields + +| 명칭 | 형식 | Unit [Frame] | Range/Enum | 설명 | +| ------------------------------------------------------------------------------------------- | --------- | ---------------------------------------------------------------- | --------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ | +| timestamp | `uint64` | us | | Time since system start | +| target_system | `uint8` | | | System id of the external gimbal manager | +| target_component | `uint8` | | | Component id of the external gimbal manager | +| gimbal_device_id | `uint8` | | | Gimbal device to address (0 for all) | +| flags | `uint32` | | [GIMBAL_MANAGER_FLAGS](#GIMBAL_MANAGER_FLAGS) | GIMBAL_MANAGER_FLAGS bitmask | +| pitch | `float32` | rad | | pitch angle (Invalid: NaN to ignore) | +| yaw | `float32` | rad | | yaw angle (Invalid: NaN to ignore) | +| pitch_rate | `float32` | rad/s | | Pitch angular rate (Invalid: NaN to ignore) | +| yaw_rate | `float32` | rad/s | | Yaw angular rate (Invalid: NaN to ignore) | + +## Enums + +### GIMBAL_MANAGER_FLAGS {#GIMBAL_MANAGER_FLAGS} + +Used in field(s): [flags](#fld_flags) + +| 명칭 | 형식 | Value | 설명 | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ----- | -- | +| GIMBAL_MANAGER_FLAGS_PITCH_LOCK | `uint32` | 8 | | +| GIMBAL_MANAGER_FLAGS_YAW_LOCK | `uint32` | 16 | | +| GIMBAL_MANAGER_FLAGS_YAW_IN_EARTH_FRAME | `uint32` | 64 | | + +## Source Message + +[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/GimbalManagerSetPitchyaw.msg) + +:::details +Click here to see original file + +```c +# Gimbal manager pitch/yaw setpoint +# +# This is sent by PX4 (acting as a gimbal manager client) to an +# external gimbal manager). Streamed out as GIMBAL_MANAGER_SET_PITCHYAW. + +uint64 timestamp # [us] Time since system start + +uint8 target_system # [-] System id of the external gimbal manager +uint8 target_component # [-] Component id of the external gimbal manager +uint8 gimbal_device_id # [-] Gimbal device to address (0 for all) + +uint32 flags # [@enum GIMBAL_MANAGER_FLAGS] GIMBAL_MANAGER_FLAGS bitmask +uint32 GIMBAL_MANAGER_FLAGS_PITCH_LOCK = 8 +uint32 GIMBAL_MANAGER_FLAGS_YAW_LOCK = 16 +uint32 GIMBAL_MANAGER_FLAGS_YAW_IN_EARTH_FRAME = 64 + +float32 pitch # [rad] [@invalid NaN to ignore] pitch angle +float32 yaw # [rad] [@invalid NaN to ignore] yaw angle +float32 pitch_rate # [rad/s] [@invalid NaN to ignore] Pitch angular rate +float32 yaw_rate # [rad/s] [@invalid NaN to ignore] Yaw angular rate +``` + +::: diff --git a/docs/ko/msg_docs/InternalCombustionEngineControl.md b/docs/ko/msg_docs/InternalCombustionEngineControl.md index f99d9e3c8df..aef09d694e7 100644 --- a/docs/ko/msg_docs/InternalCombustionEngineControl.md +++ b/docs/ko/msg_docs/InternalCombustionEngineControl.md @@ -4,18 +4,26 @@ pageClass: is-wide-page # InternalCombustionEngineControl (UORB message) +Internal combustion engine (ICE) actuator setpoints. + +Published by the `internal_combustion_engine_control` module, which runs the engine +start/stop state machine and the idle RPM governor. +The mixer maps these setpoints onto the IC Engine output functions (ignition, +throttle, choke, starter), which are assigned to the flight controller outputs. +The resulting state machine state is reported in `InternalCombustionEngineStatus`. + **TOPICS:** internal_combustion_engine_control ## Fields -| 명칭 | 형식 | Unit [Frame] | Range/Enum | 설명 | -| ------------------------------------------------------------------------------------------------------- | --------- | ---------------------------------------------------------------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| timestamp | `uint64` | | | time since system start (microseconds) | -| ignition_on | `bool` | | | activate/deactivate ignition (spark plug) | -| throttle_control | `float32` | | | setpoint for throttle actuator, with slew rate if enabled, idles with 0 [norm] [@range 0,1] [@uncontrolled NAN to stop motor] | -| choke_control | `float32` | | | setpoint for choke actuator, 1: fully closed [norm] [@range 0,1] | -| starter_engine_control | `float32` | | | setpoint for (electric) starter motor [norm] [@range 0,1] | -| user_request | `uint8` | | | user intent for the ICE being on/off | +| 명칭 | 형식 | Unit [Frame] | Range/Enum | 설명 | +| -------------------------------------------------------------------------------------------------------------------------- | --------- | ---------------------------------------------------------------- | --------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| timestamp | `uint64` | us | | Time since system start | +| ignition_on | `bool` | | | Activate/deactivate the ignition (spark plug) | +| throttle_control | `float32` | norm | [0 : 1] | Throttle actuator setpoint, rate limited by `ICE_THR_SLEW`. 0 is closed throttle (Invalid: NaN Stops the engine: output goes to its disarmed value) | +| choke_control | `float32` | norm | [0 : 1] | Choke actuator setpoint, 1 is fully closed | +| starter_engine_control | `float32` | norm | [0 : 1] | (Electric) starter motor setpoint | +| user_request_motor_on | `bool` | | | User intent for the engine to be running, from the source selected by `ICE_ON_SOURCE` | ## Source Message @@ -25,14 +33,22 @@ pageClass: is-wide-page Click here to see original file ```c -uint64 timestamp # time since system start (microseconds) +# Internal combustion engine (ICE) actuator setpoints +# +# Published by the `internal_combustion_engine_control` module, which runs the engine +# start/stop state machine and the idle RPM governor. +# The mixer maps these setpoints onto the IC Engine output functions (ignition, +# throttle, choke, starter), which are assigned to the flight controller outputs. +# The resulting state machine state is reported in `InternalCombustionEngineStatus`. -bool ignition_on # activate/deactivate ignition (spark plug) -float32 throttle_control # setpoint for throttle actuator, with slew rate if enabled, idles with 0 [norm] [@range 0,1] [@uncontrolled NAN to stop motor] -float32 choke_control # setpoint for choke actuator, 1: fully closed [norm] [@range 0,1] -float32 starter_engine_control # setpoint for (electric) starter motor [norm] [@range 0,1] +uint64 timestamp # [us] Time since system start -uint8 user_request # user intent for the ICE being on/off +bool ignition_on # Activate/deactivate the ignition (spark plug) +float32 throttle_control # [norm] [@range 0, 1] [@invalid NaN Stops the engine: output goes to its disarmed value] Throttle actuator setpoint, rate limited by `ICE_THR_SLEW`. 0 is closed throttle +float32 choke_control # [norm] [@range 0, 1] Choke actuator setpoint, 1 is fully closed +float32 starter_engine_control # [norm] [@range 0, 1] (Electric) starter motor setpoint + +bool user_request_motor_on # User intent for the engine to be running, from the source selected by `ICE_ON_SOURCE` ``` ::: diff --git a/docs/ko/msg_docs/LongitudinalControlConfiguration.md b/docs/ko/msg_docs/LongitudinalControlConfiguration.md index 4002fc82315..89ff0610475 100644 --- a/docs/ko/msg_docs/LongitudinalControlConfiguration.md +++ b/docs/ko/msg_docs/LongitudinalControlConfiguration.md @@ -13,18 +13,18 @@ and configure the resultant setpoints. ## Fields -| 명칭 | 형식 | Unit [Frame] | Range/Enum | 설명 | -| ---------------------------------------------------------------------------------------------------------------------------------------- | --------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| timestamp | `uint64` | us | | Time since system start | -| pitch_min | `float32` | rad | [-pi : pi] | Defaults to FW_P_LIM_MIN if NAN. | -| pitch_max | `float32` | rad | [-pi : pi] | Defaults to FW_P_LIM_MAX if NAN. | -| throttle_min | `float32` | norm | [0 : 1] | Defaults to FW_THR_MIN if NAN. | -| throttle_max | `float32` | norm | [0 : 1] | Defaults to FW_THR_MAX if NAN. | -| climb_rate_target | `float32` | m/s | | Target climbrate to change altitude. Defaults to FW_T_CLIMB_MAX if NAN. Not used if height_rate is directly set in FixedWingLongitudinalSetpoint. | -| sink_rate_target | `float32` | m/s | | Target sinkrate to change altitude. Defaults to FW_T_SINK_MAX if NAN. Not used if height_rate is directly set in FixedWingLongitudinalSetpoint. | -| speed_weight | `float32` | | [0 : 2] | 0=pitch controls altitude only, 2=pitch controls airspeed only | -| enforce_low_height_condition | `bool` | | | If true, the altitude controller is configured with an alternative timeconstant for tighter altitude tracking | -| disable_underspeed_protection | `bool` | | | If true, underspeed handling is disabled in the altitude controller | +| 명칭 | 형식 | Unit [Frame] | Range/Enum | 설명 | +| ---------------------------------------------------------------------------------------------------------------------------------------- | --------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| timestamp | `uint64` | us | | Time since system start | +| pitch_min | `float32` | rad | [-pi : pi] | Defaults to FW_P_LIM_MIN if NAN. | +| pitch_max | `float32` | rad | [-pi : pi] | Defaults to FW_P_LIM_MAX if NAN. | +| throttle_min | `float32` | norm | [0 : 1] | Defaults to FW_THR_MIN if NAN. | +| throttle_max | `float32` | norm | [0 : 1] | Defaults to FW_THR_MAX if NAN. | +| climb_rate_target | `float32` | m/s | | Target climbrate to change altitude. Defaults to FW_T_CLMB_R_SP if NAN. Not used if height_rate is directly set in FixedWingLongitudinalSetpoint. | +| sink_rate_target | `float32` | m/s | | Target sinkrate to change altitude. Defaults to FW_T_SINK_R_SP if NAN. Not used if height_rate is directly set in FixedWingLongitudinalSetpoint. | +| speed_weight | `float32` | | [0 : 2] | 0=pitch controls altitude only, 2=pitch controls airspeed only | +| enforce_low_height_condition | `bool` | | | If true, the altitude controller is configured with an alternative timeconstant for tighter altitude tracking | +| disable_underspeed_protection | `bool` | | | If true, underspeed handling is disabled in the altitude controller | ## Constants @@ -53,8 +53,8 @@ float32 pitch_min # [rad] [@range -pi, pi] Defaults to FW_P_LIM_MIN if NAN. float32 pitch_max # [rad] [@range -pi, pi] Defaults to FW_P_LIM_MAX if NAN. float32 throttle_min # [norm] [@range 0,1] Defaults to FW_THR_MIN if NAN. float32 throttle_max # [norm] [@range 0,1] Defaults to FW_THR_MAX if NAN. -float32 climb_rate_target # [m/s] Target climbrate to change altitude. Defaults to FW_T_CLIMB_MAX if NAN. Not used if height_rate is directly set in FixedWingLongitudinalSetpoint. -float32 sink_rate_target # [m/s] Target sinkrate to change altitude. Defaults to FW_T_SINK_MAX if NAN. Not used if height_rate is directly set in FixedWingLongitudinalSetpoint. +float32 climb_rate_target # [m/s] Target climbrate to change altitude. Defaults to FW_T_CLMB_R_SP if NAN. Not used if height_rate is directly set in FixedWingLongitudinalSetpoint. +float32 sink_rate_target # [m/s] Target sinkrate to change altitude. Defaults to FW_T_SINK_R_SP if NAN. Not used if height_rate is directly set in FixedWingLongitudinalSetpoint. float32 speed_weight # [-] [@range 0,2] 0=pitch controls altitude only, 2=pitch controls airspeed only bool enforce_low_height_condition # If true, the altitude controller is configured with an alternative timeconstant for tighter altitude tracking bool disable_underspeed_protection # If true, underspeed handling is disabled in the altitude controller diff --git a/docs/ko/msg_docs/ManualControlSwitches.md b/docs/ko/msg_docs/ManualControlSwitches.md index 9dbcb575f84..784e4720a7f 100644 --- a/docs/ko/msg_docs/ManualControlSwitches.md +++ b/docs/ko/msg_docs/ManualControlSwitches.md @@ -14,7 +14,7 @@ pageClass: is-wide-page | timestamp_sample | `uint64` | | | the timestamp of the raw data (microseconds) | | mode_slot | `uint8` | | | the slot a specific model selector is in | | arm_switch | `uint8` | | | arm/disarm switch: _DISARMED_, ARMED | -| return_switch | `uint8` | | | return to launch 2 position switch (mandatory): _NORMAL_, RTL | +| return_switch | `uint8` | | | Return mode 2 position switch (mandatory): _NORMAL_, RETURN | | loiter_switch | `uint8` | | | loiter 2 position switch (optional): _MISSION_, LOITER | | offboard_switch | `uint8` | | | offboard 2 position switch (optional): _NORMAL_, OFFBOARD | | kill_switch | `uint8` | | | throttle kill: _NORMAL_, KILL | @@ -73,7 +73,7 @@ uint8 MODE_SLOT_NUM = 6 # number of slots uint8 mode_slot # the slot a specific model selector is in uint8 arm_switch # arm/disarm switch: _DISARMED_, ARMED -uint8 return_switch # return to launch 2 position switch (mandatory): _NORMAL_, RTL +uint8 return_switch # Return mode 2 position switch (mandatory): _NORMAL_, RETURN uint8 loiter_switch # loiter 2 position switch (optional): _MISSION_, LOITER uint8 offboard_switch # offboard 2 position switch (optional): _NORMAL_, OFFBOARD uint8 kill_switch # throttle kill: _NORMAL_, KILL diff --git a/docs/ko/msg_docs/PpsCapture.md b/docs/ko/msg_docs/PpsCapture.md index 3b8d30caef8..0171ed115bb 100644 --- a/docs/ko/msg_docs/PpsCapture.md +++ b/docs/ko/msg_docs/PpsCapture.md @@ -12,7 +12,7 @@ pageClass: is-wide-page | ---------------------------------------------------------------- | -------- | ---------------------------------------------------------------- | ---------- | ------------------------------------------------------------------------------ | | timestamp | `uint64` | | | time since system start (microseconds) at PPS capture event | | rtc_timestamp | `uint64` | | | Corrected GPS UTC timestamp at PPS capture event | -| | `uint8` | | | Increments when PPS dt < 50ms | +| | `uint8` | | | Count of PPS pulses that arrived too soon after the previous one | ## Source Message @@ -24,7 +24,7 @@ Click here to see original file ```c uint64 timestamp # time since system start (microseconds) at PPS capture event uint64 rtc_timestamp # Corrected GPS UTC timestamp at PPS capture event -uint8 pps_rate_exceeded_counter # Increments when PPS dt < 50ms +uint8 pps_rate_exceeded_counter # Count of PPS pulses that arrived too soon after the previous one ``` ::: diff --git a/docs/ko/msg_docs/RtcmData.md b/docs/ko/msg_docs/RtcmData.md index bedf3206c39..3e8a19c9e28 100644 --- a/docs/ko/msg_docs/RtcmData.md +++ b/docs/ko/msg_docs/RtcmData.md @@ -10,8 +10,7 @@ Published under two topic names that share this definition (see TOPICS below): rtcm_corrections - external fixed-base corrections fed into the vehicle (MAVLink GPS_RTCM_DATA, UAVCAN RTCMStream, GPS drivers in dump mode). Multiple -sources are allowed, one uORB instance each; consumers select an instance -via their stale-link logic. +sources are allowed, one uORB instance each; consumers select one instance. rtcm_moving_baseline - moving-base GPS output (RTCM 4072 or equivalent) intended for a rover. Single publisher per vehicle (on-board moving base, or a CANnode @@ -50,8 +49,7 @@ Click here to see original file # # rtcm_corrections - external fixed-base corrections fed into the vehicle (MAVLink # GPS_RTCM_DATA, UAVCAN RTCMStream, GPS drivers in dump mode). Multiple -# sources are allowed, one uORB instance each; consumers select an instance -# via their stale-link logic. +# sources are allowed, one uORB instance each; consumers select one instance. # # rtcm_moving_baseline - moving-base GPS output (RTCM 4072 or equivalent) intended for a rover. # Single publisher per vehicle (on-board moving base, or a CANnode diff --git a/docs/ko/msg_docs/RtlStatus.md b/docs/ko/msg_docs/RtlStatus.md index a126c20ef64..a1487ede86d 100644 --- a/docs/ko/msg_docs/RtlStatus.md +++ b/docs/ko/msg_docs/RtlStatus.md @@ -8,14 +8,14 @@ pageClass: is-wide-page ## Fields -| 명칭 | 형식 | Unit [Frame] | Range/Enum | 설명 | -| ----------------------------------------------------------------------------------------------------- | -------- | ---------------------------------------------------------------- | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| timestamp | `uint64` | | | time since system start (microseconds) | -| safe_points_id | `uint32` | | | unique ID of active set of safe_point_items | -| is_evaluation_pending | `bool` | | | flag if the RTL point needs reevaluation (e.g. new safe points available, but need loading). | -| has_vtol_approach | `bool` | | | flag if approaches are defined for current RTL_TYPE parameter setting | -| rtl_type | `uint8` | | | Type of RTL chosen | -| safe_point_index | `uint8` | | | index of the chosen safe point, UINT8_MAX if no rally point was chosen | +| 명칭 | 형식 | Unit [Frame] | Range/Enum | 설명 | +| ----------------------------------------------------------------------------------------------------- | -------- | ---------------------------------------------------------------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| timestamp | `uint64` | | | time since system start (microseconds) | +| safe_points_id | `uint32` | | | unique ID of active set of safe_point_items | +| is_evaluation_pending | `bool` | | | flag if the return point needs reevaluation (e.g. new safe points available, but need loading). | +| has_vtol_approach | `bool` | | | flag if approaches are defined for current RTL_TYPE parameter setting | +| rtl_type | `uint8` | | | Selected Return type | +| safe_point_index | `uint8` | | | index of the chosen safe point, UINT8_MAX if no rally point was chosen | ## Constants @@ -38,11 +38,11 @@ Click here to see original file uint64 timestamp # time since system start (microseconds) uint32 safe_points_id # unique ID of active set of safe_point_items -bool is_evaluation_pending # flag if the RTL point needs reevaluation (e.g. new safe points available, but need loading). +bool is_evaluation_pending # flag if the return point needs reevaluation (e.g. new safe points available, but need loading). bool has_vtol_approach # flag if approaches are defined for current RTL_TYPE parameter setting -uint8 rtl_type # Type of RTL chosen +uint8 rtl_type # Selected Return type uint8 safe_point_index # index of the chosen safe point, UINT8_MAX if no rally point was chosen uint8 RTL_STATUS_TYPE_NONE=0 # pending if evaluation can't pe performed currently e.g. when it is still loading the safe points diff --git a/docs/ko/msg_docs/RtlTimeEstimate.md b/docs/ko/msg_docs/RtlTimeEstimate.md index ccbdcc2740f..425d521c3a4 100644 --- a/docs/ko/msg_docs/RtlTimeEstimate.md +++ b/docs/ko/msg_docs/RtlTimeEstimate.md @@ -12,7 +12,7 @@ pageClass: is-wide-page | ----------------------------------------------------------------------------------------------- | --------- | ---------------------------------------------------------------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------- | | timestamp | `uint64` | | | time since system start (microseconds) | | valid | `bool` | | | Flag indicating whether the time estiamtes are valid | -| time_estimate | `float32` | s | | Estimated time for RTL | +| time_estimate | `float32` | s | | Estimated time for Return | | safe_time_estimate | `float32` | s | | Same as time_estimate, but with safety factor and safety margin included (factor\*t + margin) | ## Source Message @@ -26,7 +26,7 @@ Click here to see original file uint64 timestamp # time since system start (microseconds) bool valid # Flag indicating whether the time estiamtes are valid -float32 time_estimate # [s] Estimated time for RTL +float32 time_estimate # [s] Estimated time for Return float32 safe_time_estimate # [s] Same as time_estimate, but with safety factor and safety margin included (factor*t + margin) ``` diff --git a/docs/ko/msg_docs/SensorGnss.md b/docs/ko/msg_docs/SensorGnss.md new file mode 100644 index 00000000000..1b9c1e74080 --- /dev/null +++ b/docs/ko/msg_docs/SensorGnss.md @@ -0,0 +1,247 @@ +--- +pageClass: is-wide-page +--- + +# SensorGnss (UORB message) + +GNSS receiver report, position in WGS84. + +One instance per receiver, published by its driver: the receiver's own solution, unmodified. +The sensors module publishes the selected receiver on vehicle_gnss. + +**TOPICS:** sensor_gnss + +## Fields + +| 명칭 | 형식 | Unit [Frame] | Range/Enum | 설명 | +| --------------------------------------------------------------------------------------------------------- | --------- | ---------------------------------------------------------------- | --------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | +| timestamp | `uint64` | us | | Time since system start | +| timestamp_sample | `uint64` | us | | Measurement time if the driver knows it, else 0 or equal to timestamp. vehicle_gnss carries the corrected value | +| device_id | `uint32` | | | Unique device ID for the sensor that does not change between power cycles | +| latitude | `float64` | deg | | Latitude, allows centimeter level RTK precision | +| longitude | `float64` | deg | | Longitude, allows centimeter level RTK precision | +| altitude_msl | `float64` | m | | Altitude above MSL, from the receiver's own geoid model | +| altitude_ellipsoid | `float64` | m | | Altitude above the WGS84 ellipsoid | +| speed_accuracy | `float32` | m/s | | Speed accuracy estimate | +| course_accuracy | `float32` | rad | | Course accuracy estimate | +| fix_type | `uint8` | | [FIX_TYPE](#FIX_TYPE) | Value 0 is also valid to represent no fix | +| eph | `float32` | m | | Horizontal position accuracy | +| epv | `float32` | m | | Vertical position accuracy | +| hdop | `float32` | | | Horizontal dilution of precision | +| vdop | `float32` | | | Vertical dilution of precision | +| noise | `int32` | | | Noise level per millisecond | +| automatic_gain_control | `uint16` | | | Automatic gain control monitor | +| jamming_state | `uint8` | | [JAMMING_STATE](#JAMMING_STATE) | | +| jamming_indicator | `int32` | | | Jamming indicator | +| spoofing_state | `uint8` | | [SPOOFING_STATE](#SPOOFING_STATE) | | +| authentication_state | `uint8` | | [AUTHENTICATION_STATE](#AUTHENTICATION_STATE) | Combined signal authentication state (e.g. Galileo OSNMA) | +| ground_speed | `float32` | m/s | | Ground speed | +| vel_north | `float32` | m/s | | North velocity | +| vel_east | `float32` | m/s | | East velocity | +| vel_down | `float32` | m/s | | Down velocity | +| course | `float32` | rad | [-PI : PI] | Course over ground, not heading | +| vel_ned_valid | `bool` | | | NED velocity is valid | +| timestamp_time_relative | `int32` | us | | timestamp + timestamp_time_relative = time of the UTC timestamp since system start | +| time_utc_usec | `uint64` | us | | UTC time from the receiver, 0 until known | +| satellites_used | `uint8` | | | Satellites used in the solution | +| system_error | `uint32` | | [SYSTEM_ERROR](#SYSTEM_ERROR) | Bitmask of receiver errors | +| rtcm_injection_rate | `float32` | Hz | | Correction injection rate | +| selected_rtcm_instance | `uint8` | | | uORB instance used for corrections | +| corrections_protocol | `uint8` | | [CORRECTIONS_PROTOCOL](#CORRECTIONS_PROTOCOL) | Protocol of the last correction message the receiver parsed | +| corrections_crc_failed | `bool` | | | Last correction message failed its CRC or content check | +| corrections_msg_used | `uint8` | | [CORRECTIONS_MSG_USED](#CORRECTIONS_MSG_USED) | Whether the receiver used the last correction message | + +## Enums + +### FIX_TYPE {#FIX_TYPE} + +Used in field(s): [fix_type](#fld_fix_type) + +| 명칭 | 형식 | Value | 설명 | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- | ----- | -- | +| FIX_TYPE_NONE | `uint8` | 1 | | +| FIX_TYPE_2D | `uint8` | 2 | | +| FIX_TYPE_3D | `uint8` | 3 | | +| FIX_TYPE_RTCM_CODE_DIFFERENTIAL | `uint8` | 4 | | +| FIX_TYPE_RTK_FLOAT | `uint8` | 5 | | +| FIX_TYPE_RTK_FIXED | `uint8` | 6 | | +| FIX_TYPE_EXTRAPOLATED | `uint8` | 8 | | + +### JAMMING_STATE {#JAMMING_STATE} + +Used in field(s): [jamming_state](#fld_jamming_state) + +| 명칭 | 형식 | Value | 설명 | +| ------------------------------------------------------------------------------------------------------- | ------- | ----- | -- | +| JAMMING_STATE_UNKNOWN | `uint8` | 0 | | +| JAMMING_STATE_OK | `uint8` | 1 | | +| JAMMING_STATE_MITIGATED | `uint8` | 2 | | +| JAMMING_STATE_DETECTED | `uint8` | 3 | | + +### SPOOFING_STATE {#SPOOFING_STATE} + +Used in field(s): [spoofing_state](#fld_spoofing_state) + +| 명칭 | 형식 | Value | 설명 | +| --------------------------------------------------------------------------------------------------------- | ------- | ----- | -- | +| SPOOFING_STATE_UNKNOWN | `uint8` | 0 | | +| SPOOFING_STATE_OK | `uint8` | 1 | | +| SPOOFING_STATE_MITIGATED | `uint8` | 2 | | +| SPOOFING_STATE_DETECTED | `uint8` | 3 | | + +### AUTHENTICATION_STATE {#AUTHENTICATION_STATE} + +Used in field(s): [authentication_state](#fld_authentication_state) + +| 명칭 | 형식 | Value | 설명 | +| --------------------------------------------------------------------------------------------------------------------------- | ------- | ----- | -- | +| AUTHENTICATION_STATE_UNKNOWN | `uint8` | 0 | | +| AUTHENTICATION_STATE_INITIALIZING | `uint8` | 1 | | +| AUTHENTICATION_STATE_ERROR | `uint8` | 2 | | +| AUTHENTICATION_STATE_OK | `uint8` | 3 | | +| AUTHENTICATION_STATE_DISABLED | `uint8` | 4 | | + +### SYSTEM_ERROR {#SYSTEM_ERROR} + +Used in field(s): [system_error](#fld_system_error) + +| 명칭 | 형식 | Value | 설명 | +| ------------------------------------------------------------------------------------------------------------------------------------------------ | -------- | ----- | -- | +| SYSTEM_ERROR_OK | `uint32` | 0 | | +| SYSTEM_ERROR_INCOMING_CORRECTIONS | `uint32` | 1 | | +| SYSTEM_ERROR_CONFIGURATION | `uint32` | 2 | | +| SYSTEM_ERROR_SOFTWARE | `uint32` | 4 | | +| SYSTEM_ERROR_ANTENNA | `uint32` | 8 | | +| SYSTEM_ERROR_EVENT_CONGESTION | `uint32` | 16 | | +| SYSTEM_ERROR_CPU_OVERLOAD | `uint32` | 32 | | +| SYSTEM_ERROR_OUTPUT_CONGESTION | `uint32` | 64 | | + +### CORRECTIONS_PROTOCOL {#CORRECTIONS_PROTOCOL} + +Used in field(s): [corrections_protocol](#fld_corrections_protocol) + +| 명칭 | 형식 | Value | 설명 | +| -------------------------------------------------------------------------------------------------------------------------------------- | ------- | ----- | ------------------------------------------------------ | +| CORRECTIONS_PROTOCOL_UNKNOWN | `uint8` | 0 | | +| CORRECTIONS_PROTOCOL_RTCM3 | `uint8` | 1 | | +| CORRECTIONS_PROTOCOL_SPARTN | `uint8` | 2 | | +| CORRECTIONS_PROTOCOL_HAS | `uint8` | 3 | Galileo High Accuracy Service, received on E6 | +| CORRECTIONS_PROTOCOL_PMP | `uint8` | 4 | SPARTN over L-band (u-blox NEO-D9S) | +| CORRECTIONS_PROTOCOL_QZSS_L6 | `uint8` | 5 | QZSS CLAS | + +### CORRECTIONS_MSG_USED {#CORRECTIONS_MSG_USED} + +Used in field(s): [corrections_msg_used](#fld_corrections_msg_used) + +| 명칭 | 형식 | Value | 설명 | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- | ----- | -- | +| CORRECTIONS_MSG_USED_UNKNOWN | `uint8` | 0 | | +| CORRECTIONS_MSG_USED_NOT_USED | `uint8` | 1 | | +| CORRECTIONS_MSG_USED_USED | `uint8` | 2 | | + +## Source Message + +[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/SensorGnss.msg) + +:::details +Click here to see original file + +```c +# GNSS receiver report, position in WGS84 +# +# One instance per receiver, published by its driver: the receiver's own solution, unmodified. +# The sensors module publishes the selected receiver on vehicle_gnss. + +uint64 timestamp # [us] Time since system start +uint64 timestamp_sample # [us] Measurement time if the driver knows it, else 0 or equal to timestamp. vehicle_gnss carries the corrected value + +uint32 device_id # [-] Unique device ID for the sensor that does not change between power cycles + +float64 latitude # [deg] Latitude, allows centimeter level RTK precision +float64 longitude # [deg] Longitude, allows centimeter level RTK precision +float64 altitude_msl # [m] Altitude above MSL, from the receiver's own geoid model +float64 altitude_ellipsoid # [m] Altitude above the WGS84 ellipsoid + +float32 speed_accuracy # [m/s] Speed accuracy estimate +float32 course_accuracy # [rad] Course accuracy estimate + +uint8 fix_type # [@enum FIX_TYPE] Value 0 is also valid to represent no fix +uint8 FIX_TYPE_NONE = 1 +uint8 FIX_TYPE_2D = 2 +uint8 FIX_TYPE_3D = 3 +uint8 FIX_TYPE_RTCM_CODE_DIFFERENTIAL = 4 +uint8 FIX_TYPE_RTK_FLOAT = 5 +uint8 FIX_TYPE_RTK_FIXED = 6 +uint8 FIX_TYPE_EXTRAPOLATED = 8 + +float32 eph # [m] Horizontal position accuracy +float32 epv # [m] Vertical position accuracy +float32 hdop # [-] Horizontal dilution of precision +float32 vdop # [-] Vertical dilution of precision + +int32 noise # [-] Noise level per millisecond +uint16 automatic_gain_control # [-] Automatic gain control monitor + +uint8 jamming_state # [@enum JAMMING_STATE] +uint8 JAMMING_STATE_UNKNOWN = 0 +uint8 JAMMING_STATE_OK = 1 +uint8 JAMMING_STATE_MITIGATED = 2 +uint8 JAMMING_STATE_DETECTED = 3 +int32 jamming_indicator # [-] Jamming indicator + +uint8 spoofing_state # [@enum SPOOFING_STATE] +uint8 SPOOFING_STATE_UNKNOWN = 0 +uint8 SPOOFING_STATE_OK = 1 +uint8 SPOOFING_STATE_MITIGATED = 2 +uint8 SPOOFING_STATE_DETECTED = 3 + +uint8 authentication_state # [@enum AUTHENTICATION_STATE] Combined signal authentication state (e.g. Galileo OSNMA) +uint8 AUTHENTICATION_STATE_UNKNOWN = 0 +uint8 AUTHENTICATION_STATE_INITIALIZING = 1 +uint8 AUTHENTICATION_STATE_ERROR = 2 +uint8 AUTHENTICATION_STATE_OK = 3 +uint8 AUTHENTICATION_STATE_DISABLED = 4 + +float32 ground_speed # [m/s] Ground speed +float32 vel_north # [m/s] North velocity +float32 vel_east # [m/s] East velocity +float32 vel_down # [m/s] Down velocity +float32 course # [rad] [@range -PI, PI] Course over ground, not heading +bool vel_ned_valid # NED velocity is valid + +int32 timestamp_time_relative # [us] timestamp + timestamp_time_relative = time of the UTC timestamp since system start +uint64 time_utc_usec # [us] UTC time from the receiver, 0 until known + +uint8 satellites_used # [-] Satellites used in the solution + +uint32 system_error # [@enum SYSTEM_ERROR] Bitmask of receiver errors +uint32 SYSTEM_ERROR_OK = 0 +uint32 SYSTEM_ERROR_INCOMING_CORRECTIONS = 1 +uint32 SYSTEM_ERROR_CONFIGURATION = 2 +uint32 SYSTEM_ERROR_SOFTWARE = 4 +uint32 SYSTEM_ERROR_ANTENNA = 8 +uint32 SYSTEM_ERROR_EVENT_CONGESTION = 16 +uint32 SYSTEM_ERROR_CPU_OVERLOAD = 32 +uint32 SYSTEM_ERROR_OUTPUT_CONGESTION = 64 + +float32 rtcm_injection_rate # [Hz] Correction injection rate +uint8 selected_rtcm_instance # [-] uORB instance used for corrections + +uint8 corrections_protocol # [@enum CORRECTIONS_PROTOCOL] Protocol of the last correction message the receiver parsed +uint8 CORRECTIONS_PROTOCOL_UNKNOWN = 0 +uint8 CORRECTIONS_PROTOCOL_RTCM3 = 1 +uint8 CORRECTIONS_PROTOCOL_SPARTN = 2 +uint8 CORRECTIONS_PROTOCOL_HAS = 3 # Galileo High Accuracy Service, received on E6 +uint8 CORRECTIONS_PROTOCOL_PMP = 4 # SPARTN over L-band (u-blox NEO-D9S) +uint8 CORRECTIONS_PROTOCOL_QZSS_L6 = 5 # QZSS CLAS +bool corrections_crc_failed # Last correction message failed its CRC or content check + +uint8 corrections_msg_used # [@enum CORRECTIONS_MSG_USED] Whether the receiver used the last correction message +uint8 CORRECTIONS_MSG_USED_UNKNOWN = 0 +uint8 CORRECTIONS_MSG_USED_NOT_USED = 1 +uint8 CORRECTIONS_MSG_USED_USED = 2 + +# TOPICS sensor_gnss +``` + +::: diff --git a/docs/ko/msg_docs/SensorGnssSpectrum.md b/docs/ko/msg_docs/SensorGnssSpectrum.md index 08e1f5b3edb..4864daf9fb5 100644 --- a/docs/ko/msg_docs/SensorGnssSpectrum.md +++ b/docs/ko/msg_docs/SensorGnssSpectrum.md @@ -6,8 +6,7 @@ pageClass: is-wide-page GNSS spectrum analysis. -Reports a basic RF spectrum analysis for a GNSS receiver, decoded from the u-blox UBX-MON-SPAN -message (enabled via the GPS_UBX_SPECTRUM parameter). +Reports a basic RF spectrum analysis for a GNSS receiver, decoded from the u-blox UBX-MON-SPAN message. Published by the `gps` driver (UBX protocol only), once per RF block, via the block-specific topics below. The center frequency of bin i is: f(i) = center_frequency + spectrum_span \* (i - 127) / 256 @@ -37,8 +36,7 @@ Click here to see original file ```c # GNSS spectrum analysis # -# Reports a basic RF spectrum analysis for a GNSS receiver, decoded from the u-blox UBX-MON-SPAN -# message (enabled via the GPS_UBX_SPECTRUM parameter). +# Reports a basic RF spectrum analysis for a GNSS receiver, decoded from the u-blox UBX-MON-SPAN message. # Published by the `gps` driver (UBX protocol only), once per RF block, via the block-specific topics below. # The center frequency of bin i is: f(i) = center_frequency + spectrum_span * (i - 127) / 256 diff --git a/docs/ko/msg_docs/SensorGps.md b/docs/ko/msg_docs/SensorGps.md index 5d5fcacb4c1..e39c6259858 100644 --- a/docs/ko/msg_docs/SensorGps.md +++ b/docs/ko/msg_docs/SensorGps.md @@ -10,49 +10,46 @@ GPS position in WGS84 coordinates. the field 'timestamp' is for the position & v ## Fields -| 명칭 | 형식 | Unit [Frame] | Range/Enum | 설명 | -| ------------------------------------------------------------------------------------------------------------ | --------- | ---------------------------------------------------------------------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| timestamp | `uint64` | | | time since system start (microseconds) | -| timestamp_sample | `uint64` | | | | -| device_id | `uint32` | | | unique device ID for the sensor that does not change between power cycles | -| latitude_deg | `float64` | | | Latitude in degrees, allows centimeter level RTK precision | -| longitude_deg | `float64` | | | Longitude in degrees, allows centimeter level RTK precision | -| altitude_msl_m | `float64` | | | Altitude above MSL, meters | -| altitude_ellipsoid_m | `float64` | | | Altitude above Ellipsoid, meters | -| s_variance_m_s | `float32` | | | GPS speed accuracy estimate, (metres/sec) | -| c_variance_rad | `float32` | | | GPS course accuracy estimate, (radians) | -| fix_type | `uint8` | | | Some applications will not use the value of this field unless it is at least two, so always correctly fill in the fix. | -| eph | `float32` | | | GPS horizontal position accuracy (metres) | -| epv | `float32` | | | GPS vertical position accuracy (metres) | -| hdop | `float32` | | | Horizontal dilution of precision | -| vdop | `float32` | | | Vertical dilution of precision | -| noise_per_ms | `int32` | | | GPS noise per millisecond | -| automatic_gain_control | `uint16` | | | Automatic gain control monitor | -| jamming_state | `uint8` | | | indicates whether jamming has been detected or suspected by the receivers. O: Unknown, 1: OK, 2: Mitigated, 3: Detected | -| jamming_indicator | `int32` | | | indicates jamming is occurring | -| spoofing_state | `uint8` | | | indicates whether spoofing has been detected or suspected by the receivers. O: Unknown, 1: OK, 2: Mitigated, 3: Detected | -| authentication_state | `uint8` | | | GPS signal authentication state | -| vel_m_s | `float32` | | | GPS ground speed, (metres/sec) | -| vel_n_m_s | `float32` | | | GPS North velocity, (metres/sec) | -| vel_e_m_s | `float32` | | | GPS East velocity, (metres/sec) | -| vel_d_m_s | `float32` | | | GPS Down velocity, (metres/sec) | -| cog_rad | `float32` | | | Course over ground (NOT heading, but direction of movement), -PI..PI, (radians) | -| vel_ned_valid | `bool` | | | True if NED velocity is valid | -| timestamp_time_relative | `int32` | | | timestamp + timestamp_time_relative = Time of the UTC timestamp since system start, (microseconds) | -| time_utc_usec | `uint64` | | | Timestamp (microseconds, UTC), this is the timestamp which comes from the gps module. It might be unavailable right after cold start, indicated by a value of 0 | -| satellites_used | `uint8` | | | Number of satellites used | -| system_error | `uint32` | | | General errors with the connected GPS receiver | -| heading | `float32` | | | heading angle of XYZ body frame rel to NED. Set to NaN if not available and updated (used for dual antenna GPS), (rad, [-PI, PI]) | -| heading_offset | `float32` | | | heading offset of dual antenna array in body frame. Set to NaN if not applicable. (rad, [-PI, PI]) | -| heading_accuracy | `float32` | | | heading accuracy (rad, [0, 2PI]) | -| rtcm_injection_rate | `float32` | | | RTCM message injection rate Hz | -| selected_rtcm_instance | `uint8` | | | uorb instance that is being used for RTCM corrections | -| corrections_protocol | `uint8` | | | Protocol of the last correction message the receiver parsed | -| corrections_crc_failed | `bool` | | | Last correction message failed its CRC or content check | -| corrections_msg_used | `uint8` | | | Whether the receiver used the last correction message | -| antenna_offset_x | `float32` | m [body frame FRD] | | X Position of GNSS antenna | -| antenna_offset_y | `float32` | m [body frame FRD] | | Y Position of GNSS antenna | -| antenna_offset_z | `float32` | m [body frame FRD] | | Z Position of GNSS antenna | +| 명칭 | 형식 | Unit [Frame] | Range/Enum | 설명 | +| ------------------------------------------------------------------------------------------------------------ | --------- | ---------------------------------------------------------------------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| timestamp | `uint64` | | | time since system start (microseconds) | +| timestamp_sample | `uint64` | | | | +| device_id | `uint32` | | | unique device ID for the sensor that does not change between power cycles | +| latitude_deg | `float64` | | | Latitude in degrees, allows centimeter level RTK precision | +| longitude_deg | `float64` | | | Longitude in degrees, allows centimeter level RTK precision | +| altitude_msl_m | `float64` | | | Altitude above MSL, meters | +| altitude_ellipsoid_m | `float64` | | | Altitude above Ellipsoid, meters | +| s_variance_m_s | `float32` | | | GPS speed accuracy estimate, (metres/sec) | +| c_variance_rad | `float32` | | | GPS course accuracy estimate, (radians) | +| fix_type | `uint8` | | | Some applications will not use the value of this field unless it is at least two, so always correctly fill in the fix. | +| eph | `float32` | | | GPS horizontal position accuracy (metres) | +| epv | `float32` | | | GPS vertical position accuracy (metres) | +| hdop | `float32` | | | Horizontal dilution of precision | +| vdop | `float32` | | | Vertical dilution of precision | +| noise_per_ms | `int32` | | | GPS noise per millisecond | +| automatic_gain_control | `uint16` | | | Automatic gain control monitor | +| jamming_state | `uint8` | | | indicates whether jamming has been detected or suspected by the receivers. O: Unknown, 1: OK, 2: Mitigated, 3: Detected | +| jamming_indicator | `int32` | | | indicates jamming is occurring | +| spoofing_state | `uint8` | | | indicates whether spoofing has been detected or suspected by the receivers. O: Unknown, 1: OK, 2: Mitigated, 3: Detected | +| authentication_state | `uint8` | | | GPS signal authentication state | +| vel_m_s | `float32` | | | GPS ground speed, (metres/sec) | +| vel_n_m_s | `float32` | | | GPS North velocity, (metres/sec) | +| vel_e_m_s | `float32` | | | GPS East velocity, (metres/sec) | +| vel_d_m_s | `float32` | | | GPS Down velocity, (metres/sec) | +| cog_rad | `float32` | | | Course over ground (NOT heading, but direction of movement), -PI..PI, (radians) | +| vel_ned_valid | `bool` | | | True if NED velocity is valid | +| timestamp_time_relative | `int32` | | | timestamp + timestamp_time_relative = Time of the UTC timestamp since system start, (microseconds) | +| time_utc_usec | `uint64` | | | Timestamp (microseconds, UTC), this is the timestamp which comes from the gps module. It might be unavailable right after cold start, indicated by a value of 0 | +| satellites_used | `uint8` | | | Number of satellites used | +| system_error | `uint32` | | | General errors with the connected GPS receiver | +| rtcm_injection_rate | `float32` | | | RTCM message injection rate Hz | +| selected_rtcm_instance | `uint8` | | | uorb instance that is being used for RTCM corrections | +| corrections_protocol | `uint8` | | | Protocol of the last correction message the receiver parsed | +| corrections_crc_failed | `bool` | | | Last correction message failed its CRC or content check | +| corrections_msg_used | `uint8` | | | Whether the receiver used the last correction message | +| antenna_offset_x | `float32` | m [body frame FRD] | | X Position of GNSS antenna | +| antenna_offset_y | `float32` | m [body frame FRD] | | Y Position of GNSS antenna | +| antenna_offset_z | `float32` | m [body frame FRD] | | Z Position of GNSS antenna | ## Constants @@ -179,10 +176,6 @@ uint32 SYSTEM_ERROR_CPU_OVERLOAD = 32 uint32 SYSTEM_ERROR_OUTPUT_CONGESTION = 64 uint32 system_error # General errors with the connected GPS receiver -float32 heading # heading angle of XYZ body frame rel to NED. Set to NaN if not available and updated (used for dual antenna GPS), (rad, [-PI, PI]) -float32 heading_offset # heading offset of dual antenna array in body frame. Set to NaN if not applicable. (rad, [-PI, PI]) -float32 heading_accuracy # heading accuracy (rad, [0, 2PI]) - float32 rtcm_injection_rate # RTCM message injection rate Hz uint8 selected_rtcm_instance # uorb instance that is being used for RTCM corrections diff --git a/docs/ko/msg_docs/SensorsStatusGnss.md b/docs/ko/msg_docs/SensorsStatusGnss.md new file mode 100644 index 00000000000..1a9be2ccc41 --- /dev/null +++ b/docs/ko/msg_docs/SensorsStatusGnss.md @@ -0,0 +1,64 @@ +--- +pageClass: is-wide-page +--- + +# SensorsStatusGnss (UORB message) + +Per-receiver GNSS health and check diagnostics. + +Published by the sensors module. Describes the latest sample of each receiver: to gate on a sample, use vehicle_gnss.usable. + +**TOPICS:** sensors_status_gnss + +## Fields + +| 명칭 | 형식 | Unit [Frame] | Range/Enum | 설명 | +| ------------------------------------------------------------------------------------------------------------- | ------------ | ---------------------------------------------------------------- | ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| timestamp | `uint64` | us | | Time since system start | +| device_id_selected | `uint32` | | | Receiver that vehicle_gnss carries | +| device_ids | `uint32[4]` | | | One entry per receiver, 0 where unused | +| order | `int8[4]` | | | Fixed position of the receiver: 0 for the preferred one, otherwise for the first to publish, then in order of first publication. Changes only with the preference, -1 until the receiver publishes | +| healthy | `bool[4]` | | | Publishing, and has passed its checks for long enough | +| failed_checks | `uint16[4]` | | | Bitmask of the enabled checks that failed, VehicleGnss CHECK\_\* bits | +| strict | `bool[4]` | | | The pre-flight thresholds apply rather than the relaxed in-flight ones | +| drift_rate_horizontal | `float32[4]` | m/s | | Horizontal position drift rate at rest | +| drift_rate_vertical | `float32[4]` | m/s | | Vertical position drift rate at rest | +| speed_horizontal_filtered | `float32[4]` | m/s | | Filtered horizontal speed at rest | + +## Constants + +| 명칭 | 형식 | Value | 설명 | +| -------------------------------------------------------------- | ------- | ----- | --------------------------------- | +| MAX_RECEIVERS | `uint8` | 4 | Length of the per-receiver arrays | + +## Source Message + +[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/SensorsStatusGnss.msg) + +:::details +Click here to see original file + +```c +# Per-receiver GNSS health and check diagnostics +# +# Published by the sensors module. Describes the latest sample of each receiver: to gate on a sample, use vehicle_gnss.usable. + +uint64 timestamp # [us] Time since system start + +uint32 device_id_selected # [-] Receiver that vehicle_gnss carries + +uint8 MAX_RECEIVERS = 4 # Length of the per-receiver arrays + +uint32[4] device_ids # [-] One entry per receiver, 0 where unused +int8[4] order # [-] Fixed position of the receiver: 0 for the preferred one, otherwise for the first to publish, then in order of first publication. Changes only with the preference, -1 until the receiver publishes +bool[4] healthy # Publishing, and has passed its checks for long enough +uint16[4] failed_checks # [-] Bitmask of the enabled checks that failed, VehicleGnss CHECK_* bits +bool[4] strict # The pre-flight thresholds apply rather than the relaxed in-flight ones +float32[4] drift_rate_horizontal # [m/s] Horizontal position drift rate at rest +float32[4] drift_rate_vertical # [m/s] Vertical position drift rate at rest +float32[4] speed_horizontal_filtered # [m/s] Filtered horizontal speed at rest + +# TOPICS sensors_status_gnss +``` + +::: diff --git a/docs/ko/msg_docs/TelemetryStatus.md b/docs/ko/msg_docs/TelemetryStatus.md index 48f8d75fbd1..96f1b64496f 100644 --- a/docs/ko/msg_docs/TelemetryStatus.md +++ b/docs/ko/msg_docs/TelemetryStatus.md @@ -30,7 +30,9 @@ pageClass: is-wide-page | rx_buffer_overruns | `uint32` | | | number of RX buffer overruns | | rx_parse_errors | `uint32` | | | number of parse errors | | rx_packet_drop_count | `uint32` | | | number of packet drops | -| rx_message_lost_rate | `float32` | | | | +| rx_unknown_message_count | `uint32` | | | number of messages not in the dialect, not processed | +| rx_bad_signature_count | `uint32` | | | number of messages with missing or invalid signature, not processed | +| rx_message_lost_rate | `float32` | | | fraction of messages lost (0 to 1) | | heartbeat_type_antenna_tracker | `bool` | | | MAV_TYPE_ANTENNA_TRACKER | | heartbeat_type_gcs | `bool` | | | MAV_TYPE_GCS | | heartbeat_type_onboard_controller | `bool` | | | MAV_TYPE_ONBOARD_CONTROLLER | @@ -103,7 +105,9 @@ uint32 rx_message_lost_count uint32 rx_buffer_overruns # number of RX buffer overruns uint32 rx_parse_errors # number of parse errors uint32 rx_packet_drop_count # number of packet drops -float32 rx_message_lost_rate +uint32 rx_unknown_message_count # number of messages not in the dialect, not processed +uint32 rx_bad_signature_count # number of messages with missing or invalid signature, not processed +float32 rx_message_lost_rate # fraction of messages lost (0 to 1) uint64 HEARTBEAT_TIMEOUT_US = 2500000 # Heartbeat timeout (tolerate missing 1 + jitter) diff --git a/docs/ko/msg_docs/VehicleCommand.md b/docs/ko/msg_docs/VehicleCommand.md index 730293716a2..a5691ecb90b 100644 --- a/docs/ko/msg_docs/VehicleCommand.md +++ b/docs/ko/msg_docs/VehicleCommand.md @@ -1378,15 +1378,15 @@ Command VTOL transition. Command safety on/off. -| Param | 단위 | Range/Enum | 설명 | -| ----- | -- | ---------- | -------------------------------------------------------------------------------- | -| 1 | | | 1 to activate safety, 0 to deactivate safety and allow control surface movements | -| 2 | | | Unused | -| 3 | | | Unused | -| 4 | | | Unused | -| 5 | | | Unused | -| 6 | | | Unused | -| 7 | | | Unused | +| Param | 단위 | Range/Enum | 설명 | +| ----- | -- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| 1 | | | SAFETY_SAFE (0) to activate safety, SAFETY_DANGEROUS (1) to deactivate safety and allow non-throttling actuator movement | +| 2 | | | Unused | +| 3 | | | Unused | +| 4 | | | Unused | +| 5 | | | Unused | +| 6 | | | Unused | +| 7 | | | Unused | ### VEHICLE_CMD_ARM_AUTHORIZATION_REQUEST (3001) @@ -1690,8 +1690,8 @@ Change heading/course. param1: heading type (0=course-over-ground, 1=heading). p | ARMING_ACTION_ARM | `int8` | 1 | | | GRIPPER_ACTION_RELEASE | `uint8` | 0 | | | GRIPPER_ACTION_GRAB | `uint8` | 1 | | -| SAFETY_OFF | `uint8` | 0 | | -| SAFETY_ON | `uint8` | 1 | | +| SAFETY_SAFE | `uint8` | 0 | Activate safety (MAVLink SAFETY_SWITCH_STATE_SAFE) | +| SAFETY_DANGEROUS | `uint8` | 1 | Deactivate safety (MAVLink SAFETY_SWITCH_STATE_DANGEROUS) | | ORB_QUEUE_LENGTH | `uint8` | 8 | | | COMPONENT_MODE_EXECUTOR_START | `uint16` | 1000 | | @@ -1808,7 +1808,7 @@ uint16 VEHICLE_CMD_LOGGING_START = 2510 # Start streaming ULog data. uint16 VEHICLE_CMD_LOGGING_STOP = 2511 # Stop streaming ULog data. uint16 VEHICLE_CMD_CONTROL_HIGH_LATENCY = 2600 # Control starting/stopping transmitting data over the high latency link. uint16 VEHICLE_CMD_DO_VTOL_TRANSITION = 3000 # Command VTOL transition. -uint16 VEHICLE_CMD_DO_SET_SAFETY_SWITCH_STATE = 5300 # Command safety on/off. |1 to activate safety, 0 to deactivate safety and allow control surface movements|Unused|Unused|Unused|Unused|Unused|Unused| +uint16 VEHICLE_CMD_DO_SET_SAFETY_SWITCH_STATE = 5300 # Command safety on/off. |SAFETY_SAFE (0) to activate safety, SAFETY_DANGEROUS (1) to deactivate safety and allow non-throttling actuator movement|Unused|Unused|Unused|Unused|Unused|Unused| uint16 VEHICLE_CMD_ARM_AUTHORIZATION_REQUEST = 3001 # Request arm authorization. uint16 VEHICLE_CMD_PAYLOAD_PREPARE_DEPLOY = 30001 # Prepare a payload deployment in the flight plan. uint16 VEHICLE_CMD_PAYLOAD_CONTROL_DEPLOY = 30002 # Control a pre-programmed payload deployment. @@ -1924,9 +1924,9 @@ int8 ARMING_ACTION_ARM = 1 uint8 GRIPPER_ACTION_RELEASE = 0 uint8 GRIPPER_ACTION_GRAB = 1 -# Used as param1 in DO_SET_SAFETY_SWITCH_STATE command. -uint8 SAFETY_OFF = 0 -uint8 SAFETY_ON = 1 +# Used as param1 in DO_SET_SAFETY_SWITCH_STATE command (matches MAVLink SAFETY_SWITCH_STATE enum). +uint8 SAFETY_SAFE = 0 # Activate safety (MAVLink SAFETY_SWITCH_STATE_SAFE) +uint8 SAFETY_DANGEROUS = 1 # Deactivate safety (MAVLink SAFETY_SWITCH_STATE_DANGEROUS) # param1 in VEHICLE_CMD_ACTUATOR_GROUP_TEST (matches MAVLink ACTUATOR_TEST_GROUP enum) uint8 ACTUATOR_TEST_GROUP_ROLL_TORQUE = 0 diff --git a/docs/ko/msg_docs/VehicleGlobalPosition.md b/docs/ko/msg_docs/VehicleGlobalPosition.md index 8bc6ff5719e..860fd2938cb 100644 --- a/docs/ko/msg_docs/VehicleGlobalPosition.md +++ b/docs/ko/msg_docs/VehicleGlobalPosition.md @@ -4,7 +4,7 @@ pageClass: is-wide-page # VehicleGlobalPosition (UORB message) -Fused global position in WGS84. This struct contains global position estimation. It is not the raw GPS. measurement (@see vehicle_gps_position). This topic is usually published by the position. estimator, which will take more sources of information into account than just GPS,. e.g. control inputs of the vehicle in a Kalman-filter implementation. +Fused global position in WGS84. This struct contains global position estimation. It is not the raw GPS. measurement (@see vehicle_gnss). This topic is usually published by the position. estimator, which will take more sources of information into account than just GPS,. e.g. control inputs of the vehicle in a Kalman-filter implementation. **TOPICS:** vehicle_global_position vehicle_global_position_groundtruth external_ins_global_position estimator_global_position @@ -47,7 +47,7 @@ Click here to see original file ```c # Fused global position in WGS84. # This struct contains global position estimation. It is not the raw GPS -# measurement (@see vehicle_gps_position). This topic is usually published by the position +# measurement (@see vehicle_gnss). This topic is usually published by the position # estimator, which will take more sources of information into account than just GPS, # e.g. control inputs of the vehicle in a Kalman-filter implementation. # diff --git a/docs/ko/msg_docs/VehicleGnss.md b/docs/ko/msg_docs/VehicleGnss.md new file mode 100644 index 00000000000..98a4074070a --- /dev/null +++ b/docs/ko/msg_docs/VehicleGnss.md @@ -0,0 +1,89 @@ +--- +pageClass: is-wide-page +--- + +# VehicleGnss (UORB message) + +Selected GNSS solution. + +Published by the sensors module for every sample of the selected receiver, usable or not, with the selection state and the check result for that sample. +Heading is on vehicle_gnss_heading. + +**TOPICS:** vehicle_gnss + +## Fields + +| 명칭 | 형식 | Unit [Frame] | Range/Enum | 설명 | +| ------------------------------------------------------------------------ | ------------ | ---------------------------------------------------------------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| timestamp | `uint64` | us | | Time since system start | +| timestamp_sample | `uint64` | us | | Measurement time, delay corrected. Use this rather than receiver.timestamp_sample, which holds the same value | +| receiver | `SensorGnss` | | | The selected receiver's sensor_gnss sample with the corrected timestamp_sample | +| antenna_offset | `float32[3]` | m [FRD] | | Antenna position of the selected receiver | +| selected_instance | `uint8` | | | sensor_gnss instance of the selected receiver | +| selection_count | `uint8` | | | Increments when the selected receiver changes | +| usable | `bool` | | | Sample may be used: the receiver has passed its checks for long enough | +| failed_checks | `uint16` | | [CHECK](#CHECK) | Bitmask of the enabled checks that failed | + +## Enums + +### CHECK {#CHECK} + +Used in field(s): [failed_checks](#fld_failed_checks) + +| 명칭 | 형식 | Value | 설명 | +| -------------------------------------------------------------- | -------- | ----- | ------------------------------------------ | +| CHECK_NSATS | `uint16` | 1 | Too few satellites | +| CHECK_PDOP | `uint16` | 2 | Position dilution of precision too high | +| CHECK_EPH | `uint16` | 4 | Horizontal position accuracy too low | +| CHECK_EPV | `uint16` | 8 | Vertical position accuracy too low | +| CHECK_SACC | `uint16` | 16 | Speed accuracy too low | +| CHECK_HDRIFT | `uint16` | 32 | Horizontal position drift at rest too high | +| CHECK_VDRIFT | `uint16` | 64 | Vertical position drift at rest too high | +| CHECK_HSPEED | `uint16` | 128 | Horizontal speed at rest too high | +| CHECK_VSPEED | `uint16` | 256 | Vertical speed at rest too high | +| CHECK_SPOOFED | `uint16` | 512 | Receiver reports spoofing | +| CHECK_FIX | `uint16` | 1024 | Fix type too low | +| CHECK_JAMMED | `uint16` | 2048 | Receiver reports jamming | + +## Source Message + +[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/VehicleGnss.msg) + +:::details +Click here to see original file + +```c +# Selected GNSS solution +# +# Published by the sensors module for every sample of the selected receiver, usable or not, with the selection state and the check result for that sample. +# Heading is on vehicle_gnss_heading. + +uint64 timestamp # [us] Time since system start +uint64 timestamp_sample # [us] Measurement time, delay corrected. Use this rather than receiver.timestamp_sample, which holds the same value + +SensorGnss receiver # The selected receiver's sensor_gnss sample with the corrected timestamp_sample + +float32[3] antenna_offset # [m] [@frame FRD] Antenna position of the selected receiver + +# Selection state +uint8 selected_instance # [-] sensor_gnss instance of the selected receiver +uint8 selection_count # [-] Increments when the selected receiver changes + +# Check result for this sample +bool usable # Sample may be used: the receiver has passed its checks for long enough +uint16 failed_checks # [@enum CHECK] Bitmask of the enabled checks that failed +uint16 CHECK_NSATS = 1 # Too few satellites +uint16 CHECK_PDOP = 2 # Position dilution of precision too high +uint16 CHECK_EPH = 4 # Horizontal position accuracy too low +uint16 CHECK_EPV = 8 # Vertical position accuracy too low +uint16 CHECK_SACC = 16 # Speed accuracy too low +uint16 CHECK_HDRIFT = 32 # Horizontal position drift at rest too high +uint16 CHECK_VDRIFT = 64 # Vertical position drift at rest too high +uint16 CHECK_HSPEED = 128 # Horizontal speed at rest too high +uint16 CHECK_VSPEED = 256 # Vertical speed at rest too high +uint16 CHECK_SPOOFED = 512 # Receiver reports spoofing +uint16 CHECK_FIX = 1024 # Fix type too low +uint16 CHECK_JAMMED = 2048 # Receiver reports jamming +``` + +::: diff --git a/docs/ko/msg_docs/VehicleGnssHeading.md b/docs/ko/msg_docs/VehicleGnssHeading.md new file mode 100644 index 00000000000..895c66a802b --- /dev/null +++ b/docs/ko/msg_docs/VehicleGnssHeading.md @@ -0,0 +1,55 @@ +--- +pageClass: is-wide-page +--- + +# VehicleGnssHeading (UORB message) + +GNSS heading from a dual-antenna or moving-baseline receiver. + +Published by the sensors module from sensor_gnss_relative. Consumed by EKF2 independently from position and velocity. + +**TOPICS:** vehicle_gnss_heading + +## Fields + +| 명칭 | 형식 | Unit [Frame] | Range/Enum | 설명 | +| ---------------------------------------------------------------------- | --------- | ---------------------------------------------------------------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| timestamp | `uint64` | | | time since system start (microseconds) | +| timestamp_sample | `uint64` | | | time since system start (microseconds) - actual measurement time | +| device_id | `uint32` | | | unique device ID for the sensor that does not change between power cycles | +| heading | `float32` | | | body-frame heading rel to NED from dual antenna array (rad, [-PI, PI]) | +| heading_accuracy | `float32` | | | 1-sigma heading accuracy (rad) | +| heading_offset | `float32` | | | yaw of the configured antenna baseline in the body frame; heading + heading_offset is the measured baseline heading (rad, [-PI, PI]) | +| baseline_length | `float32` | | | antenna baseline length reported by the receiver, NaN if it doesn't report one (m) | +| jamming_state | `uint8` | | | jamming_state of the receiver providing the heading, values as in SensorGnss (0: Unknown, 1: OK, 2: Mitigated, 3: Detected) | +| spoofing_state | `uint8` | | | spoofing_state of the receiver providing the heading, values as in SensorGnss (0: Unknown, 1: OK, 2: Mitigated, 3: Detected) | +| usable | `bool` | | | heading may be used: its receiver reports no spoofing or jamming that the enabled checks reject | + +## Source Message + +[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/VehicleGnssHeading.msg) + +:::details +Click here to see original file + +```c +# GNSS heading from a dual-antenna or moving-baseline receiver +# +# Published by the sensors module from sensor_gnss_relative. Consumed by EKF2 independently from position and velocity. + +uint64 timestamp # time since system start (microseconds) +uint64 timestamp_sample # time since system start (microseconds) - actual measurement time + +uint32 device_id # unique device ID for the sensor that does not change between power cycles + +float32 heading # body-frame heading rel to NED from dual antenna array (rad, [-PI, PI]) +float32 heading_accuracy # 1-sigma heading accuracy (rad) +float32 heading_offset # yaw of the configured antenna baseline in the body frame; heading + heading_offset is the measured baseline heading (rad, [-PI, PI]) +float32 baseline_length # antenna baseline length reported by the receiver, NaN if it doesn't report one (m) + +uint8 jamming_state # jamming_state of the receiver providing the heading, values as in SensorGnss (0: Unknown, 1: OK, 2: Mitigated, 3: Detected) +uint8 spoofing_state # spoofing_state of the receiver providing the heading, values as in SensorGnss (0: Unknown, 1: OK, 2: Mitigated, 3: Detected) +bool usable # heading may be used: its receiver reports no spoofing or jamming that the enabled checks reject +``` + +::: diff --git a/docs/ko/msg_docs/VehicleStatus.md b/docs/ko/msg_docs/VehicleStatus.md index 0885f4e7485..481ef8f652f 100644 --- a/docs/ko/msg_docs/VehicleStatus.md +++ b/docs/ko/msg_docs/VehicleStatus.md @@ -10,49 +10,49 @@ Encodes the system state of the vehicle published by commander. ## Fields -| 명칭 | 형식 | Unit [Frame] | Range/Enum | 설명 | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ---------------------------------------------------------------- | ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| timestamp | `uint64` | | | time since system start (microseconds) | -| armed_time | `uint64` | | | Arming timestamp (microseconds) | -| takeoff_time | `uint64` | | | Takeoff timestamp (microseconds) | -| arming_state | `uint8` | | | | -| latest_arming_reason | `uint8` | | | | -| latest_disarming_reason | `uint8` | | | | -| nav_state_timestamp | `uint64` | | | time when current nav_state activated | -| nav_state_user_intention | `uint8` | | | Mode that the user selected (might be different from nav_state in a failsafe situation) | -| nav_state | `uint8` | | | Currently active mode | -| executor_in_charge | `uint8` | | | Current mode executor in charge (0=Autopilot) | -| nav_state_display | `uint8` | | | User-visible nav state sent via MAVLink (executor state if active, otherwise nav_state) | -| accepts_offboard_setpoints | `bool` | | | True if the current mode accepts offboard trajectory setpoints via MAVLink | -| valid_nav_states_mask | `uint32` | | | Bitmask for all valid nav_state values | -| can_set_nav_states_mask | `uint32` | | | Bitmask for all modes that a user can select | -| hil_state | `uint8` | | | | -| vehicle_type | `uint8` | | | | -| failsafe | `bool` | | | true if system is in failsafe state (e.g.:RTL, Hover, Terminate, ...) | -| failsafe_and_user_took_over | `bool` | | | true if system is in failsafe state but the user took over control | -| failsafe_defer_state | `uint8` | | | one of FAILSAFE_DEFER_STATE_\* | -| gcs_connection_lost | `bool` | | | datalink to GCS lost | -| gcs_connection_lost_counter | `uint8` | | | counts unique GCS connection lost events | -| high_latency_data_link_lost | `bool` | | | Set to true if the high latency data link (eg. RockBlock Iridium 9603 telemetry module) is lost | -| is_vtol | `bool` | | | True if the system is VTOL capable | -| is_vtol_tailsitter | `bool` | | | True if the system performs a 90° pitch down rotation during transition from MC to FW | -| in_transition_mode | `bool` | | | True if VTOL is doing a transition | -| in_transition_to_fw | `bool` | | | True if VTOL is doing a transition from MC to FW | -| system_type | `uint8` | | | system type, contains mavlink MAV_TYPE | -| system_id | `uint8` | | | system id, contains MAVLink's system ID field | -| component_id | `uint8` | | | subsystem / component id, contains MAVLink's component ID field | -| safety_button_available | `bool` | | | Set to true if a safety button is connected | -| safety_off | `bool` | | | Set to true if safety is off | -| power_input_valid | `bool` | | | set if input power is valid | -| usb_connected | `bool` | | | set to true (never cleared) once telemetry received from usb link | -| open_drone_id_system_present | `bool` | | | | -| open_drone_id_system_healthy | `bool` | | | | -| parachute_system_present | `bool` | | | | -| parachute_system_healthy | `bool` | | | | -| traffic_avoidance_system_present | `bool` | | | | -| rc_calibration_in_progress | `bool` | | | | -| calibration_enabled | `bool` | | | | -| pre_flight_checks_pass | `bool` | | | true if all checks necessary to arm pass | +| 명칭 | 형식 | Unit [Frame] | Range/Enum | 설명 | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ---------------------------------------------------------------- | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| timestamp | `uint64` | | | time since system start (microseconds) | +| armed_time | `uint64` | | | Arming timestamp (microseconds) | +| takeoff_time | `uint64` | | | Takeoff timestamp (microseconds) | +| arming_state | `uint8` | | | | +| latest_arming_reason | `uint8` | | | | +| latest_disarming_reason | `uint8` | | | | +| nav_state_timestamp | `uint64` | | | time when current nav_state activated | +| nav_state_user_intention | `uint8` | | | Mode that the user selected (might be different from nav_state in a failsafe situation) | +| nav_state | `uint8` | | | Currently active mode | +| executor_in_charge | `uint8` | | | Current mode executor in charge (0=Autopilot) | +| nav_state_display | `uint8` | | | User-visible nav state sent via MAVLink (executor state if active, otherwise nav_state) | +| accepts_offboard_setpoints | `bool` | | | True if the current mode accepts offboard trajectory setpoints via MAVLink | +| valid_nav_states_mask | `uint32` | | | Bitmask for all valid nav_state values | +| can_set_nav_states_mask | `uint32` | | | Bitmask for all modes that a user can select | +| hil_state | `uint8` | | | | +| vehicle_type | `uint8` | | | | +| failsafe | `bool` | | | true if system is in failsafe state (e.g. Return, Hover, Terminate, ...) | +| failsafe_and_user_took_over | `bool` | | | true if system is in failsafe state but the user took over control | +| failsafe_defer_state | `uint8` | | | one of FAILSAFE_DEFER_STATE_\* | +| gcs_connection_lost | `bool` | | | datalink to GCS lost | +| gcs_connection_lost_counter | `uint8` | | | counts unique GCS connection lost events | +| high_latency_data_link_lost | `bool` | | | Set to true if the high latency data link (eg. RockBlock Iridium 9603 telemetry module) is lost | +| is_vtol | `bool` | | | True if the system is VTOL capable | +| is_vtol_tailsitter | `bool` | | | True if the system performs a 90° pitch down rotation during transition from MC to FW | +| in_transition_mode | `bool` | | | True if VTOL is doing a transition | +| in_transition_to_fw | `bool` | | | True if VTOL is doing a transition from MC to FW | +| system_type | `uint8` | | | system type, contains mavlink MAV_TYPE | +| system_id | `uint8` | | | system id, contains MAVLink's system ID field | +| component_id | `uint8` | | | subsystem / component id, contains MAVLink's component ID field | +| safety_button_available | `bool` | | | Set to true if a safety button is connected | +| safety_off | `bool` | | | Set to true if safety is off | +| power_input_valid | `bool` | | | set if input power is valid | +| usb_connected | `bool` | | | set to true (never cleared) once telemetry received from usb link | +| open_drone_id_system_present | `bool` | | | | +| open_drone_id_system_healthy | `bool` | | | | +| parachute_system_present | `bool` | | | | +| parachute_system_healthy | `bool` | | | | +| traffic_avoidance_system_present | `bool` | | | | +| rc_calibration_in_progress | `bool` | | | | +| calibration_enabled | `bool` | | | | +| pre_flight_checks_pass | `bool` | | | true if all checks necessary to arm pass | ## Constants @@ -76,11 +76,11 @@ Encodes the system state of the vehicle published by commander. | NAVIGATION_STATE_POSCTL | `uint8` | 2 | Position control mode | | NAVIGATION_STATE_AUTO_MISSION | `uint8` | 3 | Auto mission mode | | NAVIGATION_STATE_AUTO_LOITER | `uint8` | 4 | Auto loiter mode | -| NAVIGATION_STATE_AUTO_RTL | `uint8` | 5 | Auto return to launch mode | +| NAVIGATION_STATE_AUTO_RTL | `uint8` | 5 | Return mode | | NAVIGATION_STATE_POSITION_SLOW | `uint8` | 6 | | | NAVIGATION_STATE_GUIDED_COURSE | `uint8` | 7 | Guided Course mode (FW: maintain course/alt/speed) | | NAVIGATION_STATE_ALTITUDE_CRUISE | `uint8` | 8 | Altitude with Cruise mode | -| NAVIGATION_STATE_FREE3 | `uint8` | 9 | | +| NAVIGATION_STATE_MANUAL_PARKING | `uint8` | 9 | Manual Parking mode | | NAVIGATION_STATE_ACRO | `uint8` | 10 | Acro mode | | NAVIGATION_STATE_FREE2 | `uint8` | 11 | | | NAVIGATION_STATE_DESCEND | `uint8` | 12 | Descend mode (no position control) | @@ -157,11 +157,11 @@ uint8 NAVIGATION_STATE_ALTCTL = 1 # Altitude control mode uint8 NAVIGATION_STATE_POSCTL = 2 # Position control mode uint8 NAVIGATION_STATE_AUTO_MISSION = 3 # Auto mission mode uint8 NAVIGATION_STATE_AUTO_LOITER = 4 # Auto loiter mode -uint8 NAVIGATION_STATE_AUTO_RTL = 5 # Auto return to launch mode +uint8 NAVIGATION_STATE_AUTO_RTL = 5 # Return mode uint8 NAVIGATION_STATE_POSITION_SLOW = 6 uint8 NAVIGATION_STATE_GUIDED_COURSE = 7 # Guided Course mode (FW: maintain course/alt/speed) uint8 NAVIGATION_STATE_ALTITUDE_CRUISE = 8 # Altitude with Cruise mode -uint8 NAVIGATION_STATE_FREE3 = 9 +uint8 NAVIGATION_STATE_MANUAL_PARKING = 9 # Manual Parking mode uint8 NAVIGATION_STATE_ACRO = 10 # Acro mode uint8 NAVIGATION_STATE_FREE2 = 11 uint8 NAVIGATION_STATE_DESCEND = 12 # Descend mode (no position control) @@ -208,7 +208,7 @@ uint8 FAILSAFE_DEFER_STATE_DISABLED = 0 uint8 FAILSAFE_DEFER_STATE_ENABLED = 1 uint8 FAILSAFE_DEFER_STATE_WOULD_FAILSAFE = 2 # Failsafes deferred, but would trigger a failsafe -bool failsafe # true if system is in failsafe state (e.g.:RTL, Hover, Terminate, ...) +bool failsafe # true if system is in failsafe state (e.g. Return, Hover, Terminate, ...) bool failsafe_and_user_took_over # true if system is in failsafe state but the user took over control uint8 failsafe_defer_state # one of FAILSAFE_DEFER_STATE_* diff --git a/docs/ko/msg_docs/Vtx.md b/docs/ko/msg_docs/Vtx.md index f2e33e79fd0..eec40e24c6e 100644 --- a/docs/ko/msg_docs/Vtx.md +++ b/docs/ko/msg_docs/Vtx.md @@ -34,8 +34,7 @@ pageClass: is-wide-page | PROTOCOL_SMART_AUDIO_V2_1 | `uint8` | 21 | | | PROTOCOL_TRAMP | `uint8` | 100 | | | DEVICE_UNKNOWN | `uint8` | 0 | | -| DEVICE_PEAK_THOR_T67 | `uint8` | 20 | | -| DEVICE_RUSH_MAX_SOLO | `uint8` | 40 | | +| DEVICE_PEAK_THOR | `uint8` | 20 | | | MODE_NORMAL | `uint8` | 0 | | | MODE_PIT | `uint8` | 1 | | @@ -60,8 +59,7 @@ uint8 PROTOCOL_TRAMP = 100 uint8 protocol uint8 DEVICE_UNKNOWN = 0 -uint8 DEVICE_PEAK_THOR_T67 = 20 -uint8 DEVICE_RUSH_MAX_SOLO = 40 +uint8 DEVICE_PEAK_THOR = 20 uint8 device uint8 MODE_NORMAL = 0 diff --git a/docs/ko/msg_docs/index.md b/docs/ko/msg_docs/index.md index 34be2a1ce2a..aa8ea85b93d 100644 --- a/docs/ko/msg_docs/index.md +++ b/docs/ko/msg_docs/index.md @@ -45,7 +45,7 @@ Graphs showing how these are used [can be found here](../middleware/uorb_graph.m - [VehicleAttitudeSetpoint](VehicleAttitudeSetpoint.md) - [VehicleCommand](VehicleCommand.md) — Vehicle Command uORB message. Used for commanding a mission / action / etc. Follows the MAVLink COMMAND_INT / COMMAND_LONG definition. - [VehicleCommandAck](VehicleCommandAck.md) — Vehicle Command Acknowledgement uORB message. -- [VehicleGlobalPosition](VehicleGlobalPosition.md) — Fused global position in WGS84. This struct contains global position estimation. It is not the raw GPS. measurement (@see vehicle_gps_position). This topic is usually published by the position. estimator, which will take more sources of information into account than just GPS,. e.g. control inputs of the vehicle in a Kalman-filter implementation. +- [VehicleGlobalPosition](VehicleGlobalPosition.md) — Fused global position in WGS84. This struct contains global position estimation. It is not the raw GPS. measurement (@see vehicle_gnss). This topic is usually published by the position. estimator, which will take more sources of information into account than just GPS,. e.g. control inputs of the vehicle in a Kalman-filter implementation. - [VehicleLandDetected](VehicleLandDetected.md) - [VehicleLocalPosition](VehicleLocalPosition.md) — Fused local position in NED. The coordinate system origin is the vehicle position at the time when the EKF2-module was started. - [VehicleOdometry](VehicleOdometry.md) — Vehicle odometry data. @@ -125,20 +125,20 @@ Graphs showing how these are used [can be found here](../middleware/uorb_graph.m - [EstimatorBias3d](EstimatorBias3d.md) - [EstimatorEventFlags](EstimatorEventFlags.md) - [EstimatorFusionControl](EstimatorFusionControl.md) -- [EstimatorGpsStatus](EstimatorGpsStatus.md) - [EstimatorInnovations](EstimatorInnovations.md) - [EstimatorSelectorStatus](EstimatorSelectorStatus.md) - [EstimatorSensorBias](EstimatorSensorBias.md) — Sensor readings and in-run biases in SI-unit form. Sensor readings are compensated for static offsets,. scale errors, in-run bias and thermal drift (if thermal compensation is enabled and available). - [EstimatorStates](EstimatorStates.md) - [EstimatorStatus](EstimatorStatus.md) - [EstimatorStatusFlags](EstimatorStatusFlags.md) +- [ExternalGimbalManagerStatus](ExternalGimbalManagerStatus.md) — External gimbal manager status. - [FailsafeFlags](FailsafeFlags.md) — Input flags for the failsafe state machine set by the arming & health checks. - [FailureDetectorStatus](FailureDetectorStatus.md) - [FailureInjection](FailureInjection.md) — Failure injection configuration. - [FiducialMarkerPosReport](FiducialMarkerPosReport.md) — Relative position of a precision-landing target detected by a vision pipeline (e.g. an ArUco marker). - [FiducialMarkerYawReport](FiducialMarkerYawReport.md) — Yaw of a precision-landing target relative to the NED (North, East, Down) frame, reported by a vision pipeline. - [FigureEightStatus](FigureEightStatus.md) -- [FixedWingLateralGuidanceStatus](FixedWingLateralGuidanceStatus.md) — Fixed Wing Lateral Guidance Status message. Published by fw_pos_control module to report the resultant lateral setpoints and NPFG debug outputs. +- [FixedWingLateralGuidanceStatus](FixedWingLateralGuidanceStatus.md) — Fixed Wing Lateral Guidance Status message. Published by fw_mode_manager module to report the resultant lateral setpoints and NPFG debug outputs. - [FixedWingLateralStatus](FixedWingLateralStatus.md) — Fixed Wing Lateral Status message. Published by the fw_lateral_longitudinal_control module to report the resultant lateral setpoint. - [FixedWingRunwayControl](FixedWingRunwayControl.md) — Auxiliary control fields for fixed-wing runway takeoff/landing. - [FixedWingTakeoffStatus](FixedWingTakeoffStatus.md) — Status of a fixed-wing takeoff. Passes information from the FixedWingModeManager to the Navigator. @@ -158,6 +158,7 @@ Graphs showing how these are used [can be found here](../middleware/uorb_graph.m - [GimbalManagerInformation](GimbalManagerInformation.md) - [GimbalManagerSetAttitude](GimbalManagerSetAttitude.md) - [GimbalManagerSetManualControl](GimbalManagerSetManualControl.md) +- [GimbalManagerSetPitchyaw](GimbalManagerSetPitchyaw.md) — Gimbal manager pitch/yaw setpoint. - [GimbalManagerStatus](GimbalManagerStatus.md) - [GpioConfig](GpioConfig.md) — GPIO configuration. - [GpioIn](GpioIn.md) — GPIO mask and state. @@ -169,7 +170,7 @@ Graphs showing how these are used [can be found here](../middleware/uorb_graph.m - [HeaterStatus](HeaterStatus.md) - [HoverThrustEstimate](HoverThrustEstimate.md) - [InputRc](InputRc.md) -- [InternalCombustionEngineControl](InternalCombustionEngineControl.md) +- [InternalCombustionEngineControl](InternalCombustionEngineControl.md) — Internal combustion engine (ICE) actuator setpoints. - [InternalCombustionEngineStatus](InternalCombustionEngineStatus.md) - [IridiumsbdStatus](IridiumsbdStatus.md) - [IrlockReport](IrlockReport.md) — IRLOCK_REPORT message data. @@ -253,11 +254,11 @@ Graphs showing how these are used [can be found here](../middleware/uorb_graph.m - [SensorBaro](SensorBaro.md) — Barometer sensor. - [SensorCombined](SensorCombined.md) — Sensor readings in SI-unit form. These fields are scaled and offset-compensated where possible and do not. change with board revisions and sensor updates. - [SensorCorrection](SensorCorrection.md) — Sensor corrections in SI-unit form for the voted sensor. +- [SensorGnss](SensorGnss.md) — GNSS receiver report, position in WGS84. - [SensorGnssRelative](SensorGnssRelative.md) — GNSS relative positioning information in NED frame. The NED frame is defined as the local topological system at the reference station. - [SensorGnssRf](SensorGnssRf.md) — GNSS RF status. - [SensorGnssSpectrum](SensorGnssSpectrum.md) — GNSS spectrum analysis. - [SensorGnssStatus](SensorGnssStatus.md) — Gnss quality indicators. -- [SensorGps](SensorGps.md) — GPS position in WGS84 coordinates. the field 'timestamp' is for the position & velocity (microseconds). - [SensorGyro](SensorGyro.md) - [SensorGyroFft](SensorGyroFft.md) - [SensorGyroFifo](SensorGyroFifo.md) @@ -269,6 +270,7 @@ Graphs showing how these are used [can be found here](../middleware/uorb_graph.m - [SensorTemp](SensorTemp.md) - [SensorUwb](SensorUwb.md) — Ultra-wideband (UWB) distance sensor. - [SensorsStatus](SensorsStatus.md) — Sensor check metrics. This will be zero for a sensor that's primary or unpopulated. +- [SensorsStatusGnss](SensorsStatusGnss.md) — Per-receiver GNSS health and check diagnostics. - [SensorsStatusImu](SensorsStatusImu.md) — Sensor check metrics. This will be zero for a sensor that's primary or unpopulated. - [SystemPower](SystemPower.md) - [TakeoffStatus](TakeoffStatus.md) — Status of the takeoff state machine currently just available for multicopters. @@ -290,6 +292,8 @@ Graphs showing how these are used [can be found here](../middleware/uorb_graph.m - [VehicleAirData](VehicleAirData.md) — Vehicle air data. - [VehicleConstraints](VehicleConstraints.md) — Local setpoint constraints in NED frame. setting something to NaN means that no limit is provided. - [VehicleControlMode](VehicleControlMode.md) — Defines which controllers should run. +- [VehicleGnss](VehicleGnss.md) — Selected GNSS solution. +- [VehicleGnssHeading](VehicleGnssHeading.md) — GNSS heading from a dual-antenna or moving-baseline receiver. - [VehicleImu](VehicleImu.md) — IMU readings in SI-unit form. - [VehicleImuStatus](VehicleImuStatus.md) - [VehicleLocalPositionSetpoint](VehicleLocalPositionSetpoint.md) — Local position setpoint in NED frame. Telemetry of PID position controller to monitor tracking. NaN means the state was not controlled. diff --git a/docs/ko/neural_networks/tflm.md b/docs/ko/neural_networks/tflm.md index d6d0d7ef1fe..1eb5a994616 100644 --- a/docs/ko/neural_networks/tflm.md +++ b/docs/ko/neural_networks/tflm.md @@ -40,6 +40,9 @@ You will then have to modify the `control_net.hpp` and `control_net.cpp` to incl - Take the size of the network in the bottom of the `.cc` file and replace the size in `control_net.hpp`. - Take the data in the model array in the `cc` file, and replace the ones in `control_net.cpp`. +The module checks the model when it starts: the schema version, exactly one input of 15 floats and exactly one output of 4 floats. +A model that does not match is rejected with the reason in the log and the module does not start. + You are now ready to run your own network. ## Code Explanation diff --git a/docs/ko/peripherals/dshot.md b/docs/ko/peripherals/dshot.md index 7c36f17355a..fd40967cef7 100644 --- a/docs/ko/peripherals/dshot.md +++ b/docs/ko/peripherals/dshot.md @@ -145,22 +145,20 @@ PX4 automatically reads the full EEPROM from each ESC on boot. The ground station can then display individual settings and allow the user to modify them. Changes are written back to the ESC one byte at a time using the DShot programming protocol. - - - +See [Serial Passthrough (MAVLink SERIAL_CONTROL)](../uart/serial_passthrough.md) for build configuration, supported channels, and limitations. diff --git a/docs/ko/releases/1.18.md b/docs/ko/releases/1.18.md index a997132c06e..5de5dd09f22 100644 --- a/docs/ko/releases/1.18.md +++ b/docs/ko/releases/1.18.md @@ -144,6 +144,7 @@ For users upgrading from v1.17, please take a moment to review the following bef - VL53L0X rangefinder: invalid 8.19 m readings are filtered out and measurements now carry a quality field; VL53L1X maps its range status to the quality field. ([PX4-Autopilot#27214](https://github.com/PX4/PX4-Autopilot/pull/27214), [PX4-Autopilot#27355](https://github.com/PX4/PX4-Autopilot/pull/27355), [PX4-Autopilot#27308](https://github.com/PX4/PX4-Autopilot/pull/27308)) - PCA9685 PWM output board now uses the correct internal oscillator frequency, so configured servo PWM rates match the actual output. ([PX4-Autopilot#27425](https://github.com/PX4/PX4-Autopilot/pull/27425)) - MAVLink OpenDroneID Basic ID messages are now forwarded to DroneCAN Remote ID peripherals. ([PX4-Autopilot#27274](https://github.com/PX4/PX4-Autopilot/pull/27274)) +- Analog battery voltage and current filters keep their state across parameter updates, so a parameter change no longer restarts them from zero and reports the battery as disconnected. ([PX4-Autopilot#28452](https://github.com/PX4/PX4-Autopilot/pull/28452)) ## 공통 @@ -169,8 +170,9 @@ For users upgrading from v1.17, please take a moment to review the following bef | `COM_OBC_LOSS_T` | Timeout for missing heartbeats from the onboard computer is always 5 seconds (was the default). ([PX4-Autopilot#27261](https://github.com/PX4/PX4-Autopilot/pull/27261)) | | `COM_LKDOWN_TKO` | Takeoff failure detection always runs for 3 seconds (was the default). ([PX4-Autopilot#27262](https://github.com/PX4/PX4-Autopilot/pull/27262)) | -- [Serial Passthrough (MAVLink SERIAL_CONTROL)](../uart/serial_passthrough.md): new `serialpassthrough` driver enables MAVLink clients to read from and write to FC serial ports (TEL1/2, GPS1/2, TEL3/4). - On STM32F7/H7 boards, ESC signal pins can also be written via a software bit-bang UART (device IDs 20–27): note that a bridge application is also required, so this functionality is not usable out of the box. +- [Serial Passthrough (MAVLink SERIAL_CONTROL)](../uart/serial_passthrough.md): new `serialpassthrough` driver enables MAVLink clients to read from and write to FC serial ports (`TELEM1`/`TELEM2`, `GPS1`/`GPS2`, `TELEM3`/`TELEM4`). + On STM32F7/H7 boards, ESC signal pins can also be written via a software bit-bang UART (device IDs 20–27). + Host tools connect through a bridge application, such as [`Tools/mavlink_serial_bridge.py`](https://github.com/PX4/PX4-Autopilot/blob/main/Tools/mavlink_serial_bridge.py) (it isn't part of the v1.18 release, but the version on `main` works with v1.18 firmware). ([PX4-Autopilot#27605: feat(drivers): implemented serial passthrough](https://github.com/PX4/PX4-Autopilot/pull/27605)). - UAVCAN: firmware can now be flashed onto connected CAN nodes directly from the SD card. Place node firmware `.bin` files at the card root or in `/fs/microsd/ufw_staging/`; on boot the UAVCAN server migrates them into `/fs/microsd/ufw/`, tracks them in an `FW.db` database, and flashes any connected node whose firmware version does not match. ([PX4-Autopilot#27043](https://github.com/PX4/PX4-Autopilot/pull/27043)) @@ -198,6 +200,8 @@ For users upgrading from v1.17, please take a moment to review the following bef - GCS connection-loss failsafe no longer triggers flight termination while the vehicle is disarmed, preventing a termination state from latching before or at arming after a ground station link loss. ([PX4-Autopilot#26820](https://github.com/PX4/PX4-Autopilot/pull/26820)) - New [NAV_RCL_ACT](../advanced_config/parameter_reference.md#NAV_RCL_ACT) option `7` (Hold without failsafe): on manual control (RC) loss the vehicle holds position but does not enter a failsafe state, so an external mode or offboard controller can keep commanding it. ([PX4-Autopilot#27792](https://github.com/PX4/PX4-Autopilot/pull/27792)) - Control allocator now stops the motors when it receives a NaN thrust setpoint, instead of forwarding invalid values to the ESCs. ([PX4-Autopilot#26494](https://github.com/PX4/PX4-Autopilot/pull/26494)) +- The home position altitude filter receives its barometer time delta in seconds instead of microseconds. ([PX4-Autopilot#28415](https://github.com/PX4/PX4-Autopilot/pull/28415)) +- A mission that ends on an exhausted DO_JUMP no longer reports "Waypoint could not be read" at critical severity. ([PX4-Autopilot#28464](https://github.com/PX4/PX4-Autopilot/pull/28464)) ## Estimation @@ -212,6 +216,8 @@ For users upgrading from v1.17, please take a moment to review the following bef - DroneCAN GNSS receivers can now provide UTC-coherent timestamps: a new leaky-min clock-offset estimator maps a node's PPS-anchored `Fix2.timestamp` into the flight controller's HRT and subtracts the node's processing delay. Nodes that do not provide a valid UTC timestamp fall back to the `SENS_GPS*_DELAY` path. ([PX4-Autopilot#27427](https://github.com/PX4/PX4-Autopilot/pull/27427)) - EKF2 can now use GNSS height as the height reference when GNSS is in dead-reckoning mode, provided it can start without requiring a reset. ([PX4-Autopilot#27766](https://github.com/PX4/PX4-Autopilot/pull/27766)) - EKF2 now counts NED-frame external vision velocity fusion as a horizontal (NE) aiding source (and only counts vision position when it is in the NED frame), so vehicles aided only by vision velocity are no longer treated as dead-reckoning. ([PX4-Autopilot#27538](https://github.com/PX4/PX4-Autopilot/pull/27538)) +- The EKF2 selector no longer falls back to an instance whose vertical test ratio is already failing, which stepped the published altitude on every switch after a brief fault on the selected instance. ([PX4-Autopilot#28418](https://github.com/PX4/PX4-Autopilot/pull/28418)) +- Disabling the selected magnetometer at runtime (setting its [CAL_MAGn_PRIO](../advanced_config/parameter_reference.md#CAL_MAG0_PRIO) to `0`) now hands over to the next magnetometer without a sensor failure report, and a magnetometer disabled at boot no longer prevents those after it from being selected. ([PX4-Autopilot#28750](https://github.com/PX4/PX4-Autopilot/pull/28750)) ## RC @@ -231,9 +237,12 @@ For users upgrading from v1.17, please take a moment to review the following bef - Yaw stick nudging in auto modes ([MPC_AUTO_NUDGING](../advanced_config/parameter_reference.md#MPC_AUTO_NUDGING)). Bit 0 lets the yaw stick rotate vehicle heading during any auto mode (mission, RTL, hold, landing, takeoff) without switching modes. The heading is held when the stick is released and cleared on a flight mode switch. Requires stick override to be disabled ([MAN_OVERRIDE_SPD](../advanced_config/parameter_reference.md#MAN_OVERRIDE_SPD) = -1). ([PX4-Autopilot#27691](https://github.com/PX4/PX4-Autopilot/pull/27691)) +- Multicopter position control now handles a rejected velocity filter cutoff instead of freezing the velocity feedback at zero, which caused an altitude oscillation with `MPC_VEL_LP` at its maximum. ([PX4-Autopilot#28451](https://github.com/PX4/PX4-Autopilot/pull/28451)) + ### 수직이착륙기(VTOL) - [Return mode VTOL Rally Point Approach Loiters](../flight_modes_vtol/return.md#vtol-rally-point-approach-loiters): VTOLs returning in fixed-wing mode can now use the approach loiter associated with the selected home/rally landing location (instead of home) to choose the most wind-aligned valid approach (if several are defined). ([PX4-Autopilot#27004: fix(navigator): rtl compute wind angle to select best land approach based on rally point location instead of home location](https://github.com/PX4/PX4-Autopilot/pull/27004)) +- Mission return modes keep a VTOL that is flying as a multicopter in multicopter mode instead of commanding a fixed-wing transition at return altitude, which could leave the vehicle armed instead of landing. ([PX4-Autopilot#28399](https://github.com/PX4/PX4-Autopilot/pull/28399)) ### Fixed-wing diff --git a/docs/ko/releases/main.md b/docs/ko/releases/main.md index 0433538f59e..c37895ecd73 100644 --- a/docs/ko/releases/main.md +++ b/docs/ko/releases/main.md @@ -31,7 +31,25 @@ 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. +- `PCA9685_SCHD_HZ` has been removed. `PCA9685_PWM_FREQ` now sets both the PWM frequency of the PCA9685 and the rate at which values are pushed to it; if you had `PCA9685_SCHD_HZ` set to a non-default value, set `PCA9685_PWM_FREQ` to it after upgrading. Frequencies above 400 Hz (previously only usable in duty-cycle mode) are no longer supported. +- **Flight controller firmware no longer embeds CAN node firmware.** The `px4_fmu-v5_uavcanv0periph` build, which carried CUAV CAN GPS v1 firmware in its ROMFS so the flight controller could update the GPS over DroneCAN, and the `CONFIG_BOARD_UAVCAN_PERIPHERALS` board option behind it have been removed. Use the standard `px4_fmu-v5_default` firmware and update the GPS from the SD card with `cuav_can-gps-v1_default.uavcan.bin` from the release instead; see [DroneCAN Firmware Update](../dronecan/index.md#firmware-update). ([PX4-Autopilot#28870](https://github.com/PX4/PX4-Autopilot/pull/28870)) +- **jMAVSim has been removed.** `make px4_sitl jmavsim` and the `10017_jmavsim_iris` airframe (`SYS_AUTOSTART=10017`) no longer exist, and the setup scripts no longer install Java or `ant`. Use [SIH](../sim_sih/index.md) with the [Hawkeye](../sim_hawkeye/index.md) visualizer instead (`make px4_sitl_sih sihsim_quadx`), or [Gazebo](../sim_gazebo_gz/index.md). - **Re-check motor failure handling on hexarotors.** [CA_FAILURE_MODE](../advanced_config/parameter_reference.md#CA_FAILURE_MODE) = `1` now also stops the motor opposite the failed one on a hexarotor (previously only the failed motor was removed from the allocation). Other airframes are unaffected, and `CA_FAILURE_MODE=0` (the default) is unchanged. See [Motor Failure Recovery](../config/motor_failure_recovery.md). ([PX4-Autopilot#28078](https://github.com/PX4/PX4-Autopilot/pull/28078)) +- **Dual-antenna GNSS heading must be reconfigured.** `GPS_YAW_OFFSET`, `SEP_YAW_OFFS`, `SEP_PITCH_OFFS` and `EKF2_GPS_YAW_OFF` are removed, including on DroneCAN GNSS nodes, and are not migrated: GNSS yaw is not used until [SENS_GNSSn_HDG](../advanced_config/parameter_reference.md#SENS_GNSS0_HDG) is set on the autopilot for the receiver reporting the heading. Until then, a warning names what is missing: `SENS_GNSSn_HDG` or the antenna positions. The baseline comes from the antenna positions (`SENS_GNSSn_OFFX/Y/Z` of both receivers for a moving base, plus `SENS_GNSSn_AUXX/Y/Z` for the second antenna of a dual-antenna receiver), and headings whose reported baseline is more than 20% off it are rejected. See [GPS as Yaw/Heading Source](../gps_compass/rtk_gps.md#configuring-gps-as-yaw-heading-source). A DroneCAN node running older firmware still subtracts its own `GPS_YAW_OFFSET`; set that to 0. Heading is taken only from `sensor_gnss_relative` (u-blox, Unicore UM982, Septentrio, DroneCAN `RelPosHeading`): the Trimble MB-Two, Femtomes, NMEA `HDT`, SBG and MicroStrain headings and the heading in DroneCAN `Fix2` are no longer used, and the `heading`, `heading_offset` and `heading_accuracy` fields of `sensor_gps` are removed. ([PX4-Autopilot#27102](https://github.com/PX4/PX4-Autopilot/pull/27102)) +- **GNSS topics, messages and parameters are renamed.** + The per-receiver topic `sensor_gps` is now `sensor_gnss` ([SensorGnss](../msg_docs/SensorGnss.md)). + `vehicle_gps_position` is now `vehicle_gnss` ([VehicleGnss](../msg_docs/VehicleGnss.md)), which nests the selected receiver's sample as `receiver` (for example `vehicle_gnss.receiver.latitude`) and adds the corrected `timestamp_sample` and `antenna_offset`. + Renamed fields: `latitude_deg` → `latitude`, `longitude_deg` → `longitude`, `altitude_msl_m` → `altitude_msl`, `altitude_ellipsoid_m` → `altitude_ellipsoid`, `s_variance_m_s` → `speed_accuracy`, `c_variance_rad` → `course_accuracy`, `noise_per_ms` → `noise`, `vel_m_s` → `ground_speed`, `vel_n_m_s`/`vel_e_m_s`/`vel_d_m_s` → `vel_north`/`vel_east`/`vel_down` and `cog_rad` → `course`; `antenna_offset_x/y/z` moved to `vehicle_gnss.antenna_offset`. + ROS 2 applications must subscribe to `/fmu/out/vehicle_gnss` (`px4_msgs/msg/VehicleGnss`) instead of `/fmu/out/vehicle_gps_position` (`px4_msgs/msg/SensorGps`). + Read the timestamps from the top level of `VehicleGnss`: only `timestamp` and `timestamp_sample` are converted to ROS time, while `receiver.timestamp` and `receiver.timestamp_sample` stay on the PX4 boot clock. + `timestamp` is now when the sensors module published the sample; use `timestamp_sample` for the measurement time. + `SENS_GPS_MASK`, `SENS_GPS_TAU`, `SENS_GPS_PRIME` and `SENS_GPSn_ID/OFFX/OFFY/OFFZ/DELAY` are now `SENS_GNSS_*` and `SENS_GNSSn_*` (the driver `GPS_*` and `EKF2_*` parameters are unchanged). + Saved parameters are migrated automatically, but loading a QGC parameter file with the old names does not restore them. + The log analysis scripts in the tree read both the old and the new names. + The uORB-over-Cyphal registers are renamed from `uorb.sensor_gps` to `uorb.sensor_gnss` (`uavcan.sub.uorb.sensor_gnss.0.id`, `uavcan.pub.uorb.sensor_gnss.0.id`); `UCAN1_UORB_GPS` and `UCAN1_UORB_GPS_P` are unchanged. ([PX4-Autopilot#24399](https://github.com/PX4/PX4-Autopilot/pull/24399)) +- **`DO_JUMP` can only loop back.** + A mission is now rejected if a `DO_JUMP` targets itself or a later mission item, even if its repeat count is 0. + Missions stored on the vehicle with such jumps must be edited and uploaded again. ## Other changes @@ -40,14 +58,19 @@ Please continue reading for [upgrade instructions](#upgrade-guide). ### Hardware Support - [DroneCAN ESCs](../dronecan/escs.md) no longer need to set `UAVCAN_PUB_ARM` as `ArmingStatus` is published automatically whenever `UAVCAN_ENABLE` is `3` (ESC output enabled). ([PX4-Autopilot#28364](https://github.com/PX4/PX4-Autopilot/pull/28364)) +- [DroneCAN ESC](../dronecan/escs.md) channels assigned a non-motor function (e.g. _Peripheral via Actuator Set_) can be driven bidirectionally via `UAVCAN_EC_SIGNED` (signed RawCommand, 0 = neutral). Motors continue to use `CA_R_REV`. ([PX4-Autopilot#26903](https://github.com/PX4/PX4-Autopilot/pull/26903)) +- [DroneCAN](../dronecan/index.md) batteries that set the charging flag in `BatteryInfo` now report a charging state (shown in MAVLink `BATTERY_STATUS.charge_state`) as long as the pack has no low, critical or emergency warning. Charging does not count as a battery warning, so it does not affect the [battery level failsafe](../config/safety.md#battery-level-failsafe) or the arming checks. ([PX4-Autopilot#28422](https://github.com/PX4/PX4-Autopilot/pull/28422), [PX4-Autopilot#29012](https://github.com/PX4/PX4-Autopilot/pull/29012)) +- [Serial Passthrough](../uart/serial_passthrough.md): new reference [bridge application](../uart/serial_passthrough.md#bridge-application), `Tools/mavlink_serial_bridge.py`, exposes a flight controller serial port or ESC signal pin as a virtual serial port on a Linux/macOS host, so ESC configuration and GPS tools can connect to it over MAVLink. + ([PX4-Autopilot#28782: feat(tools): add mavlink_serial_bridge.py reference bridge application](https://github.com/PX4/PX4-Autopilot/pull/28782)) ### 공통 -- TBD +- The unit and functional test suite builds, links and runs on macOS (`make tests`), and `px4_poll()` timeouts on macOS wait for their full duration instead of returning at once. The blended GPS timestamp is accumulated in double and rounded once instead of truncating each weighted term. ([PX4-Autopilot#28516](https://github.com/PX4/PX4-Autopilot/pull/28516)) +- The AlphaFilter library takes its sample interval and time constant in microseconds, and the float seconds overloads are removed, so a value in the wrong unit no longer compiles. Out-of-tree code that constructs the filter with seconds needs updating. ([PX4-Autopilot#28421](https://github.com/PX4/PX4-Autopilot/pull/28421)) ### 제어 -- TBD +- [Gain compression](../features_mc/gain_compression.md) is now available on multicopters ([MC_GC_EN](../advanced_config/parameter_reference.md#MC_GC_EN)). When an oscillation is detected on the torque setpoint the rate loop gain is dynamically reduced instead of requiring a manual retune, and recovers to 1.0 once the oscillation stops. The lower bound is set with [MC_GC_GAIN_MIN](../advanced_config/parameter_reference.md#MC_GC_GAIN_MIN) (default `0.3`). Disabled by default. ### 안전 설정 @@ -66,15 +89,19 @@ Please continue reading for [upgrade instructions](#upgrade-guide). ### Estimation -- TBD +- EKF2 fuses dual-antenna GNSS heading from its own topic, `vehicle_gnss_heading`, at the heading's rate and measurement time instead of with each position sample. GNSS yaw fusion is gated on the heading itself (its baseline checks, and the spoofing and jamming state of the receiver providing it under [GNSS_CHECK](../advanced_config/parameter_reference.md#GNSS_CHECK), which stop it like position fusion), not on the position checks, and it keeps running when position and velocity fusion stop. `GPS_RAW_INT` and `GPS2_RAW` report the body-frame heading of the receiver that provides it. ([PX4-Autopilot#27102](https://github.com/PX4/PX4-Autopilot/pull/27102)) +- When the local position estimate is lost in flight because of GNSS, commander now reports the reason as an event: either the receiver checks that failed, or that the receiver stopped sending data. The ground station and the log show the cause ahead of the "GNSS data fusion stopped" message. ([PX4-Autopilot#28873](https://github.com/PX4/PX4-Autopilot/pull/28873)) +- EKF2 now caps the GNSS height observation noise at [EKF2_NOAID_NOISE](../advanced_config/parameter_reference.md#EKF2_NOAID_NOISE) only when no other height source is fused. With a barometer or another height source, a GNSS height with a poor reported vertical accuracy is no longer fused as more accurate than the receiver reports. ([PX4-Autopilot#29058](https://github.com/PX4/PX4-Autopilot/pull/29058)) ### 센서 - Enable [u-blox Diagnostics with u-center](../gps_compass/u-center.md) while the vehicle's GPS runs as usual. ([PX4-Autopilot#28280](https://github.com/PX4/PX4-Autopilot/pull/28280)). +- Disabling the selected IMU at runtime (setting its [CAL_ACCn_PRIO](../advanced_config/parameter_reference.md#CAL_ACC0_PRIO) or [CAL_GYROn_PRIO](../advanced_config/parameter_reference.md#CAL_GYRO0_PRIO) to `0`) now hands over to the next IMU without a sensor failure report, including while the vehicle is armed. A re-enabled IMU reappears in `sensors_status_imu` and the IMU consistency check only once it publishes new data. ([PX4-Autopilot#28811](https://github.com/PX4/PX4-Autopilot/pull/28811)) ### 시뮬레이션 -- TBD +- jMAVSim has been removed in favour of [SIH](../sim_sih/index.md) with the [Hawkeye](../sim_hawkeye/index.md) visualizer. See the [Upgrade Guide](#upgrade-guide). +- Gazebo: the GNSS failure injection commands (`failure gps off`, `stuck` and `wrong`) now apply to the NavSat data published by the gz bridge, consistent with the other simulator paths. ([PX4-Autopilot#28398](https://github.com/PX4/PX4-Autopilot/pull/28398)) ### Debug & Logging @@ -86,7 +113,7 @@ Please continue reading for [upgrade instructions](#upgrade-guide). ### uXRCE-DDS / Zenoh / ROS 2 -- TBD +- (uXRCE-DDS): SITL multi vehicle automatic namespace prefix is now `uav_{px4_instance}` and it is aligned with the behaviour of `UXRCE_DDS_NS_IDX`. ([PX4-Autopilot#28338](https://github.com/PX4/PX4-Autopilot/pull/28338)) ### MAVLink diff --git a/docs/ko/ros/mavros_custom_messages.md b/docs/ko/ros/mavros_custom_messages.md index e468d314578..531cb5f4ed6 100644 --- a/docs/ko/ros/mavros_custom_messages.md +++ b/docs/ko/ros/mavros_custom_messages.md @@ -327,10 +327,10 @@ MODULES make px4_fmu-v5_default upload ``` - - to build for SITL execute the following command in the root of the PX4-Autopilot directory (using jmavsim simulation): + - to build for SITL execute the following command in the root of the PX4-Autopilot directory (using SIH simulation): ```sh - make px4_sitl jmavsim + make px4_sitl_sih sihsim_quadx ``` ## 빌드 diff --git a/docs/ko/ros2/multi_vehicle.md b/docs/ko/ros2/multi_vehicle.md index 75d40061f22..0cb59fb3849 100644 --- a/docs/ko/ros2/multi_vehicle.md +++ b/docs/ko/ros2/multi_vehicle.md @@ -7,7 +7,7 @@ This is particular useful in simulation as only one agent needs to be started. The only requirements are -- To be able to run [multi-vehicle simulation](../simulation/multi-vehicle-simulation.md) without ROS 2 with the desired simulator ([Gazebo](../sim_gazebo_gz/multi_vehicle_simulation.md), [Gazebo Classic](../sim_gazebo_classic/multi_vehicle_simulation.md#multiple-vehicle-with-gazebo-classic), [FlightGear](../sim_flightgear/multi_vehicle.md) and [JMAVSim](../sim_jmavsim/multi_vehicle.md)). +- To be able to run [multi-vehicle simulation](../simulation/multi-vehicle-simulation.md) without ROS 2 with the desired simulator ([Gazebo](../sim_gazebo_gz/multi_vehicle_simulation.md), [Gazebo Classic](../sim_gazebo_classic/multi_vehicle_simulation.md#multiple-vehicle-with-gazebo-classic), [FlightGear](../sim_flightgear/multi_vehicle.md) and [SIH](../sim_sih/index.md#multi-vehicle-simulation)). - To be able to use [ROS 2](../ros2/user_guide.md) in a single vehicle simulation. ## Principle of Operation @@ -23,10 +23,10 @@ param set UXRCE_DDS_KEY $((px4_instance+1)) By doing so, `UXRCE_DDS_KEY` will always coincide with [MAV_SYS_ID](../advanced_config/parameter_reference.md#MAV_SYS_ID). ::: -Moreover, when `px4_instance` is greater than zero, a unique ROS 2 [namespace prefix](../middleware/uxrce_dds.md#customizing-the-namespace) in the form `px4_$px4_instance` is added: +Moreover, when `px4_instance` is greater than zero, a unique ROS 2 [namespace prefix](../middleware/uxrce_dds.md#customizing-the-namespace) in the form `uav_$px4_instance` is added: ```sh -uxrce_dds_ns="-n px4_$px4_instance" +uxrce_dds_ns="-n uav_$px4_instance" ``` :::info @@ -42,7 +42,7 @@ The default client configuration in simulation is summarized as follows: | ------------------ | -------------- | ---------------- | --------------------- | | not provided | 0 | `px4_instance+1` | none | | provided | 0 | `px4_instance+1` | `PX4_UXRCE_DDS_NS` | -| not provided | > 0 | `px4_instance+1` | `px4_${px4_instance}` | +| not provided | > 0 | `px4_instance+1` | `uav_${px4_instance}` | | provided | > 0 | `px4_instance+1` | `PX4_UXRCE_DDS_NS` | ## Adjusting `VehicleCommand` routing fields diff --git a/docs/ko/ros2/px4_ros2_control_interface.md b/docs/ko/ros2/px4_ros2_control_interface.md index cf6a2ee8d8f..b5e1aa86888 100644 --- a/docs/ko/ros2/px4_ros2_control_interface.md +++ b/docs/ko/ros2/px4_ros2_control_interface.md @@ -1,6 +1,6 @@ # PX4 ROS 2 Control Interface - + :::warning 실험 @@ -60,7 +60,7 @@ A mode defined using the interface library has the following properties: #### Mode Executor A mode executor is an optional component for scheduling modes. -For example, the mode executor for a custom payload delivery or survey mode might first trigger a take-off, then switch to the custom mode, and when that completes trigger an RTL. +For example, the mode executor for a custom payload delivery or survey mode might first trigger a take-off, then switch to the custom mode, and when that completes trigger a Return. Specifically, it has the following properties: @@ -737,8 +737,8 @@ This makes it independent of startup ordering in case of multiple external modes ### Replacing an Internal Mode -An external mode can replace an existing internal mode, such as [Return](../flight_modes/return.md) mode (RTL). -By doing so, whenever RTL gets selected (through the user or a failsafe situation), the external mode is used instead of the internal one. +An external mode can replace an existing internal mode, such as [Return](../flight_modes/return.md) mode. +By doing so, whenever it gets selected (through the user or a failsafe situation), the external mode is used instead of the internal one. The internal one is only used as a fallback when the external one becomes unresponsive or crashes. The replacement mode can be set in the settings of the `ModeBase` constructor: diff --git a/docs/ko/ros2/px4_ros2_waypoint_missions.md b/docs/ko/ros2/px4_ros2_waypoint_missions.md index 4a82072ff0e..09054f805dc 100644 --- a/docs/ko/ros2/px4_ros2_waypoint_missions.md +++ b/docs/ko/ros2/px4_ros2_waypoint_missions.md @@ -11,7 +11,7 @@ They completely bypass the existing PX4 mission mode and waypoint logic, and can ::: ROS 2 waypoint missions are effectively special PX4 ROS 2 custom modes that are run based on the content of a [JSON mission definition](#mission-definition). -Mission definitions can contain actions that reference existing PX4 modes, such as Takeoff mode or RTL, and can also be extended with arbitrary custom actions written in ROS. +Mission definitions can contain actions that reference existing PX4 modes, such as Takeoff or Return mode, and can also be extended with arbitrary custom actions written in ROS. A [mode executor](px4_ros2_control_interface.md#mode-executor) is used to schedule the modes. Mission definitions can be hard coded in the custom mission mode (either in code or statically loaded from a JSON string), or directly generated within the application. @@ -69,13 +69,13 @@ They are identified by a name, and any number of these can be registered with th A custom action is then run whenever a mission item with matching name is executed, and any extra arguments from the JSON definition are passed as arguments (for example an altitude for a takeoff action). Actions can call other actions, run any mode (PX4 or external by its ID), run a trajectory, or run any other external action before deciding when to continue the mission. -There is a set of default actions, for example for RTL, Land, etc. +There is a set of default actions, for example for Return, Land, etc. These simply trigger the corresponding PX4 mode. They can be disabled or replaced with custom implementations. There are also some special actions (which can be replaced as well): - `OnFailure`: this is called in case of a failure, e.g. a mode switch failed, a non-existing action is called (by another action) or by an explicit call to `MissionExecutor::abort()`. - The default is to run RTL, with fallback to Land. + The default is to run Return, with fallback to Land. - `OnResume`: this is called when resuming a mission (either from the ground or in-air). It handles a number of cases: - when called with an argument `action="storeState"`: this can be used to store the current position when the mission is deactivated, so it can be resumed from the same position. diff --git a/docs/ko/security/index.md b/docs/ko/security/index.md new file mode 100644 index 00000000000..5018eafd941 --- /dev/null +++ b/docs/ko/security/index.md @@ -0,0 +1,26 @@ +# Security + +Securing PX4 for a production vehicle is the integrator's responsibility. + +:::tip +PX4 is open by default: every PX4 control interface is unauthenticated, unsigned and unencrypted, and any peer that can reach a link can command the vehicle. +This is intended! +::: + +This section provides links to security documentation for integrators and security researchers. + +## Integrators + +- [MAVLink Security Hardening](../mavlink/security_hardening.md) — what an unauthenticated link exposes, and the checklist for a production deployment. +- [MAVLink Message Signing](../mavlink/message_signing.md) — authenticating MAVLink frames, and what signing does not cover. +- [Bootloader Secure Boot](../advanced_config/bootloader_secure_boot.md) — verifying firmware at boot, and replacing the committed test key. +- [Log Encryption](../dev_log/log_encryption.md) — encrypting flight logs at rest. +- [Read-Only Parameters](../advanced/parameters_and_configurations.md#read-only-parameters) — locking down settings that end users should not change. + +Securing the link itself sits below PX4. +An encrypted radio, a VPN or IPsec uses standard cryptography and protects every interface at once, including the ones MAVLink signing does not cover. + +## Security Researchers + +- [Security Policy](https://github.com/PX4/PX4-Autopilot/blob/main/SECURITY.md) — supported versions, how to report a vulnerability, and the rules for AI-assisted findings. +- [Security Scope](https://github.com/PX4/PX4-Autopilot/blob/main/SECURITY_SCOPE.md) — where PX4's security boundary sits, and what is in scope for a report. diff --git a/docs/ko/sensor/airspeed.md b/docs/ko/sensor/airspeed.md index e445ef3fda9..c16b4a58a2b 100644 --- a/docs/ko/sensor/airspeed.md +++ b/docs/ko/sensor/airspeed.md @@ -25,7 +25,7 @@ For fixed-wing flight it is the airspeed that guarantees lift — not ground spe - [RCDrone Digital AirSpeed sensor ASPD-DLVR](https://rcdrone.top/products/matek-mateksys-digital-airspeed-sensor-aspd-dlvr) - DroneCAN interface - [Holybro High Precision DroneCAN Airspeed Sensor - DLVR](https://holybro.com/collections/sensors/products/high-precision-dronecan-airspeed-sensor-dlvr) - - [RaccoonLab Cyphal/CAN and DroneCAN Airspeed Sensor - MS4525DO](https://raccoonlab.co/tproduct/360882105-652259850171-cyphal-and-dronecan-airspeed-v2) + - [RaccoonLab Cyphal/CAN and DroneCAN Airspeed Sensor - MS4525DO](https://docs.raccoonlab.co/guide/airspeed/) - [Avionics Anonymous Air Data Computer with OAT probe](https://www.tindie.com/products/avionicsanonymous/uavcan-air-data-computer-airspeed-sensor/) - [UAV-DEV GmbH DroneCAN Airspeed and Barometer Sensor - AUAV](https://wiki.uav-dev.com/en/product/airspeed/auav) - Based on [Venturi effect](https://en.wikipedia.org/wiki/Venturi_effect) diff --git a/docs/ko/sensor/barometer.md b/docs/ko/sensor/barometer.md index bda05dfcb3a..a281b06818b 100644 --- a/docs/ko/sensor/barometer.md +++ b/docs/ko/sensor/barometer.md @@ -15,7 +15,7 @@ Generally barometers require no user configuration (or thought)! They are also present in other hardware: - [CUAV NEO 3 Pro GNSS module](https://doc.cuav.net/gps/neo-series-gnss/en/neo-3-pro.html#key-data) ([MS5611](../modules/modules_driver_baro.md#ms5611)) -- [RaccoonLab L1 GNSS NEO-M8N](https://raccoonlab.co/tproduct/360882105-258620719271-cyphal-and-dronecan-gnss-m8n-magnetomete) +- [RaccoonLab L1 GNSS NEO-M8N](https://docs.raccoonlab.co/guide/gps_mag_baro/) At time of writing, drivers/parts include: bmp280, bmp388 (and BMP380), dps310, goertek (spl06), invensense (icp10100, icp10111, icp101xx, icp201xx), lps22hb, lps25h, lps33hw, maiertek (mpc2520), mpl3115a2, ms5611, ms5837, tcbp001ta. diff --git a/docs/ko/sensor/inertiallabs.md b/docs/ko/sensor/inertiallabs.md index bd3664a6bba..522c4a95fff 100644 --- a/docs/ko/sensor/inertiallabs.md +++ b/docs/ko/sensor/inertiallabs.md @@ -108,7 +108,7 @@ These uORB topics are published: - [sensor_gyro](../msg_docs/SensorGyro.md) - [sensor_mag](../msg_docs/SensorMag.md) - [sensor_baro](../msg_docs/SensorBaro.md) -- [sensor_gps](../msg_docs/SensorGps.md) +- [sensor_gnss](../msg_docs/SensorGnss.md) If enabled as an external INS, publishes: diff --git a/docs/ko/sensor/microstrain.md b/docs/ko/sensor/microstrain.md index 0f14391f521..c4f018e194d 100644 --- a/docs/ko/sensor/microstrain.md +++ b/docs/ko/sensor/microstrain.md @@ -179,7 +179,7 @@ The MicroStrain driver continuously publishes sensor data to the following uORB For GNSS/INS devices, GPS data is also published to: -- [sensor_gps](../msg_docs/SensorGps.md) +- [sensor_gnss](../msg_docs/SensorGnss.md) If used as an external INS replacing EKF2, it publishes: diff --git a/docs/ko/sensor/rangefinders.md b/docs/ko/sensor/rangefinders.md index caea6c5b52d..8a1b4e0953b 100644 --- a/docs/ko/sensor/rangefinders.md +++ b/docs/ko/sensor/rangefinders.md @@ -158,7 +158,7 @@ The [Avionics Anonymous UAVCAN Laser Altimeter Interface](../dronecan/avanon_las ### RaccoonLab Cyphal and DroneCAN Rangefinder Adapter -The [RaccoonLab Cyphal and DroneCAN Rangefinder Adapter](https://raccoonlab.co/tproduct/360882105-910084093051-cyphal-and-dronecan-rangefinder-adapter) allows several common rangefinders to be connected to the CAN bus via Cyphal or DroneCAN, providing a more robust interface than I2C or UART. +The [RaccoonLab Cyphal and DroneCAN Rangefinder Adapter](https://docs.raccoonlab.co/guide/rangefinder/) allows several common rangefinders to be connected to the CAN bus via Cyphal or DroneCAN, providing a more robust interface than I2C or UART. This adapter efficiently reads measurements via I2C or UART and publishes range data in meters, making it a versatile solution for UAVs, robotics, and technical documentation applications. Supported rangefinders include: diff --git a/docs/ko/sensor/sbgecom.md b/docs/ko/sensor/sbgecom.md index 2cb5ba4cdba..a2d58ae547d 100644 --- a/docs/ko/sensor/sbgecom.md +++ b/docs/ko/sensor/sbgecom.md @@ -136,7 +136,7 @@ The sbgECom driver always publishes the unit's data to the following uORB topics if configured as a GNSS, publishes: -- [sensor_gps](../msg_docs/SensorGps.md) +- [sensor_gnss](../msg_docs/SensorGnss.md) and, if configured as an INS, publishes: diff --git a/docs/ko/sensor/vectornav.md b/docs/ko/sensor/vectornav.md index 4d0b596b922..ba4e06b75d0 100644 --- a/docs/ko/sensor/vectornav.md +++ b/docs/ko/sensor/vectornav.md @@ -118,7 +118,7 @@ The VectorNav driver always publishes the unit's data to the following UOrb topi - [sensor_gyro](../msg_docs/SensorGyro.md) - [sensor_mag](../msg_docs/SensorMag.md) - [sensor_baro](../msg_docs/SensorBaro.md) -- [sensor_gps](../msg_docs/SensorGps.md) +- [sensor_gnss](../msg_docs/SensorGnss.md) and, if enabled as an external INS, publishes: diff --git a/docs/ko/sim_gazebo_gz/index.md b/docs/ko/sim_gazebo_gz/index.md index daaae6a225a..1a86f2b5dc4 100644 --- a/docs/ko/sim_gazebo_gz/index.md +++ b/docs/ko/sim_gazebo_gz/index.md @@ -359,7 +359,7 @@ See [Simulation > Environment Configuration](../simulation/index.md#environment- The PX4 Gazebo worlds and models databases [can be found on GitHub here](https://github.com/PX4/PX4-gazebo-models). :::info -`gz_env.sh.in` is compiled and made available in `$PX4_DIR/build/px4_sitl_default/rootfs/gz_env.sh` +`gz_env.sh.in` is compiled and made available in `$PX4_DIR/build/px4_sitl_default/gz_env.sh` ::: ### 예 diff --git a/docs/ko/sim_gazebo_gz/multi_vehicle_simulation.md b/docs/ko/sim_gazebo_gz/multi_vehicle_simulation.md index 51ab15f3c22..b6f00a8efaa 100644 --- a/docs/ko/sim_gazebo_gz/multi_vehicle_simulation.md +++ b/docs/ko/sim_gazebo_gz/multi_vehicle_simulation.md @@ -96,7 +96,7 @@ This allows for greater flexibility and customization. /px4_1/fmu/out/vehicle_attitude /px4_1/fmu/out/vehicle_control_mode /px4_1/fmu/out/vehicle_global_position -/px4_1/fmu/out/vehicle_gps_position +/px4_1/fmu/out/vehicle_gnss /px4_1/fmu/out/vehicle_local_position /px4_1/fmu/out/vehicle_odometry /px4_1/fmu/out/vehicle_status @@ -119,7 +119,7 @@ This allows for greater flexibility and customization. /px4_2/fmu/out/vehicle_attitude /px4_2/fmu/out/vehicle_control_mode /px4_2/fmu/out/vehicle_global_position -/px4_2/fmu/out/vehicle_gps_position +/px4_2/fmu/out/vehicle_gnss /px4_2/fmu/out/vehicle_local_position /px4_2/fmu/out/vehicle_odometry /px4_2/fmu/out/vehicle_status @@ -142,7 +142,7 @@ This allows for greater flexibility and customization. /px4_3/fmu/out/vehicle_attitude /px4_3/fmu/out/vehicle_control_mode /px4_3/fmu/out/vehicle_global_position -/px4_3/fmu/out/vehicle_gps_position +/px4_3/fmu/out/vehicle_gnss /px4_3/fmu/out/vehicle_local_position /px4_3/fmu/out/vehicle_odometry /px4_3/fmu/out/vehicle_status diff --git a/docs/ko/sim_gazebo_gz/worlds.md b/docs/ko/sim_gazebo_gz/worlds.md index 6866a79c039..56069f275e5 100644 --- a/docs/ko/sim_gazebo_gz/worlds.md +++ b/docs/ko/sim_gazebo_gz/worlds.md @@ -30,7 +30,7 @@ This is used in conjunction with the [x500_mono_cam_down](../sim_gazebo_gz/vehic Baylands world surrounded by water. -[PX4-gazebo-models/main/worlds/bayland.sdf](https://github.com/PX4/PX4-gazebo-models/blob/main/worlds/baylands.sdf) +[PX4-gazebo-models/main/worlds/baylands.sdf](https://github.com/PX4/PX4-gazebo-models/blob/main/worlds/baylands.sdf) ![Screenshot of Baylands world](../../assets/simulation/gazebo/worlds/baylands.png) diff --git a/docs/ko/sim_jmavsim/index.md b/docs/ko/sim_jmavsim/index.md index ed09f9d9a25..02b6dd42319 100644 --- a/docs/ko/sim_jmavsim/index.md +++ b/docs/ko/sim_jmavsim/index.md @@ -1,401 +1 @@ -# jMAVSim with SITL - -:::warning -This simulator is [community supported and maintained](../simulation/community_supported_simulators.md). -It may or may not work with current versions of PX4 and may be removed in future releases. - -See [Toolchain Installation](../dev_setup/dev_env.md) for information about the environments and tools supported by the core development team. -::: - -jMAVSim is a simple multirotor/Quad simulator that allows you to fly _copter_ type vehicles running PX4 around a simulated world. -It is easy to set up and can be used to test that your vehicle can take off, fly, land, and responds appropriately to various fail conditions (e.g. GPS failure). - -Supported Vehicles: - -- Quad - -This topic shows how to set up jMAVSim to connect with a SITL version of PX4. - -:::tip -jMAVSim can also be used for HITL Simulation ([as shown here](../simulation/hitl.md#jmavsim-quadrotor-only)). -::: - -## 설치 - -jMAVSim requires JDK 17 or later. -On Ubuntu and Windows, the [standard development environment setup](../dev_setup/dev_env.md) scripts install all required dependencies including Java. -On macOS, `./Tools/setup/macos.sh --sim-tools` installs a suitable JDK and links it into `/Library/Java/JavaVirtualMachines` (see [macOS Development Environment](../dev_setup/dev_env_mac.md)). -If you set up without `--sim-tools`, install Java manually as shown below. - -### macOS - -jMAVSim requires OpenJDK 17 or later. -Install it via Homebrew: - -```sh -brew install openjdk@17 -``` - -Homebrew installs OpenJDK but does not link it into your `PATH`, so you need to set `JAVA_HOME` for jMAVSim to find it. -Add this to your shell profile (e.g. `~/.zshrc`): - -```sh -export JAVA_HOME=$(/usr/libexec/java_home -v 17) -``` - -## Simulation Environment - -Software in the Loop Simulation runs the complete system on the host machine and simulates the autopilot. -It connects via local network to the simulator. -The setup looks like this: - -[![Mermaid graph: SITL Simulator](https://mermaid.ink/img/eyJjb2RlIjoiZ3JhcGggTFI7XG4gIFNpbXVsYXRvci0tPk1BVkxpbms7XG4gIE1BVkxpbmstLT5TSVRMOyIsIm1lcm1haWQiOnsidGhlbWUiOiJkZWZhdWx0In0sInVwZGF0ZUVkaXRvciI6ZmFsc2V9)](https://mermaid-js.github.io/mermaid-live-editor/#/edit/eyJjb2RlIjoiZ3JhcGggTFI7XG4gIFNpbXVsYXRvci0tPk1BVkxpbms7XG4gIE1BVkxpbmstLT5TSVRMOyIsIm1lcm1haWQiOnsidGhlbWUiOiJkZWZhdWx0In0sInVwZGF0ZUVkaXRvciI6ZmFsc2V9) - - - -## Running SITL - -After ensuring that the [simulation prerequisites](../dev_setup/dev_env.md) are installed on the system, just launch: The convenience make target will compile the POSIX host build and run the simulation. - -```sh -make px4_sitl_default jmavsim -``` - -This will bring up the PX4 shell: - -```sh -[init] shell id: 140735313310464 -[init] task name: px4 - -______ __ __ ___ -| ___ \ \ \ / / / | -| |_/ / \ V / / /| | -| __/ / \ / /_| | -| | / /^\ \ \___ | -\_| \/ \/ |_/ - -Ready to fly. - - -pxh> -``` - -It will also bring up a window showing a 3D view of the [jMAVSim](https://github.com/PX4/jMAVSim) simulator: - -![jMAVSim 3d View](../../assets/simulation/jmavsim/jmavsim.jpg) - -## Taking it to the Sky - -The system will start printing status information. -You will be able to start flying once you have a position lock (shortly after the console displays the message: _EKF commencing GPS fusion_). - -To takeoff enter the following into the console: - -```sh -pxh> commander takeoff -``` - -You can use _QGroundControl_ to fly a mission or to connect to a [joystick](#using-a-joystick). - -## Usage/Configuration Options - -Options that apply to all simulators are covered in the top level [Simulation](../simulation/index.md#sitl-simulation-environment) topic (some of these may be duplicated below). - -### Simulating Sensor/Hardware Failure - -[Simulate Failsafes](../simulation/failsafes.md) explains how to trigger safety failsafes like GPS failure and battery drain. - -### Set Custom Takeoff Location - -The default takeoff location in can be overridden using the environment variables: `PX4_HOME_LAT`, `PX4_HOME_LON`, and `PX4_HOME_ALT`. - -For example, to set the latitude, longitude and altitude: - -```sh -export PX4_HOME_LAT=28.452386 -export PX4_HOME_LON=-13.867138 -export PX4_HOME_ALT=28.5 -make px4_sitl_default jmavsim -``` - -### Change Simulation Speed - -The simulation speed can be increased or decreased with respect to realtime using the environment variable `PX4_SIM_SPEED_FACTOR`. - -To run at double real-time: - -```sh -PX4_SIM_SPEED_FACTOR=2 make px4_sitl_default jmavsim -``` - -To run at half real-time: - -```sh -PX4_SIM_SPEED_FACTOR=0.5 make px4_sitl_default jmavsim -``` - -To apply a factor to all SITL runs in the current session, use `EXPORT`: - -```sh -export PX4_SIM_SPEED_FACTOR=2 -make px4_sitl_default jmavsim -``` - -### Using a Joystick - -Joystick and thumb-joystick support are supported through _QGroundControl_ ([setup instructions here](../simulation/index.md#joystick-gamepad-integration)). - -### Simulating a Wifi Drone - -There is a special target to simulate a drone connected via Wifi on the local network: - -```sh -make broadcast jmavsim -``` - -The simulator broadcasts its address on the local network as a real drone would do. - -### Start JMAVSim and PX4 Separately - -You can start JMAVSim and PX4 separately: - -```sh -./Tools/simulation/jmavsim/jmavsim_run.sh -l -make px4_sitl none -``` - -This allows a faster testing cycle (restarting jMAVSim takes significantly more time). - -### Headless Mode - -To start jMAVSim without the GUI, set the env variable `HEADLESS=1` as shown: - -```sh -HEADLESS=1 make px4_sitl jmavsim -``` - -## 다중 차량 시뮬레이션 - -JMAVSim can be used for multi-vehicle simulation: [Multi-Vehicle Sim with JMAVSim](../sim_jmavsim/multi_vehicle.md). - -## Lockstep - -PX4 SITL and jMAVSim have been set up to run in _lockstep_. -What this means is that PX4 and the simulator run at the same speed, and therefore can react appropriately to sensor and actuator messages. -Lockstep makes it possible to [change the simulation speed](#change-simulation-speed), and also to pause it in order to step through code. - -#### Lockstep Sequence - -The sequence of steps for lockstep are: - -1. The simulation sends a sensor message [HIL_SENSOR](https://mavlink.io/en/messages/common.html#HIL_SENSOR) including a timestamp `time_usec` to update the sensor state and time of PX4. -2. PX4 receives this and does one iteration of state estimation, controls, etc. and eventually sends an actuator message [HIL_ACTUATOR_CONTROLS](https://mavlink.io/en/messages/common.html#HIL_ACTUATOR_CONTROLS). -3. The simulation waits until it receives the actuator/motor message, then simulates the physics and calculates the next sensor message to send to PX4 again. - -The system starts with a "freewheeling" period where the simulation sends sensor messages including time and therefore runs PX4 until it has initialized and responds with an actuator message. - -#### Disabling Lockstep - -The lockstep simulation can be disabled if, for example, SITL is to be used with a simulator that does not support this feature. -In this case the simulator and PX4 use the host system time and do not wait on each other. - -To disable lockstep in: - -- PX4, run `make px4_sitl_default boardconfig` and set the `BOARD_NOLOCKSTEP` "Force disable lockstep" symbol which is located under toolchain. -- jMAVSim, remove `-l` in [sitl_run.sh](https://github.com/PX4/PX4-Autopilot/blob/main/Tools/simulation/jsbsim/sitl_run.sh#L40), or make sure otherwise that the java binary is started without the `-lockstep` flag. - - - - - - - -## Extending and Customizing - -To extend or customize the simulation interface, edit the files in the **Tools/jMAVSim** folder. -The code can be accessed through the[jMAVSim repository](https://github.com/px4/jMAVSim) on Github. - -:::info -The build system enforces the correct submodule to be checked out for all dependencies, including the simulator. -It will not overwrite changes in files in the directory, however, when these changes are committed the submodule needs to be registered in the Firmware repo with the new commit hash. -To do so, `git add Tools/jMAVSim` and commit the change. -This will update the GIT hash of the simulator. -::: - -## Interfacing to ROS - -The simulation can be [interfaced to ROS](../simulation/ros_interface.md) the same way as onboard a real vehicle. - -## Important Files - -- The startup scripts are discussed in [System Startup](../concept/system_startup.md). -- The simulated root file system ("`/`" directory) is created inside the build directory here: `build/px4_sitl_default/rootfs`. - -## Display-Only Mode - -jMAVSim can run as a display-only renderer for other simulators (like [SIH](../sim_sih/index.md)), with its internal physics disabled. -In this mode, jMAVSim receives vehicle position via MAVLink and only renders the 3D view. - -To use jMAVSim as a display for SIH running in SITL: - -```sh -# Start SIH first -make px4_sitl_sih sihsim_quadx - -# In another terminal, start jMAVSim in display-only mode -./Tools/simulation/jmavsim/jmavsim_run.sh -p 19410 -u -q -o # 19410 is the default SIH display port -``` - -For SIH running on flight controller hardware: - -```sh -./Tools/simulation/jmavsim/jmavsim_run.sh -q -d /dev/ttyACM0 -b 2000000 -o -``` - -Use `-a` for airplane display or `-t` for tailsitter display. - -## Command-Line Reference - -The `jmavsim_run.sh` launch script accepts the following flags: - -| Flag | 설명 | -| ------------- | -------------------------------------------------------------------------------------------- | -| `-b ` | Serial baud rate (default: 921600) | -| `-d ` | Serial device path (e.g., `/dev/ttyACM0`) | -| `-u` | Use UDP connection instead of serial | -| `-i ` | Simulated MAVLink system ID | -| `-p ` | UDP port (default: 14560) | -| `-q` | No interactive console | -| `-s ` | TCP serial port | -| `-r ` | Render rate in Hz | -| `-l` | Enable lockstep | -| `-o` | Display-only mode (disable physics, render only) | -| `-a` | Use airplane model | -| `-t` | Use tailsitter model | -| `HEADLESS=1` | Environment variable: run without GUI window | - -## How jMAVSim Works - -jMAVSim is a Java-based lightweight simulator that communicates with PX4 via MAVLink HIL (Hardware-In-the-Loop) messages. - -In normal mode: - -1. PX4 sends actuator commands via [HIL_ACTUATOR_CONTROLS](https://mavlink.io/en/messages/common.html#HIL_ACTUATOR_CONTROLS). -2. jMAVSim runs its physics engine to compute the vehicle state. -3. jMAVSim sends sensor data back via [HIL_SENSOR](https://mavlink.io/en/messages/common.html#HIL_SENSOR) and [HIL_GPS](https://mavlink.io/en/messages/common.html#HIL_GPS). - -In **display-only mode** (`-o` flag), jMAVSim disables its physics engine and only reads [HIL_STATE_QUATERNION](https://mavlink.io/en/messages/common.html#HIL_STATE_QUATERNION) messages to render the vehicle position. -This allows it to visualize vehicles from other simulators like SIH. - -jMAVSim supports [lockstep synchronization](#lockstep) with PX4 (enabled with `-l` flag), ensuring deterministic simulation results. - -## Keyboard Shortcuts - -Camera modes in the jMAVSim 3D view: - -| Key | Camera Mode | -| -------------------------------- | ------------------------------------------------------- | -| **F** | First person (attached to vehicle) | -| **S** | Stationary (fixed position) | -| **G** | Gimbal (follows vehicle orientation) | -| **(default)** | Third person follow | - -## 문제 해결 - -### java.long.NoClassDefFoundError - -```sh -Exception in thread "main" java.lang.NoClassDefFoundError: javax/vecmath/Tuple3d -at java.base/java.lang.Class.forName0(Native Method) -at java.base/java.lang.Class.forName(Class.java:374) -at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:56) -Caused by: java.lang.ClassNotFoundException: javax.vecmath.Tuple3d -at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:466) -at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:566) -at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499) -... 3 more -Exception in thread "main" java.lang.NoClassDefFoundError: javax/vecmath/Tuple3d -at java.base/java.lang.Class.forName0(Native Method) -at java.base/java.lang.Class.forName(Class.java:374) -at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:56) -Caused by: java.lang.ClassNotFoundException: javax.vecmath.Tuple3d -at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:466) -at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:566) -at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499) -``` - -This error should no longer occur once the jMAVSim submodule is [updated to newer jar libs](https://github.com/PX4/jMAVSim/pull/119) and Java 11 or Java 14 should work fine. - -### An illegal reflective access operation has occurred - -This warning can be ignored (it will probably be displayed but the simulation will still work correctly). - -```sh -WARNING: An illegal reflective access operation has occurred -WARNING: Illegal reflective access by javax.media.j3d.JoglPipeline (rsrc:j3dcore.jar) to method sun.awt.AppContext.getAppContext() -WARNING: Please consider reporting this to the maintainers of javax.media.j3d.JoglPipeline -WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations -WARNING: All illegal access operations will be denied in a future release -Inconsistency detected by ld.so: dl-lookup.c: 112: check_match: Assertion version->filename == NULL || ! _dl_name_match_p (version->filename, map)' failed! -``` - -### java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper - -```sh -Exception in thread "main" java.lang.reflect.InvocationTargetException -at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) -at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) -at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) -at java.lang.reflect.Method.invoke(Method.java:498) -at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58) -Caused by: java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper -at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:807) -at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:886) -at java.awt.Window.getToolkit(Window.java:1358) -at java.awt.Window.init(Window.java:506) -at java.awt.Window.(Window.java:537) -at java.awt.Frame.(Frame.java:420) -at java.awt.Frame.(Frame.java:385) -at javax.swing.JFrame.(JFrame.java:189) -at me.drton.jmavsim.Visualizer3D.(Visualizer3D.java:104) -at me.drton.jmavsim.Simulator.(Simulator.java:157) -at me.drton.jmavsim.Simulator.main(Simulator.java:678) -``` - -If you see this error, try this workaround: - -Edit the **accessibility.properties** file: - -```sh -sudo gedit /etc/java-8-openjdk/accessibility.properties -``` - -and comment out the line indicated below: - -```sh -#assistive_technologies=org.GNOME.Accessibility.AtkWrapper -``` - -For more info, check [this GitHub issue](https://github.com/PX4/PX4-Autopilot/issues/9557). -A contributor found the fix in [askubuntu.com](https://askubuntu.com/questions/695560/assistive-technology-not-found-awterror). - -### Exception in thread "main" java.lang.UnsupportedClassVersionError - -When compiling jMAVsim, you might encounter the following error: - -```sh -Exception in thread "main" java.lang.UnsupportedClassVersionError: me/drton/jmavsim/Simulator has been compiled by a more recent version of the Java Runtime (class file version 59.0), this version of the Java Runtime only recognizes class file versions up to 58.0 -``` - -This error is telling you, you need a more recent version of Java in your environment. -Class file version 58 corresponds to jdk14, version 59 to jdk15, version 60 to jdk 16 etc. - -To fix it under macOS, install a newer OpenJDK via Homebrew: - -```sh -brew install openjdk@17 -``` + diff --git a/docs/ko/sim_jmavsim/multi_vehicle.md b/docs/ko/sim_jmavsim/multi_vehicle.md index ba4100b5119..f290cdc9e72 100644 --- a/docs/ko/sim_jmavsim/multi_vehicle.md +++ b/docs/ko/sim_jmavsim/multi_vehicle.md @@ -1,53 +1 @@ -# Multi-Vehicle Simulation with JMAVSim - -This topic explains how to simulate multiple UAV (multicopter) vehicles using [JMAVSim](../sim_jmavsim/index.md) and SITL. -All vehicle instances are started at the same position in the simulation. - -:::tip -This is the easiest way to simulate multiple vehicles running PX4. -It is suitable for testing multi-vehicle support in _QGroundControl_ (or the [MAVSDK](https://mavsdk.mavlink.io/), etc.). -[Multi-Vehicle Simulation with Gazebo](../simulation/multi-vehicle-simulation.md) should be used for swarm simulations with many vehicles, or for testing features like computer vision that are only supported by Gazebo. -::: - -## How to Start Multiple Instances - -To start multiple instances (on separate ports): - -1. Build PX4 - - ```sh - make px4_sitl_default - ``` - -2. Run **sitl_multiple_run.sh**, specifying the number of instances to start (e.g. 2): - - ```sh - ./Tools/sitl_multiple_run.sh 2 - ``` - -3. Start the first instance in the same terminal (this will run in the foreground): - - ```sh - ./Tools/simulation/jmavsim/jmavsim_run.sh -l - ``` - -4. Open a new terminal for each subsequent instance, specifying the _simulation_ TCP port for the instance: - - ```sh - ./Tools/simulation/jmavsim/jmavsim_run.sh -p 4560 -l - ``` - - The port should be set to `4560+i` where `i` iterates for each instance (from `0` to `N-1`) - -_QGroundControl_ should automatically connect to all the new vehicle instances (all GCS traffic is sent to PX4's remote UDP port: `14550` from all instances). -The vehicle that is currently being controlled is displayed in the application to bar; you can select this vehicle text to display a selection list of all of the (simulated) connected vehicle instances (`Vehicle 1`, `Vehicle 2`, etc.) and choose a new vehicle to control. - -Developer APIs such as _MAVSDK_ or _MAVROS_ can connect to individual instances by listening on sequentially allocated PX4 remote UDP ports from `14540` (first instance) to `14549`. -Additional instances _all_ connect to port `14549`. - -> **Tip** The **sitl_multiple_run.sh** script starts a separate process for each vehicle. -> To restart the simulations after killing one of them, you must call **sitl_multiple_run.sh** again, and also restart each of the individual instances in their own terminals. - -## Additional Resources - -- See [Simulation](../simulation/index.md) for more information about the port configuration. + diff --git a/docs/ko/sim_sih/hardware.md b/docs/ko/sim_sih/hardware.md index 6b6f763499a..73271663f95 100644 --- a/docs/ko/sim_sih/hardware.md +++ b/docs/ko/sim_sih/hardware.md @@ -94,7 +94,6 @@ You can add SIH to any board -- see [Check if SIH is in Firmware](#check-if-sih- - A flight controller with SIH module included in firmware (see [Firmware Builds with SIH](#firmware-builds-with-sih)). - USB connection for QGroundControl. -- Optional: jMAVSim for 3D visualization via serial link (see [Visualization](#hardware-visualization)). ## Check if SIH is in Firmware @@ -115,16 +114,24 @@ If you need a visual aid to see what the simulated vehicle is doing on hardware: Connect the flight controller via USB. QGC shows the vehicle on the map view with attitude, position, and telemetry, the same as a real flight. -### jMAVSim (3D Display-Only) +### Hawkeye (3D Display-Only) -jMAVSim can render a 3D view of the vehicle over a serial connection. No physics are simulated in jMAVSim -- it is display-only. +[Hawkeye](../sim_hawkeye/index.md) can render a 3D view of the vehicle from the [HIL_STATE_QUATERNION](https://mavlink.io/en/messages/common.html#HIL_STATE_QUATERNION) messages SIH sends. +No physics are simulated in Hawkeye: it is display-only. + +Hawkeye listens on UDP, so bridge the flight controller's serial link to UDP port 19410 (for example with [MAVProxy](https://ardupilot.org/mavproxy/)), then start Hawkeye: ```sh -./Tools/simulation/jmavsim/jmavsim_run.sh -q -d /dev/ttyACM0 -b 2000000 -o +# Terminal 1 +mavproxy.py --master /dev/ttyACM0 --out udp:localhost:19410 --out udp:localhost:14550 + +# Terminal 2 +hawkeye ``` Where `/dev/ttyACM0` is the serial device for the flight controller. On macOS, this is typically `/dev/tty.usbmodem*`. +The second `--out` keeps QGroundControl connected on its default port. ## Controlling Actuators diff --git a/docs/ko/sim_sih/index.md b/docs/ko/sim_sih/index.md index 8e8acb7ae80..7edc0aff743 100644 --- a/docs/ko/sim_sih/index.md +++ b/docs/ko/sim_sih/index.md @@ -245,7 +245,7 @@ The specific differences for SIH simulation airframes are listed in the sections ::: -- `param set-default SENS_GPS0_DELAY 0` to improve state estimator performance (the assumption of instant GPS measurements would normally be unrealistic, but is accurate for SIH). +- `param set-default SENS_GNSS0_DELAY 0` to improve state estimator performance (the assumption of instant GPS measurements would normally be unrealistic, but is accurate for SIH). ### SIH on Flight Controller diff --git a/docs/ko/simulation/community_supported_simulators.md b/docs/ko/simulation/community_supported_simulators.md index 1c0702bde1b..f748ec08f41 100644 --- a/docs/ko/simulation/community_supported_simulators.md +++ b/docs/ko/simulation/community_supported_simulators.md @@ -16,7 +16,6 @@ Questions about these tools should be raised on the [discussion forums](../contr | ---------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | [AirSim](../sim_airsim/index.md) |

A cross platform simulator that provides physically and visually realistic simulations. This simulator is resource intensive, and requires a significantly more powerful computer than the other simulators described here.

Supported Vehicles: Iris (MultiRotor model and a configuration for PX4 QuadRotor in the X configuration).

| | [FlightGear](../sim_flightgear/index.md) |

A simulator that provides physically and visually realistic simulations. In particular it can simulate many weather conditions, including thunderstorms, snow, rain and hail, and can also simulate thermals and different types of atmospheric flows. [Multi-vehicle simulation](../sim_flightgear/multi_vehicle.md) is also supported.

Supported Vehicles: Plane, Autogyro, Rover

| -| [JMAVSim](../sim_jmavsim/index.md) |

A simple multirotor/quad simulator. This was previously part of the PX4 development toolchain but was removed in favour of [Gazebo](../sim_gazebo_gz/index.md).

Supported Vehicles: Quad

| | [JSBSim](../sim_jsbsim/index.md) |

A simulator that provides advanced flight dynamics models. This can be used to model realistic flight dynamics based on wind tunnel data.

Supported Vehicles: Plane, Quad, Hex

| | [PteroSim](../sim_pterosim/index.md) |

Proprietary high-fidelity UAV simulation built on Unreal Engine 5 and JSBSim. Connects to PX4 SITL over the Simulator MAVLink API with lockstep synchronization.

Supported Vehicles: Free tier: Multicopter. Paid tiers: Fixed-wing, VTOL, Helicopter.

| | [RotorPy](../sim_rotorpy/index.md) |

A Python-based multirotor simulation environment with aerodynamic forces and moments, actuator limits, sensor noise, wind, obstacles, and a Gymnasium interface for research workflows.

Supported Vehicles: Quad

| diff --git a/docs/ko/simulation/failsafes.md b/docs/ko/simulation/failsafes.md index 01cb386cd0c..1e8d9af367f 100644 --- a/docs/ko/simulation/failsafes.md +++ b/docs/ko/simulation/failsafes.md @@ -83,6 +83,6 @@ failure gps ok ``` :::tip -To test the [GNSS redundancy failsafe](../advanced_config/parameter_reference.md#COM_GNSSLOSS_ACT) you can simulate a second GPS receiver: set the antenna-offset parameter [SENS_GPS1_OFFX](../advanced_config/parameter_reference.md#SENS_GPS1_OFFX) or [SENS_GPS1_OFFY](../advanced_config/parameter_reference.md#SENS_GPS1_OFFY) to a non-zero value, and the simulator publishes a second `sensor_gps` instance offset by that distance (in metres). +To test the [GNSS redundancy failsafe](../advanced_config/parameter_reference.md#COM_GNSSLOSS_ACT) you can simulate a second GPS receiver: set the antenna-offset parameter [SENS_GNSS1_OFFX](../advanced_config/parameter_reference.md#SENS_GNSS1_OFFX) or [SENS_GNSS1_OFFY](../advanced_config/parameter_reference.md#SENS_GNSS1_OFFY) to a non-zero value, and the simulator publishes a second `sensor_gnss` instance offset by that distance (in metres). You can then fail an individual receiver with the `-i` flag (`-i 0` = all instances, `-i 1` = first GPS, `-i 2` = second), for example `failure gps wrong -i 2`. ::: diff --git a/docs/ko/simulation/hardware.md b/docs/ko/simulation/hardware.md index ad1229bcfa7..5ef1e8d9837 100644 --- a/docs/ko/simulation/hardware.md +++ b/docs/ko/simulation/hardware.md @@ -9,14 +9,14 @@ It can surface issues with running PX4 that might hidden when running on a deskt Two simulation approaches are available, controlled by the [SYS_HITL](../advanced_config/parameter_reference.md#SYS_HITL) parameter: -- **[HITL Simulation](../simulation/hitl.md) (`SYS_HITL=1`):** An external simulator (Gazebo Classic or jMAVSim) runs physics on a companion computer and sends sensor data to the flight controller via MAVLink HIL messages. Requires a USB/UART connection and simulator setup. +- **[HITL Simulation](../simulation/hitl.md) (`SYS_HITL=1`):** An external simulator (Gazebo Classic) runs physics on a companion computer and sends sensor data to the flight controller via MAVLink HIL messages. Requires a USB/UART connection and simulator setup. - **[SIH on Hardware](../sim_sih/hardware.md) (`SYS_HITL=2`):** A C++ physics model runs directly on the flight controller itself. No external simulator, no companion computer, no MAVLink sensor data. Just set the parameter and reboot. ## HITL vs SIH {#comparision} | | HITL (`SYS_HITL=1`) | SIH (`SYS_HITL=2`) | | ----------------- | ---------------------------------------------------------------------- | ---------------------------------------------------- | -| Physics model | External simulator (Gazebo Classic, jMAVSim) | Internal C++ module | +| Physics model | External simulator (Gazebo Classic) | Internal C++ module | | Communication | MAVLink HIL messages | uORB (internal) | | External process | Required | Not required | | Setup complexity | Higher | Lower | diff --git a/docs/ko/simulation/hitl.md b/docs/ko/simulation/hitl.md index fc5ad84b0ad..5ef28035849 100644 --- a/docs/ko/simulation/hitl.md +++ b/docs/ko/simulation/hitl.md @@ -10,7 +10,8 @@ See [Toolchain Installation](../dev_setup/dev_env.md) for information about the HITL(Hardware-in-the-Loop)은 일반 PX4 펌웨어가 실제 비행 콘트롤러 하드웨어에서 실행되는 시뮬레이션 모드입니다. 이 접근 방식은 실제 하드웨어에서 대부분의 실제 비행 코드를 테스트할 수 있습니다. -PX4 supports HITL for multicopters (using [jMAVSim](../sim_jmavsim/index.md) or [Gazebo Classic](../sim_gazebo_classic/index.md)) and VTOL (using Gazebo Classic). +PX4 supports HITL for multicopters and VTOL using [Gazebo Classic](../sim_gazebo_classic/index.md). +To simulate on flight controller hardware without an external simulator, use [SIH on hardware](../sim_sih/hardware.md). For a comparison of HITL and SIH on hardware, see [Hardware Simulation](../simulation/hardware.md). @@ -18,31 +19,31 @@ For a comparison of HITL and SIH on hardware, see [Hardware Simulation](../simul The set of compatible airframes vs simulators is: -| 기체 | `SYS_AUTOSTART` | Gazebo Classic | jMAVSim | -| ---------------------------------------------------------------------------------------------------------------- | --------------- | -------------- | ------- | -| [HIL Quadcopter X](../airframes/airframe_reference.md#copter_simulation_hil_quadcopter_x) | 1001 | Y | Y | -| [HIL Standard VTOL QuadPlane](../airframes/airframe_reference.md#vtol_standard_vtol_hil_standard_vtol_quadplane) | 1002 | Y | | +| 기체 | `SYS_AUTOSTART` | Gazebo Classic | +| ---------------------------------------------------------------------------------------------------------------- | --------------- | -------------- | +| [HIL Quadcopter X](../airframes/airframe_reference.md#copter_simulation_hil_quadcopter_x) | 1001 | Y | +| [HIL Standard VTOL QuadPlane](../airframes/airframe_reference.md#vtol_standard_vtol_hil_standard_vtol_quadplane) | 1002 | Y | ## HITL Simulation Environment {#simulation_environment} HITL(Hardware-in-the-Loop) 시뮬레이션을 사용하여, 일반 PX4 펌웨어가 실제 하드웨어에서 실행됩니다. -JMAVSim or Gazebo Classic (running on a development computer) are connected to the flight controller hardware via USB/UART. +Gazebo Classic (running on a development computer) is connected to the flight controller hardware via USB/UART. The simulator acts as gateway to share MAVLink data between PX4 and _QGroundControl_. :::info The simulator can also be connected via UDP if the flight controller has networking support and uses a stable, low-latency connection (e.g. a wired Ethernet connection - WiFi is usually not sufficiently reliable). -For example, this configuration has been tested with PX4 running on a Raspberry Pi connected via Ethernet to the computer (a startup configuration that includes the command for running jMAVSim can be found in [px4_hil.config](https://github.com/PX4/PX4-Autopilot/blob/main/posix-configs/rpi/px4_hil.config)). +For example, this configuration has been tested with PX4 running on a Raspberry Pi connected via Ethernet to the computer (the startup configuration can be found in [px4_hil.config](https://github.com/PX4/PX4-Autopilot/blob/main/posix-configs/rpi/px4_hil.config)). ::: 아래 다이어그램은 시뮬레이션 환경을 나타냅니다. - A HITL configuration is selected (via _QGroundControl_) that doesn't start any real sensors. -- _jMAVSim_ or _Gazebo Classic_ are connected to the flight controller via USB. +- _Gazebo Classic_ is connected to the flight controller via USB. - The simulator is connected to _QGroundControl_ via UDP and bridges its MAVLink messages to PX4. -- _Gazebo Classic_ and _jMAVSim_ can also connect to an offboard API and bridge MAVLink messages to PX4. +- _Gazebo Classic_ can also connect to an offboard API and bridge MAVLink messages to PX4. - (Optional) A serial connection can be used to connect Joystick/Gamepad hardware via _QGroundControl_. -![HITL Setup - jMAVSim and Gazebo Classic](../../assets/simulation/px4_hitl_overview_jmavsim_gazebo.svg) +![HITL Setup - Gazebo Classic](../../assets/simulation/px4_hitl_overview_jmavsim_gazebo.svg) ## HITL 대 SITL @@ -165,30 +166,6 @@ Make sure _QGroundControl_ is not running! 5. Start _QGroundControl_. It should autoconnect to PX4 and Gazebo Classic. -#### jMAVSim(쿼드콥터 전용) - -:::info -Make sure _QGroundControl_ is not running! -::: - -1. 비행 콘트롤러를 컴퓨터에 연결하고, 부팅시까지 기다립니다. - -2. jMAVSim를 HITL 모드에서 실행: - - ```sh - ./Tools/simulation/jmavsim/jmavsim_run.sh -q -s -d /dev/ttyACM0 -b 921600 -r 250 - ``` - - ::: info - Replace the serial port name `/dev/ttyACM0` as appropriate. - On macOS this port would be `/dev/tty.usbmodem1`. - Windows(Cygwin 포함)에서는 COM1 또는 다른 포트입니다. Windows 장치 관리자에서 확인하십시오. - -::: - -3. Start _QGroundControl_. - PX4와 jMAVSim에 자동으로 연결되어야 합니다. - ## HITL에서 자율 임무 비행 You should be able to use _QGroundControl_ to [run missions](https://docs.qgroundcontrol.com/master/en/qgc-user-guide/fly_view/fly_view.html#missions) and otherwise control the vehicle. diff --git a/docs/ko/simulation/index.md b/docs/ko/simulation/index.md index 7ab9c7c9e15..0635e723d18 100644 --- a/docs/ko/simulation/index.md +++ b/docs/ko/simulation/index.md @@ -41,7 +41,7 @@ To run PX4 SITL without setting up a build environment, [pre-built packages and | 기능 | Gazebo | SIH | | ------------------------- | ------------------------------------------------- | -------------------------------------------------------------------------------------- | | **Default Mode** | GUI with 3D rendering | Headless (fastest iteration) | -| **3D Visualization** | Built-in (photorealistic) | Optional: QGC map or jMAVSim display-only | +| **3D Visualization** | Built-in (photorealistic) | Optional: QGC map or [Hawkeye](../sim_hawkeye/index.md) | | **Physics Engine** | External (gz-physics) | Internal (C++ module, uORB) | | **External Dependencies** | Gazebo packages, rendering libs | None | | **Vehicle Types** | Quad, VTOL, Plane, Rovers | Quad, Hex, Plane, Tailsitter, Std VTOL, Rover | @@ -67,7 +67,7 @@ For a detailed analysis of PX4 simulation user needs, priorities, and pain point - **Hardware integration testing without propellers:** Use [SIH on flight controller hardware](../sim_sih/index.md#sih-on-flight-controller-hardware) (`SYS_HITL=2`). :::info -SIH is headless by default. For optional 3D visualization, you can use [jMAVSim in display-only mode](../sim_sih/index.md#visualization-optional) or monitor the vehicle in QGroundControl's map view. +SIH is headless by default. For optional 3D visualization, you can use the [Hawkeye](../sim_hawkeye/index.md) visualizer or monitor the vehicle in QGroundControl's map view. ::: ## Simulator MAVLink API @@ -179,7 +179,7 @@ If you use the normal build system SITL `make` configuration targets (see next s make px4_sitl simulator[_vehicle-model] ``` -where `simulator` is `gz` (for Gazebo), `gazebo-classic`, `jmavsim` or some other simulator, and vehicle-model is a particular vehicle type supported by that simulator ([Gazebo](../sim_gazebo_gz/index.md) and [jMAVSim](../sim_jmavsim/index.md) only support multicopters at time of writing, while [Gazebo Classic](../sim_gazebo_classic/index.md) supports many different types). +where `simulator` is `gz` (for Gazebo), `gazebo-classic` or some other simulator, and vehicle-model is a particular vehicle type supported by that simulator ([Gazebo](../sim_gazebo_gz/index.md) only supports multicopters at time of writing, while [Gazebo Classic](../sim_gazebo_classic/index.md) supports many different types). 아래에는 여러가지 예가 있으며, 각 시뮬레이터의 개별 페이지에는 더 많은 예제들이 있습니다. @@ -193,9 +193,6 @@ make px4_sitl gazebo-classic_plane # Start Gazebo Classic with iris and optical flow make px4_sitl gazebo-classic_iris_opt_flow -# Start JMavSim with iris (default vehicle model) -make px4_sitl jmavsim - # Start PX4 with no simulator (i.e. to use your own "custom" simulator) make px4_sitl none_iris @@ -218,7 +215,7 @@ For more information see: [Building the Code > PX4 Make Build Targets](../dev_se ### Run Simulation Faster than Realtime {#simulation_speed} -SITL can be run faster or slower than real-time when using Gazebo, Gazebo Classic, jMAVSim, or SIH. +SITL can be run faster or slower than real-time when using Gazebo, Gazebo Classic, or SIH. The speed factor is set using the environment variable `PX4_SIM_SPEED_FACTOR`. @@ -231,7 +228,6 @@ This is what makes it possible to run the simulation at different speeds, and al - Gazebo: [Change Simulation Speed](../sim_gazebo_gz/index.md#change-simulation-speed) - Gazebo Classic: [Change Simulation Speed](../sim_gazebo_classic/index.md#change-simulation-speed) and [Lockstep](../sim_gazebo_classic/index.md#lockstep) -- jMAVSim: [Change Simulation Speed](../sim_jmavsim/index.md#change-simulation-speed) and [Lockstep](../sim_jmavsim/index.md#lockstep) - SIH: Supports `PX4_SIM_SPEED_FACTOR` for faster-than-realtime simulation. ### 시작 스크립트 diff --git a/docs/ko/simulation/multi-vehicle-simulation.md b/docs/ko/simulation/multi-vehicle-simulation.md index 496c6a02875..3cbb7d7b7b3 100644 --- a/docs/ko/simulation/multi-vehicle-simulation.md +++ b/docs/ko/simulation/multi-vehicle-simulation.md @@ -5,7 +5,6 @@ PX4는 다음 시뮬레이터를 사용하여 다중 차량 시뮬레이션을 - [Multi-Vehicle Sim with Gazebo](../sim_gazebo_gz/multi_vehicle_simulation.md) (both with and without ROS) - [Multi-Vehicle Sim with Gazebo Classic](../sim_gazebo_classic/multi_vehicle_simulation.md) (both with and without ROS) - [Multi-Vehicle Sim with FlightGear](../sim_flightgear/multi_vehicle.md) -- [Multi-Vehicle Sim with JMAVSim](../sim_jmavsim/multi_vehicle.md) - [Multi-Vehicle Sim with SIH](../sim_sih/index.md#multi-vehicle-simulation) 시뮬레이터의 선택은 시뮬레이션할 차량, 시뮬레이션 퀄러티, 시뮬레이션 기능, 시뮬레이션 차량 대수에 따라 달라집니다. @@ -19,8 +18,6 @@ PX4는 다음 시뮬레이터를 사용하여 다중 차량 시뮬레이션을 Note, this is the successor of [Gazebo Classic](../sim_gazebo_classic/index.md) (below). - [Gazebo Classic](../sim_gazebo_classic/index.md) is less accurate and less heavy-weight and supports many features and vehicles that aren't available for FlightGear. It can simulate many more vehicles at a time than FlightGear and it allows for different types of vehicles to be simulated at the same time. -- [JMAVSim](../sim_jmavsim/index.md) is a very light-weight simulator that supports only quadcopters. - 많은 쿼드콥터의 근사치를 시뮬레이션하는 경우에 권장됩니다. - [SIH](../sim_sih/index.md) is the lightest-weight option with zero external dependencies. Since SIH is headless and runs physics internally, it can launch many instances with minimal resource usage. It supports all 6 vehicle types (quad, hex, plane, tailsitter, standard VTOL, rover). diff --git a/docs/ko/test_and_ci/ai_review.md b/docs/ko/test_and_ci/ai_review.md new file mode 100644 index 00000000000..951b09a069f --- /dev/null +++ b/docs/ko/test_and_ci/ai_review.md @@ -0,0 +1,110 @@ +# AI Pull Request Review + +PX4 maintainers can ask an AI model to review a pull request. +The review is posted on the PR as a regular GitHub review comment, with inline comments on specific lines where it found problems. + +:::warning +This is a trial. +Reviews can be wrong, and the tool may change as we learn what works. +Feedback from maintainers is welcome in the maintainers' channel or as an issue. +::: + +## Who Can Use It + +Only people with write, maintain or admin access to the PX4-Autopilot repository can start a review. +In practice this is the [Dev Team](https://github.com/orgs/PX4/teams/dev-team) (see [Maintainers](../contribute/maintainers.md)). +A request from anyone else is ignored. + +## Starting a Review + +Post a comment on the open pull request that contains only this text: + +```txt +!ai-review +``` + +The comment must contain nothing else. +A sentence that mentions the command, a quote of it, or the command with a typo does not start a review. + +To pick the model or the effort level, add options on the same line: + +```txt +!ai-review model=sonnet effort=high +``` + +- `model`: `opus` (the default) or `sonnet`. +- `effort`: `low`, `medium`, `high`, `xhigh` (the default) or `max`. + +Both options apply to the first review pass only. +The second pass that confirms findings always uses Claude Opus at `high` effort (set in `Tools/ci/ai_review/models.json`), and its cost is included in the total. + +Within a few seconds your comment gets a 👀 reaction, which means the review has started. +When it finishes, the comment gets 🚀, or 😕 if the run failed. +A review takes about 5 to 15 minutes, depending on the size of the PR. +While it runs, an "AI PR Review" entry in the PR's checks shows its progress and links to the workflow run. +This check is informational and never blocks a merge. + +You can also start a review from the **Actions** tab: open the [AI PR Review](https://github.com/PX4/PX4-Autopilot/actions/workflows/pr-ai-review.yml) workflow, select **Run workflow** and enter the PR number. + +:::tip +Use reviews where a second opinion matters most: flight-critical code, new boards, large changes, and contributions from people new to the project. +Every review costs money (see [Cost](#cost)). +::: + +## What the Review Contains + +For an example, see [PR #28901](https://github.com/PX4/PX4-Autopilot/pull/28901). + +- Inline comments on specific lines, for findings that a second, independent model pass confirmed with high confidence. + When a small change fully fixes the problem, the comment includes a suggestion that the author can apply with one click. +- A "Before merge" list for issues with the pull request as a whole, such as missing test evidence, a description that does not match the change, or missing upgrade notes or documentation. +- A checklist covering whether the problem is real, test evidence, the description, compatibility, and documentation. +- A collapsed list of lower-confidence findings that may still be worth checking. +- The cost of the review, the model used and how long it took, at the bottom. + +The review is always a comment. +It never approves a pull request or requests changes: maintainers decide. + +Running the review again on the same pull request collapses the previous review's summary and marks it as superseded. +Its inline comments stay on the pull request and may refer to an older commit. + +If the model's safety filter declines to review a pull request, which occasionally happens, the bot posts that no review was done and quotes the reason it was given. + +## Cost + +Each review is billed to the PX4 project. +So far, reviews have cost between about $0.60 for a small change and $5 to $8 for a large board addition with Claude Opus, and less with Claude Sonnet. +The exact cost is shown at the bottom of every review. + +Claude Sonnet is faster and cheaper, but in testing it missed real problems that Claude Opus found, so Opus is the default. + +## How It Works + +1. A small job checks that the comment is exactly the command and that the commenter has write access, using the GitHub API. + If either check fails, nothing else runs. +2. The review job runs _Claude Code_ with Claude Opus on Amazon Bedrock, on a PX4 CI runner. + It reads the pull request, the surrounding code, linked issues, commit messages, CI status and git history. + It reviews against the same criteria as the `review-pr` skill used by maintainers locally, plus the contribution requirements (test evidence, an accurate description, upgrade notes and documentation). +3. A second model pass checks each finding against the code. + Only findings it confirms with high confidence are posted as inline comments. +4. The result is handed to the existing PR review poster workflow, which posts it on the pull request. + +The pull request is treated as untrusted input: + +- The reviewer can only read files and run a few read-only commands. + It never builds or runs the pull request's code. +- When it needs to check a calculation, it runs Python in an isolated `px4-dev` container with no network access and no credentials. +- The review job has no write access to GitHub; only the separate posting workflow does. +- The review code always comes from `main`. + A pull request cannot change how it is reviewed, and changes to the review tool only take effect once they are merged. + +## Changing the Review + +The code is in [`Tools/ci/ai_review/`](https://github.com/PX4/PX4-Autopilot/tree/main/Tools/ci/ai_review), a Python package with its own [README](https://github.com/PX4/PX4-Autopilot/blob/main/Tools/ci/ai_review/README.md). +The workflow is [`.github/workflows/pr-ai-review.yml`](https://github.com/PX4/PX4-Autopilot/blob/main/.github/workflows/pr-ai-review.yml). + +- The models and their default effort levels are set in `Tools/ci/ai_review/models.json`. +- The review criteria shared with the `review-pr` skill are in `.agents/skills/review-pr/review-criteria.md`. +- The CI-only prompts are in `Tools/ci/ai_review/prompts/`. + +Pull requests to improve the review are welcome. diff --git a/docs/ko/test_and_ci/bench_testing.md b/docs/ko/test_and_ci/bench_testing.md index edf73014810..f011c7b2647 100644 --- a/docs/ko/test_and_ci/bench_testing.md +++ b/docs/ko/test_and_ci/bench_testing.md @@ -79,7 +79,7 @@ A per-test watchdog turns a hung board into a named failure instead of a stuck t ## Simulated Flight on the FMU (SIH) -`sih/flight_mission.py` performs a complete hardware-in-the-loop flight without any host-side simulator: it switches the board to a [SIH airframe](../sim_sih/index.md) (`SYS_HITL=2`, physics computed on the autopilot), uploads a mission, arms through the NuttX shell, and asserts takeoff, waypoint progression, RTL, landing, and auto-disarm against per-phase timeouts. +`sih/flight_mission.py` performs a complete hardware-in-the-loop flight without any host-side simulator: it switches the board to a [SIH airframe](../sim_sih/index.md) (`SYS_HITL=2`, physics computed on the autopilot), uploads a mission, arms through the NuttX shell, and asserts takeoff, waypoint progression, Return, landing, and auto-disarm against per-phase timeouts. It runs as the last test of the default bench suite and also works standalone. Because it arms the flight controller, the suite asks for explicit confirmation on a terminal (type `arm`), and non-interactive runs skip it unless `--allow-arming` is passed. It first probes the running firmware for the SIH module and records a skip, not a failure, when the build does not include it. diff --git a/docs/ko/test_and_ci/index.md b/docs/ko/test_and_ci/index.md index 70673e133de..0f30e26b3c0 100644 --- a/docs/ko/test_and_ci/index.md +++ b/docs/ko/test_and_ci/index.md @@ -10,6 +10,7 @@ Test topics include: - [Unit Tests](../test_and_ci/unit_tests.md) - [Sanitizers](../test_and_ci/sanitizers.md) - Build SITL with ASan/TSan to catch memory errors and data races - [Continuous Integration (CI)](../test_and_ci/continous_integration.md) +- [AI Pull Request Review](../test_and_ci/ai_review.md) - Ask an AI model to review a pull request (maintainers, trial) - [Integration Testing](../test_and_ci/integration_testing.md) - [MAVSDK Integration Testing](../test_and_ci/integration_testing_mavsdk.md) - [PX4 ROS 2 Interface Library Integration Testing](../test_and_ci/integration_testing_px4_ros2_interface.md) diff --git a/docs/ko/test_and_ci/integration_testing_mavsdk.md b/docs/ko/test_and_ci/integration_testing_mavsdk.md index 6c7cad1503a..7164ed48f28 100644 --- a/docs/ko/test_and_ci/integration_testing_mavsdk.md +++ b/docs/ko/test_and_ci/integration_testing_mavsdk.md @@ -90,7 +90,7 @@ Run a single test by specifying the `model` and test `case` as command line opti For example, to test a multicopter mission using the SIH simulator: ```sh -test/mavsdk_tests/mavsdk_test_runner.py test/mavsdk_tests/configs/sih-sitl.json --speed-factor 10 --model quadx --case 'Fly square Multicopter Missions including RTL' +test/mavsdk_tests/mavsdk_test_runner.py test/mavsdk_tests/configs/sih-sitl.json --speed-factor 10 --model quadx --case 'Fly square Multicopter Missions including Return' ``` The easiest way to find out the current set of models and their associated test cases is to run all PX4 tests [as shown above](#run-all-px4-tests) (note, you can then cancel the build if you wish to test just one). @@ -108,8 +108,8 @@ About to run 39 test cases for 3 selected models (1 iteration): - 'Continue on baro stuck during mission (baro height mode)' - 'Continue on baro stuck during mission (GPS height mode)' - 'Takeoff and Land' - - 'Fly square Multicopter Missions including RTL' - - 'Fly square Multicopter Missions with manual RTL' + - 'Fly square Multicopter Missions including Return' + - 'Fly square Multicopter Missions with manual Return' - 'Fly straight Multicopter Mission' - 'Offboard takeoff and land' - 'Offboard position control' @@ -124,8 +124,8 @@ About to run 39 test cases for 3 selected models (1 iteration): - 'Continue on baro stuck during mission (baro height mode)' - 'Continue on baro stuck during mission (GPS height mode)' - 'Takeoff and Land' - - 'Fly square Multicopter Missions including RTL' - - 'Fly square Multicopter Missions with manual RTL' + - 'Fly square Multicopter Missions including Return' + - 'Fly square Multicopter Missions with manual Return' - 'Fly forward in position control' - 'Fly forward in altitude control' - tailsitter: @@ -137,8 +137,8 @@ About to run 39 test cases for 3 selected models (1 iteration): - 'Continue on baro stuck during mission (baro height mode)' - 'Continue on baro stuck during mission (GPS height mode)' - 'Takeoff and Land' - - 'Fly square Multicopter Missions including RTL' - - 'Fly square Multicopter Missions with manual RTL' + - 'Fly square Multicopter Missions including Return' + - 'Fly square Multicopter Missions with manual Return' - 'Fly forward in position control' - 'Fly forward in altitude control' ``` diff --git a/docs/ko/test_cards/fw_02_full_autonomous.md b/docs/ko/test_cards/fw_02_full_autonomous.md index 5a01c9a9587..cd5c91cd23a 100644 --- a/docs/ko/test_cards/fw_02_full_autonomous.md +++ b/docs/ko/test_cards/fw_02_full_autonomous.md @@ -2,7 +2,7 @@ ## Objective -To test the auto modes such as Mission, Takeoff, Hold, and RTL for fixed wing vehicles. +To test the auto modes such as Mission, Takeoff, Hold, and Return for fixed wing vehicles. ## Preflight @@ -10,7 +10,7 @@ Plan a mission on the ground. Ensure the mission has: - Takeoff as first waypoint - Changes in altitude throughout the mission -- Last waypoint is an RTL +- Last waypoint is a Return item - Duration of 1 to 2 minutes ## Flight Tests @@ -29,7 +29,7 @@ Plan a mission on the ground. Ensure the mission has:     ❏ Verify changes in altitude throughout the mission -    ❏ Verify Mission Ends in RTL +    ❏ Verify Mission Ends in Return     ❏ Duration of 1 to 2 minutes @@ -43,7 +43,7 @@ Plan a mission on the ground. Ensure the mission has:     ❏ Orbit radius and direction should match parameters -❏ RTL +❏ Return     ❏ Arm and takeoff in any manual mode @@ -51,7 +51,7 @@ Plan a mission on the ground. Ensure the mission has:     ❏ Engage Return mode -    ❏ Vehicle should climb to RTL altitude if below it +    ❏ Vehicle should climb to return altitude if below it     ❏ Vehicle should return to home and hold or land @@ -60,5 +60,5 @@ Plan a mission on the ground. Ensure the mission has: - 첫 시도시 임무 내용이 올라가야 함 - Vehicle should automatically takeoff upon engaging Auto - Waypoint tracking should be smooth with appropriate turn radius -- Vehicle should adjust height to RTL altitude before returning home +- Vehicle should adjust height to return altitude before returning home - Landing approach should be stable (if auto-land is configured) diff --git a/docs/ko/test_cards/mc_02_full_autonomous.md b/docs/ko/test_cards/mc_02_full_autonomous.md index 6e26b53ec9a..9f0b1fd7c50 100644 --- a/docs/ko/test_cards/mc_02_full_autonomous.md +++ b/docs/ko/test_cards/mc_02_full_autonomous.md @@ -2,7 +2,7 @@ ## Objective -To test the auto modes such as Mission, RTL, etc... +To test the auto modes such as Mission, Return, etc... ## Preflight @@ -10,7 +10,7 @@ Plan a mission on the ground. Ensure the mission has - Takeoff as first waypoint - Changes in Altitude throughout the mission -- Last waypoint is an RTL +- Last waypoint is a Return item - Duration of 5 to 6 minutes ## Flight Tests @@ -23,7 +23,7 @@ Plan a mission on the ground. Ensure the mission has     ❏ First waypoint set to Takeoff -    ❏ Enable Mission End RTL +    ❏ Enable Mission End Return     ❏ Duration of 5 to 6 minutes @@ -35,26 +35,26 @@ Plan a mission on the ground. Ensure the mission has     ❏ Engage Auto (Mission Mode) to trigger take-off -    ❏ Observe tracking, cornering and proper RTL performance +    ❏ Observe tracking, cornering and proper Return performance     ❏ Upon touching ground, copter should disarm automatically within 2 seconds (disarm time set by parameter: [COM_DISARM_LAND](../advanced_config/parameter_reference.md#COM_DISARM_LAND)) -❏ RTL +❏ Return     ❏ Arm and takeoff in position mode     ❏ Fly out ~10m from start point -    ❏ Engage RTL Mode +    ❏ Engage Return mode -    ❏ Observe tracking, cornering and proper RTL performance +    ❏ Observe tracking, cornering and proper Return performance ## 예상 결과 - 추력을 올릴 때 서서히 이륙한다 - 첫 시도시 임무 내용이 올라가야 함 - 자동 모드 인가시 기체는 자동으로 이륙해야 함 -- Vehicle should adjust height to RTL altitude before returning home +- Vehicle should adjust height to return altitude before returning home - 지면에 착륙시, 콥터가 지면에서 튀면 안됨