The radar implementation in AIBase.cxx makes the assumption that the radar
is fixed on the longitudinal axis of the model. (It also assumes rotations
and elevations are in the local horizontal and that the radar is at the
origin of the model.) The radar data are used to drive the target markers on
the HUD. While the HUD is also fixed to the longitudinal axis, these
assumptions are adequate. 

When the HUD is not so fixed, as in the Landing Signal Officer HUD in the MP
Carrier (no this isn't a flight of fancy, it does exist in RL), we need to
apply offsets to radar heading and elevation to enable the target markers to
be displayed. The other assumptions are adequate at medium to long range.

The attached patch implements heading, elevation and height offsets. The
values default to 0, so there are no implications for existing
implementations of the AI radar. 


Vivian

Attachment: AIBase.diff
Description: Binary data

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to