OHM TransX for Orbiter 2009

OrbitHangar

Addon Comments
Joined
Apr 9, 2008
Messages
3,832
Reaction score
18
Points
0

Author: agentgonzo

This is a version of TransX compiled for Orbiter 2009 (RC0) against the new SDKs. It is a fork from TransX 3.13.2 and contains no new features.

It will not work Orbiter 2006 (or some early betas). For a version that works with Orbiter 2006, see http://www.orbithangar.com/searchid.php?ID=3039.

It is derived from the new MFD2 class, and as such uses the oapi::Sketchpad interface for better compatibility with new graphical clients.

It is considered beta due to the new API, so please please report any bugs/differences from TransX 3.13.2 running under orbiter 2006.

Code is open source and can be found here



DOWNLOAD
 
I didn't think we were suposted to publish addons for betas.
 
I didn't think we were suposted to publish addons for betas.
If no-one publishes them, and no-one tests them, how would your confidence level in the API robustness be? OGLA is an addon for the beta/RC, no-one is complaining about that one...
 
I think I have the latest Beta RC0 and plugged in this version of TransX. When I run the scenario ... "Navigation/TransX/Grand Tour 1" it doesn't show the TransX plan eject variables. Anyone else find this happening? The rest of the scenarios in this folder all seem ok since there is no "plan" but the craft has a trajectory that gets it close to Jupiter for the sling. However the sling values are being shown. So it seems just the initial plan variables that aren't retained.

Edit:\ I opened up the Grand Tour 1 scenario and wrote down the plan variables then ran the scenario and plugged in these values, shut down the sim and did a save current. Here's the code for the scenario it saved which I think could be used to replace the current Grand Tour 1 scenario...

Code:
BEGIN_DESC
Low Earth Orbit, everything planned and ready to go ! 
END_DESC

BEGIN_ENVIRONMENT
  System Sol
  Date MJD 42989.2910731349
END_ENVIRONMENT

BEGIN_FOCUS
  Ship GL-01
END_FOCUS

BEGIN_CAMERA
  TARGET GL-01
  MODE Cockpit
  FOV 40.00
END_CAMERA

BEGIN_HUD
  TYPE Orbit
  REF AUTO
END_HUD

BEGIN_MFD Left
  TYPE User
  MODE TransX
  Ship  GL-01
  FNumber 5
  Int 1
  Orbit True
  Vector  -5699067.3996 -2954974.05991 -1289036.13342
  Vector  -575.024053726 4022.58009365 -6657.31537741
  Double  3.98600439969e+014
  Double  42989.2910731
  Handle Earth
  Handle NULL
  Handle NULL
Select Target
 0 Escape
Autoplan
0 0
Plan type
0 0
Plan
0 1
Plan
0 0
Plan
0 0
Select Minor
 0 None
Manoeuvre mode
0 0
Base Orbit
0 0
Prograde vel.
 0  0
Man. date
 0  42989.2910729
Outward vel.
 0  0
Ch. plane vel.
 0  0
Intercept with
0 0
Orbits to Icept
0 0
Graph projection
0 3
Scale to view
0 0
Advanced
0 0
Pe Distance
 2  6540633.94028
Ej Orientation
 3  0.743771362606
Equatorial view
0 0
Finvars
  Finish BaseFunction
  Int 2
  Orbit False
  Handle Sun
  Handle Earth
  Handle Jupiter
Select Target
 0 Jupiter
Autoplan
0 0
Plan type
0 2
Plan
0 0
Plan
0 0
Plan
0 1
Select Minor
 0 None
Manoeuvre mode
0 0
Base Orbit
0 1
Prograde vel.
 0  0
Man. date
 0  42989.2909453
Outward vel.
 0  0
Ch. plane vel.
 0  0
Intercept with
0 0
Orbits to Icept
0 0
Graph projection
0 0
Scale to view
0 0
Advanced
0 0
Prograde vel.
 4  9020.49118987
Eject date
 4  42989.4941892
Outward vel.
 1  270
Ch. plane vel.
 2  -1300.95094893
Finvars
  Finish BaseFunction
  Int 4
  Orbit True
  Vector  -296563644258 39602319271.4 -352177017597
  Vector  3857.36450233 -515.481184083 4565.70316808
  Double  1.26686534397e+017
  Double  42915.9038119
  Handle Jupiter
  Handle NULL
  Handle NULL
Select Target
 0 Escape
Autoplan
0 0
Plan type
0 1
Plan
0 0
Plan
0 1
Plan
0 0
Select Minor
 0 None
Manoeuvre mode
0 0
Base Orbit
0 0
Prograde vel.
 0  0
Man. date
 0  42989.2909061
Outward vel.
 0  0
Ch. plane vel.
 0  0
Intercept with
0 0
Orbits to Icept
0 0
Graph projection
0 0
Scale to view
0 0
Advanced
0 0
View Orbit
0 0
Finvars
  Finish BaseFunction
  Int 3
  Orbit True
  Vector  -346467203316 6913121774.15 705281139799
  Vector  -17315.0341531 1092.11585854 -7491.7017915
  Double  1.32839126489e+020
  Double  43782.725271
  Handle Sun
  Handle Jupiter
  Handle Saturn
Select Target
 0 Saturn
Autoplan
0 0
Plan type
0 2
Plan
0 0
Plan
0 0
Plan
0 2
Select Minor
 0 None
Manoeuvre mode
0 0
Base Orbit
0 0
Prograde vel.
 0  0
Man. date
 0  42989.2909013
