PDA

View Full Version : i give you perls of technology



BaldieJr
04-23-2008, 09:11 PM
dont ask me to do it. i come up with the great ideas. its your job to act on them.

gpsdrive is a mapping software for linux.

i reads from gpsd, which is a daemon for gps devices.

it could read from some other daemon. like the one you want to script in bash because you're that hardcore. maybe your hardcore bash script uses nc or some other binary to get position data from the sim via that dang 'ol device link thingamabob.

the cool thing about gpsdrive is it doesn't care what kind of maps it uses or how to translate the coordinates. its flexible. like software should be (thats why its called SOFTware tough guy).

Ok so now you've made yourself an hi-res moving-map for single-player. why aren't you working on reading mission files to overlay the waypoints???

do i have to think of everything?

http://forums.ubi.com/images/smilies/16x16_smiley-very-happy.gif

even though linux gaming is an oxymoron, there is no reason not to keep a rooty-pooty linux box around for stuff like this.

na85
04-23-2008, 11:18 PM
actually il2 runs very smoothly on gentoo linux

Tully__
04-24-2008, 04:36 AM
I'm not sure that perl is the best option for this, perhaps java would be better.... http://forums.ubi.com/groupee_common/emoticons/icon_wink.gif

Capt.LoneRanger
04-24-2008, 04:45 AM
I never trusted a Jawa.

http://www.cswu.cz/prequels/images/jawas.jpg


Oh, you mean Java http://forums.ubi.com/images/smilies/blush.gif

http://forums.ubi.com/images/smilies/16x16_smiley-tongue.gif

M_Gunz
04-24-2008, 08:47 AM
Originally posted by BaldieJr:
do i have to think of everything?

If you could think up the part where devicelink reports position other than alt it would help.

Daiichidoku
04-24-2008, 08:50 AM
purls?

knitting tech. has taken a great leap forward?

great!


hmm or did you mean perils, or pearls?

BaldieJr
04-24-2008, 09:17 AM
Originally posted by M_Gunz:
<BLOCKQUOTE class="ip-ubbcode-quote"><div class="ip-ubbcode-quote-title">quote:</div><div class="ip-ubbcode-quote-content">Originally posted by BaldieJr:
do i have to think of everything?

If you could think up the part where devicelink reports position other than alt it would help. </div></BLOCKQUOTE>

check the game console?

im certain there was a "cheat" scandal awhile back. the perpetrators were able to see everyones positions because the game was giving position data out to anyone.

DaimonSyrius
04-24-2008, 11:31 AM
Originally posted by BaldieJr:
<BLOCKQUOTE class="ip-ubbcode-quote"><div class="ip-ubbcode-quote-title">quote:</div><div class="ip-ubbcode-quote-content">Originally posted by M_Gunz:
If you could think up the part where devicelink reports position other than alt it would help.
check the game console?

im certain there was a "cheat" scandal awhile back. the perpetrators were able to see everyones positions because the game was giving position data out to anyone. </div></BLOCKQUOTE>
A quick check with the readme.txt that comes with UDPGraph (http://avcpage.com/il2dl/graph_en.htm) yields this:


* Global variables can be used across all functions. To declare global variable start its name with $
For example following set of functions will calculate offset of a/c from point of origin:

$tas=tas(ispeed,altimeter,745,25)
$vect=$tas*$DT
$vect=side($vect,altimeter.dt)
$dx=$dx+$vect*sin(azimuth*$PI_180)
$dy=$dy+$vect*cos(azimuth*$PI_180)

I don't know for certain what this 'point of origin' is, so maybe this would be only a relative position calculation, rather than an absolute one, but I'm sure good programming could make use of it nevertheless.

Cheers,
S.