-
Posts
104 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Events
Everything posted by Doug
-
Alex, I would to use the MAP of lockon to build a GPS. This map is a Lambert map ? What is the X and Z positions? Is it the projection of Lat/long position on the Lambert map of LockOn ? I think it work like that: Regards.
-
Thanks for your work ;) Bon anniversaire !
-
Is there a mean to make socket.receive non-bloking ?
-
Thanks GG. I have tested all my value returned by LOGet*** functions and t works. ;)
-
Thans GG. Next i have recovered, the export doesnt restart. Is there a mean to make it restart ?
-
Hi! Export of LO stop sending data when my plane is crashed (not when I eject but when my plane is crashed). Do you know why ? Thanks
-
[DEDICATED SERVER] Start LO without 3D card
Doug replied to Doug's topic in Lock On: Flaming Cliffs 1 & 2
Is threre hosteur witch sell server with 3D card ? -
[DEDICATED SERVER] Start LO without 3D card
Doug replied to Doug's topic in Lock On: Flaming Cliffs 1 & 2
Most of commercial dedicated server haven't 3D card... I have this error: 07/10/2006 23:40 StartInterface: renderer->initialize() failed -
Hi ! Is there a mean to start LO on a dedicated server(on windows) witch hasn't 3D card ?
-
OMG ! Great job tatti ! Thanks
-
up ^^
-
I dont't understand why you create a socket at every frame. You just have to do it in loExportStart() one time. Using LuaExportAfterNextFrame is very dangerous. You should use LuaExportActivityNextEvent().
-
What's you error ? Check /temp/Error.log
-
Those who want can send me a PM witch email. I will soon send them an Alpha version of LOPSP.
-
I have succeed to export all my flight plan from the take off to the landing point. We can do a lot of things with that like, IFR with NDB, VOR (just add NDB, VOR position in LOPSP) or Tacan A/A with KC10 to refuel etc... I haven't yet work on the display. It will be like Russian MFD. The first line is the mode (ILSN or NAV). The second is the id of the current waypoint. The two tabs is for NAV(StartWaypoint, Wpt1, Wpt2,...) and LANDING(IAF, FAF, runway). I'm currently looking to add all of the (real) VOR, NDB etc... to make possible navigation with it.
-
Don't update to 2.71 or 2.8. ;)
-
The java server is just a little program witch get data from LockOn and send it to the PSP. It's a buffer. ;) I have maked it myself.
-
On PC: - export.lua done by myself - Java Server too On PSP: - LUA Player 0.2 Connection: - AP Wifi 11 Mbs I will soon give you a beta of LOPSP
-
Actually we can't export all that we need to build a complete MFD. But we can do it without data like radar position etc. I hope it will be possible in BS.
-
Wowwww I can't wait ! ;) Thanks for your efforts dodger :thumbup:
-
Here you can found LUA fonctions of Alex's work: --data for recalculation zeroX = 5000000 zeroZ = 6600000 centerX = 11465000 - zeroX --circle center centerZ = 6500000 - zeroZ pnSxW_X = 4468608 - zeroX -- point 40dgN : 24dgE pnSxW_Z = 5730893 - zeroZ pnNxW_X = 5357858 - zeroX -- point 48dgN : 24dgE pnNxW_Z = 5828649 - zeroZ pnSxE_X = 4468608 - zeroX -- point 40dgN : 42dgE pnSxE_Z = 7269106 - zeroZ pnNxE_X = 5357858 - zeroX -- point 48dgN : 42dgE pnNxE_Z = 7171350 - zeroZ lenNorth = math.sqrt((pnNxW_X-centerX)*(pnNxW_X-centerX) + (pnNxW_Z-centerZ)*(pnNxW_Z-centerZ)) lenSouth = math.sqrt((pnSxW_X-centerX)*(pnSxW_X-centerX) + (pnSxW_Z-centerZ)*(pnSxW_Z-centerZ)) lenN_S = lenSouth - lenNorth RealAngleMaxLongitude = math.atan ((pnSxW_Z - centerZ)/(pnSxW_X - centerX)) * 180/pi -- borders EndWest = 24 EndEast = 42 EndNorth = 48 EndSouth = 40 MiddleLongitude = (EndWest + EndEast) / 2 ToLengthN_S = ((EndNorth - EndSouth) / lenN_S) ToAngleW_E = (MiddleLongitude - EndWest) / RealAngleMaxLongitude ToDegree = 360/(2*pi) function getLongitude(x, z) -- degrees , (x (meters) - to North, z (meters) - to East) ang = - math.atan (((z - centerZ)) / (x - centerX)) * ToDegree return ang * ToAngleW_E + MiddleLongitude end function getLatitude(x, z) --degrees (x (meters) - to North, z (meters) - to East) len = lenSouth - math.sqrt((x-centerX)*(x-centerX) + (z-centerZ)*(z-centerZ)) return len * ToLengthN_S + EndSouth end function getXYCoords(inLatitudeDegrees, inLongitudeDegrees) -- args: 2 numbers // Return two value in order: X, Y -- Lo coordinates system realAng = (inLongitudeDegrees - MiddleLongitude) / ToAngleW_E / ToDegree realLen = lenSouth - (inLatitudeDegrees - EndSouth) / ToLengthN_S outX = centerX - realLen * cos (realAng) outZ = centerZ + realLen * sin (realAng) return outX, outY end To get latitude and longitude with X,Z coord, you have to do this: myLat = getLatitude(myXCoord, myZCoord) myLong = getLongitude(myXCoord, myZCoord) To get X,Z coord with Lat/Long you have to do this (not usefull): myXCoord, myZCoord = getXYCoords(myLat, myLong) myLat and myLong are two float like 48.2034 To convert a latitude (°, min, sec): floatDeg = integerDeg + (60*min + sec)/3600 Ex of Krymsk: 44° 57' 45" N --> 44 + (60*57 + 45)/3600 = 44.9625 Regards Doug
-
Yesssss :) Thank you very much Alex !!! Regards. Doug
-
Hi ! I'm working to build a complete navigation system. I have a problem with the x,y,z position of waypoints. How have the position of my aircraft with the same x,y,z system ? I only have a function wich give me LatLongAlt but no x,y,z. LoGetRoute() -- (args - 0,results = table) get_route_result = { goto_point, -- next waypoint route -- all waypoints of route (or approach route if arrival or landing) } waypoint_table = { this_point_num, -- number of point ( >= 0) world_point = {x,y,z}, -- world position in meters speed_req, -- speed at point m/s estimated_time, -- sec next_point_num, -- if -1 that's the end of route } Regards
-
PRP mode is now finish ! The 2nd shot is at low level with afterburner. The 3rd is at FL350 without afterburner. Look at the Ratio (nm/lb) !!!!! :D In the fourth, i have droped two of my external tank. Regards Doug