ITADN

SITL: JSON rng_1 key not usable from Gazebo (wrong bitmasks)

#33341Openclydemcqueen 创建于 2026-06-05
C
clydemcqueencommented
## Bug Report ### Issue details SIM_JSON is looking at the `[1<<7 .. 1<<13)` bitmasks for the rng_x keys; it should be looking at the `[1<<10 .. 1<<16)` bitmasks. The resulting behavior depends what keys are present in the json string, which depends on which FDM you are using. For ardupilot_gazebo `rng_1` is not usable. **Version** This is on master. Introduced in https://github.com/ArduPilot/ardupilot/pull/31543 **Platform** [x] All [ ] AntennaTracker [ ] Copter [ ] Plane [ ] Rover [ ] Submarine **Hardware type** SITL
0 条评论