docker run --rm -w /src \
--platform linux/amd64 \
--env=CCACHE_DIR=/ccache \
--volume=${HOME}/.ccache:/ccache:rw \
--volume=$(pwd):/src:rw \
px4io/px4-dev-nuttx-jammy:latest \
/bin/bash -c "make ark_pi6x_default"Replace ark_pi6x_default with your target. Output: build/<target>/<target>.px4
- Docker Desktop with Rosetta enabled (Settings → General → "Use Rosetta for x86_64/amd64 emulation")
- Submodules initialized:
git submodule update --init --recursive
rm -rf build/<target>Edit src/modules/uxrce_dds_client/dds_topics.yaml
Add to the publications: section:
- topic: /fmu/out/sensor_optical_flow
type: px4_msgs::msg::SensorOpticalFlowAdd to the subscriptions: section:
- topic: /fmu/in/sensor_optical_flow
type: px4_msgs::msg::SensorOpticalFlowRebuild the firmware—the DDS client code regenerates automatically.