Outward vel.
 0  0
Ch. plane vel.
 0  0
Intercept with
0 0
Orbits to Icept
0 0
Graph projection
0 0
Scale to view
0 0
Advanced
0 0
Velocity.
 0  0
Outward angle
 0  0
Inc. angle
 0  0
Inherit Vel.
0 0
Eject date
 0  43782.725271
Finvars
  Finish BaseFunction
  Int 5
  Orbit True
  Vector  505120996569 -34031726791.4 125018953311
  Vector  -8989.99881867 107.860462121 -2487.42835689
  Double  3.79311866084e+016
  Double  44146.9290025
  Handle Saturn
  Handle NULL
  Handle NULL
Select Target
 0 None
Autoplan
0 0
Plan type
0 1
Plan
0 0
Plan
0 2
Plan
0 0
Select Minor
 0 None
Manoeuvre mode
0 0
Base Orbit
0 0
Prograde vel.
 0  0
Man. date
 0  42989.2873004
Outward vel.
 0  0
Ch. plane vel.
 0  0
Intercept with
0 0
Orbits to Icept
0 0
Graph projection
0 0
Scale to view
0 0
Advanced
0 0
Draw Base
0 0
Finvars
  Finish BaseFunction
END_MFD

BEGIN_MFD Right
  TYPE User
  MODE TransX
END_MFD

BEGIN_PANEL
END_PANEL

BEGIN_SHIPS
GL-01:DeltaGlider
  STATUS Orbiting Earth
  RPOS -5699067.40 -2954974.06 -1289036.13
  RVEL -575.024 4022.580 -6657.315
  AROT 152.09 9.73 -150.34
  RCSMODE 2
  PRPLEVEL 0:0.654000 1:0.651716
  NAVFREQ 0 0 0 0
  XPDR 0
  AAP 0:0 0:0 0:0
END
ISS:ProjectAlpha_ISS
  STATUS Orbiting Earth
  RPOS -4379165.48 -4646580.83 2159948.84
  RVEL -5672.998 5174.390 -361.162
  AROT 30.00 30.00 110.00
  IDS 0:588 10 1:586 10 2:584 10 3:582 10 4:580 10
  NAVFREQ 0 0
  XPDR 466
END
SH-02:ShuttleA
  STATUS Landed Earth
  POS -80.5065300 28.3439208
  HEADING 100.00
  PRPLEVEL 0:1.000000 1:1.000000
  NAVFREQ 0 0
  XPDR 0
  PODANGLE 0.0000 0.0000
  DOCKSTATE 0 0.0000
  AIRLOCK 0 0.0000
  GEAR 0 0.0000
  PAYLOAD MASS 0.0 0
END
END_SHIPS

BEGIN_ExtMFD
END
 
Last edited:
EXE button?

Wondering what happened to the EXE button. It was handy in getting a plan from another ship. If you have a couple of ships in the general vicinity of one another and one has a full TransX plan. You can transfer the plan to the other ship. Go into the other ship, click Back to prior to stage 1 and it will say "inherit plan". Click the "++" to choose the ship that already has the plan. Click EXE to transfer the plan to the ship you're in.
 
I, er, got rid of it because I couldn't figure out what it did. I'll put it back and post another version tomorrow (no time to code now as porridge and a shower await...)
:speakcool:
I would offer to help but last time I touched programming really was punch cards arranged to get a fortran program to calculate prime numbers in '74. That is, other than a very short & frustrating stint with qbasic some time later.

BTW, took me years before I found out what EXE did. It was during multistage launches that I stumbled upon it. And it was quite handy all of a sudden.
 
Legacy Reviews

Legacy Add-on Reviews from Orbit Hangar Mods


Review by flytandem
Pros: Seems to work for the most part
Cons: Orbiter freezes if targeting Triton
Review:
Transx is wonderful. So far the only issue I have found is using this compiled version on the latest RC1 Orbiter. Plant a ship on Triton and bring up TransX in it. It causes Orbiter to freeze. Or you could be on a nearby moon, then escape and choose triton and fwd to triton stage. Same freeze. I have to open up task manager and end process of Orbiter to get the computer operating again.
 
OK, the EXE button is back and it should inherit fine from another vessel's plan. I've also put the EXE button back in the 2006 version too.
 
Last edited:
Folks, would you please consider using KOST 0.75's ability to propagate accounting for J2 (IOW, the grav body's oblateness)?
 
In a clean installation of Orbiter 100830 P1 with only OrbiterSound 3.5, and the stock Delta Glider in orbit (scenario: DG Mk4 in orbit), I get full functionality of TransX v3.14.0.3 but Orbiter hangs up on exiting the scenario and I get a Windows generated error message:

Orbiter.exe has encountered a problem and has to close

There is no log entry. Has anyone seen this?

After more searching, I see this is a known problem for TransX in 100830 P1
 
Last edited:
Who is the current maintainer of TransX?
 
I left it in control of Tofitouf when I left in 2009. I am also led to believe that Martins has done some minor updates. I do not have the time to get back into development at the moment, but may do in a few months if someone else has not done it by then.
 
:speakcool:
I would offer to help but last time I touched programming really was punch cards arranged to get a fortran program to calculate prime numbers in '74. That is, other than a very short & frustrating stint with qbasic some time later.

BTW, took me years before I found out what EXE did. It was during multistage launches that I stumbled upon it. And it was quite handy all of a sudden.

Wow and it took me years also, thanks for the info man!
 
... adding the info to the documentation :)
 
Back
Top