diff --git a/conf/airframes/examples/microjet.xml b/conf/airframes/examples/microjet.xml index a569c74d8c..3489add584 100644 --- a/conf/airframes/examples/microjet.xml +++ b/conf/airframes/examples/microjet.xml @@ -189,6 +189,10 @@ +
+ +
+ diff --git a/sw/lib/ocaml/acIcon.ml b/sw/lib/ocaml/acIcon.ml index 2477d54939..88d593a7b3 100644 --- a/sw/lib/ocaml/acIcon.ml +++ b/sw/lib/ocaml/acIcon.ml @@ -38,6 +38,15 @@ let icon_fixedwing_template = { width = 4 } +let icon_flyingwing_template = { + lines = [ + [| -13.; 4.; 0.; -7.; 13.; 4.|]; + [| -13.; 5.; 0.; 0.; 13.; 5.|]; + ]; + ellipse = []; + width = 4 +} + let icon_rotorcraft_template = { lines = [ [| 0.; -8.; 0.; 8.|]; diff --git a/sw/lib/ocaml/acIcon.mli b/sw/lib/ocaml/acIcon.mli index 6d2c1f46e3..7b59ea3d5e 100644 --- a/sw/lib/ocaml/acIcon.mli +++ b/sw/lib/ocaml/acIcon.mli @@ -29,6 +29,7 @@ type icon = { } val icon_fixedwing_template : icon +val icon_flyingwing_template : icon val icon_rotorcraft_template : icon val icon_home_template : icon diff --git a/sw/lib/ocaml/mapTrack.ml b/sw/lib/ocaml/mapTrack.ml index cb5fe9a4c3..5e89bef927 100644 --- a/sw/lib/ocaml/mapTrack.ml +++ b/sw/lib/ocaml/mapTrack.ml @@ -63,6 +63,7 @@ class track = fun ?(name="Noname") ?(icon="fixedwing") ?(size = 500) ?(color="re let icon_template = match icon with | "home" -> ACI.icon_home_template | "rotorcraft" -> ACI.icon_rotorcraft_template + | "flyingwing" | _ -> ACI.icon_flyingwing_template | "fixedwing" | _ -> ACI.icon_fixedwing_template in let _ac_icon = new ACI.widget ~color ~icon_template aircraft in