Professional Documents
Culture Documents
Sounds
easy,
but
there
are
twists:
if
the
plane
is
directly
over
the
VOR
station,
navigation
doesnt
work.
Also,
if
the
plane
is
abeam
the
station
(90
degrees
to
either
side
of
the
intended
radial),
navigation
doesnt
work.
There
are
many,
many
places
on
the
web
to
learn
about
VORs.
There
are
also
good
simulators,
like:
http://www.luizmonteiro.com/Learning_VOR_Sim.aspx
Navigation
aids
like
VORs
are
listed
on
the
charts
published
by
the
government.
If
you
are
curious,
you
can
download
charts
here:
http://www.faa.gov/air_traffic/flight_info/aeronav/digital_products/vfr/
Ive
also
uploaded
two
charts,
including
the
basic
Hawaiian
islands
chart.
You
can
see
there
is
a
VOR
on
Lanai
with
identifier
LLD
(in
More
code
.-..
.-..
-..)
Your
task
is
to
create
software
to
implement
a
cockpit
VOR
instrument.
Input
will
be
the
OBS
(desired
setting),
and
information
from
a
simulated
radio.
You
will
need
to
implement
a
simulated
radio
to
generate
the
intercepted
radial
(0-359),
a
station
identification
(in
Morse
code),
and
an
indication
if
the
radio
signal
is
GOOD
or
BAD
(i.e.,
the
plane
is
over
the
station
or
too
far
away
to
receive
a
signal).
VOR
instruments
have
a
needle
that
swings
left
and
right,
or
a
bar
that
moves
left
and
right.
Usually
there
are
four
dots
to
the
left
in
addition
to
full-left,
and
similarly
for
right.
Each
dot
represents
two
degrees
off
the
desired
radial,
with
full-
left
or
full-right
being
ten
or
more
degrees
off.
There
is
also
a
TO/FROM
and
Good/Bad
signal
indicators.
Your
program
must
calculate
the
deflection
of
the
needle
or
bar,
and
the
two
indicators
(TO/FROM
Good/Bad
signal)
based
on
the
OBS
input
from
the
pilot,
and
the
intercepted
radial
(and
other
information
from
your
simulated
radio).
The
for
the
needle
deflection
you
need
to
calculate
whether
it
is
centered,
or
the
number
of
dots
to
the
left
or
right.
Assume
that
the
plane
is
abeam
the
VOR
station
if
the
intercepted
radial
is
within
one
degree
of
90
degrees
from
the
intended
radial.
You
have
three
check-ins,
plus
a
demo.
Each
document
starts
with
the
following
preamble:
Total
LOC
created
to-date,
broken
into:
LOC
for
the
simulated
radio
LOC
for
the
calculation
LOC
for
the
user
interface
Estimated
LOC
at
completion,
broken
into:
LOC
for
the
simulated
radio
LOC
for
the
calculation
LOC
for
the
user
interface