mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-08-17 22:29:21 +08:00
Build all targets / Scan for Board Targets (push) Has been cancelled
Build all targets / Seed [${{ matrix.chip_family }}] (push) Has been cancelled
Build all targets / Build [${{ matrix.runner }}][${{ matrix.group }}] (push) Has been cancelled
Build all targets / Upload Artifacts (push) Has been cancelled
Checks / Gate Checks [check_format] (push) Has been cancelled
Checks / Gate Checks [check_newlines] (push) Has been cancelled
Checks / Gate Checks [module_documentation] (push) Has been cancelled
Checks / Gate Checks [shellcheck_all] (push) Has been cancelled
Checks / Gate Checks [validate_module_configs] (push) Has been cancelled
Checks / Unit Tests (push) Has been cancelled
MacOS build / build (push) Has been cancelled
Ubuntu environment build / Build and Test (ubuntu:22.04) (push) Has been cancelled
Ubuntu environment build / Build and Test (ubuntu:24.04) (push) Has been cancelled
Container build / Set Tags and Variables (push) Has been cancelled
Container build / Build Container (amd64) (push) Has been cancelled
Container build / Build Container (arm64) (push) Has been cancelled
Container build / Deploy To Registry (push) Has been cancelled
Docs - Orchestrator / T1: Detect Changes (push) Has been cancelled
Docs - Orchestrator / T2: PR Metadata (push) Has been cancelled
Docs - Orchestrator / T2: Metadata Sync (push) Has been cancelled
Docs - Orchestrator / T2: Link Check (push) Has been cancelled
Docs - Orchestrator / T3: Build Site (push) Has been cancelled
Docs - Orchestrator / T4: Deploy (push) Has been cancelled
Failsafe Simulator Build / build (failsafe_web) (push) Has been cancelled
ITCM check / Checking nxp_mr-tropic (push) Has been cancelled
ITCM check / Checking nxp_tropic-community (push) Has been cancelled
ITCM check / Checking px4_fmu-v5x (push) Has been cancelled
ITCM check / Checking px4_fmu-v6xrt (push) Has been cancelled
ROS Integration Tests / build (push) Has been cancelled
ROS Translation Node Tests / Build and test [humble] (push) Has been cancelled
ROS Translation Node Tests / Build and test [jazzy] (push) Has been cancelled
SITL Tests / Testing PX4 iris (push) Has been cancelled
Docs - Crowdin - Upload Guide sources (en) / upload-to-crowdin (push) Has been cancelled
FLASH usage analysis / Analyzing px4_fmu-v5x (push) Has been cancelled
FLASH usage analysis / Analyzing px4_fmu-v6x (push) Has been cancelled
Python CI Checks / build (push) Has been cancelled
Sync ROS 2 messages to px4_msgs / sync_to_px4_msgs (push) Has been cancelled
FLASH usage analysis / Publish Results (push) Has been cancelled
Static Analysis / Clang-Tidy (push) Has been cancelled
* fix(simulation): preserve gravity and step_size in px4-rc.gzsim set_physics The set_physics service call in px4-rc.gzsim sent only real_time_factor. Other fields in gz.msgs.Physics (gravity, max_step_size) defaulted to 0 per protobuf semantics, silently zeroing world gravity in the gz physics engine when PX4_SIM_SPEED_FACTOR was set. Vehicles became weightless while PX4's accelerometer (sourced from the gz IMU plugin's cached SDF gravity) continued to report -9.81 m/s², making the bug invisible from PX4's side. Resolve the values via the live gz physics topic, fall back to the world SDF, and finally to Earth gravity / gz-harmonic default step size, then include the full set in the set_physics request. Fixes #27480 Signed-off-by: Marko T <marko.tavcar@c-astral.com> * fix(simulation): resolve world name in standalone and drop dead physics topic The gz physics topic queried for gravity/max_step_size does not exist in gz Harmonic (only a write-only set_physics service), so that branch always timed out and fell through. Read both values directly from the world SDF, which is the source of truth at load time. Also resolve PX4_GZ_WORLD from the running gz instance (clock topic) inside the readiness check, so standalone launches — where the world name is not known up front — can find the scene and the world SDF. Signed-off-by: Marko T <marko.tavcar@c-astral.com> * Update ROMFS/px4fmu_common/init.d-posix/px4-rc.gzsim Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com> * Update ROMFS/px4fmu_common/init.d-posix/px4-rc.gzsim Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com> * docs(simulation): clarify gravity-default fallback comment in px4-rc.gzsim Fix typo ("greavity") and reword the comment to clearly state that the hardcoded gravity/step-size defaults are only used when the world SDF cannot be located, and are wrong for custom-gravity worlds. Signed-off-by: Marko T <marko.tavcar@c-astral.com> --------- Signed-off-by: Marko T <marko.tavcar@c-astral.com> Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com>