Files
paparazzi/sw/simulator/sim.mli
T
2009-10-15 06:50:05 +00:00

26 lines
712 B
OCaml

(** Options for HITL and SITL simulators *)
val common_options : (string * Arg.spec * string) list
val ac_name : string ref
(** A complete aircraft with it mission *)
module type AIRCRAFT =
sig
val init : int -> GPack.box -> unit
val boot : Stdlib.value -> unit
val commands : Stdlib.pprz_t array -> unit
val infrared : float -> float -> float -> float -> unit
val gps : Gps.state -> unit
end
(** A simulated aircraft, without its conf *)
module type AIRCRAFT_ITL =
functor (A : Data.MISSION) -> functor (FM: FlightModel.SIG) -> AIRCRAFT
(** Functor to build the simulator *)
module Make :
functor (AircraftItl : AIRCRAFT_ITL) ->
sig
val main : unit -> unit
end