Location: examples/good_bad_advisor.exs (or examples/swarms/good_bad_advisor.exs)
Script outline:
- Start swarm with
:good and :bad on :sim, spaced apart
:good safety: default or indoor with reasonable limits
:bad safety: tight max_altitude_cm (or geofence)
- Coordinated SDK + takeoff
- Run a safe
:front / :shoulder_pair formation (both succeed) or
- Run per-drone missions where
:bad attempts an illegal climb
- Show
{:error, :partial, results} while :good remains flying
- Coordinated land or emergency
- Print telemetry snapshots
Also referenced from docs and article notes.
Location:
examples/good_bad_advisor.exs(orexamples/swarms/good_bad_advisor.exs)Script outline:
:goodand:badon:sim, spaced apart:goodsafety: default or indoor with reasonable limits:badsafety: tightmax_altitude_cm(or geofence):front/:shoulder_pairformation (both succeed) or:badattempts an illegal climb{:error, :partial, results}while:goodremains flyingAlso referenced from docs and article notes.