New Release Vehicle simulation

dumbo2007

Crazy about real time sims
Joined
Nov 29, 2009
Messages
675
Reaction score
0
Points
0
Location
India
Hi everyone,

Bump Release 7 "Expanding Scope" is up :

http://code.google.com/p/surface-physics/downloads/list


The ATV has been adjusted somewhat to account for difficult driving conditions in Lunar gravity. May need more tuning though. The delta glider should be able to land and take off from Lunar terrain. Its done using attachment points and the DG has no presence in the physics world as yet. Its a stop-gap effort till a rolling start/landing is possible.

The scenarios have been designed for a default Orulex install with the default crater height for Brighton.

Please post about any bugs.

W : gear up
S : gear down
A: neutral
D : reverse
U : Upright a toppled car
Space key : straighten the wheel in a hurry.

Arrow keys for acceleration/brakes. 'G' and 'H' to attach/detach the shuttle.




 
Last edited:

DaveS

Space Shuttle Ultra Project co-developer
Addon Developer
Donator
Beta Tester
Joined
Feb 4, 2008
Messages
9,131
Reaction score
398
Points
173
Doesn't work for me. Scenario loads fine but the vehicle is just a mess on some kind of weird green terrain-looking mesh that refuses to move.
 

dumbo2007

Crazy about real time sims
Joined
Nov 29, 2009
Messages
675
Reaction score
0
Points
0
Location
India
You will need to load the Bump module in the modules tab.
 
Last edited:

DaveS

Space Shuttle Ultra Project co-developer
Addon Developer
Donator
Beta Tester
Joined
Feb 4, 2008
Messages
9,131
Reaction score
398
Points
173
Tried again with the Bump module activated and it works fine now. Handles pretty good except that even at max speed it barely can climb the small hills on the terrain mesh. I have seen the MERs climb obstacles higher than those even with the smaller wheels and being slower(0.18 km/h)!
 

dumbo2007

Crazy about real time sims
Joined
Nov 29, 2009
Messages
675
Reaction score
0
Points
0
Location
India
You need to gear up using W (if you gear up to 3, 4 or 5, max 6) .

It may roll over when turning at high speed as the roll influence is set a bit high.

Good to know the entire chain of module->vessel->vessel works in another machine :)
 

Donamy

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Oct 16, 2007
Messages
6,838
Reaction score
92
Points
123
Location
Cape
scenario loads for me, but I see no meshes or terrain.

bump.dll activated
 

dumbo2007

Crazy about real time sims
Joined
Nov 29, 2009
Messages
675
Reaction score
0
Points
0
Location
India
Does the vehicle mesh appear in the scene and can you move it ?
 

dgatsoulis

ele2png user
Joined
Dec 2, 2009
Messages
1,782
Reaction score
42
Points
63
Location
Sparta
Just downloaded and run the Bump Test Scenario. Everything works perfectly fine, except this small issue. Untill i press G for the gear, part of the mesh is missing. As soon as i press it everything is ok.
Here is a pic, on the left is the mesh once the scenario begins, on the right i've pressed G.
bullet.jpg


Great work dumbo2007 :thumbup:
 

DaveS

Space Shuttle Ultra Project co-developer
Addon Developer
Donator
Beta Tester
Joined
Feb 4, 2008
Messages
9,131
Reaction score
398
Points
173
No, just the Briton base.
Is there a error in the log that indicates a failure to load the module(s)? In this case you might be missing MSVCR90D.dll which is the debug version of the VC++ 2008 runtime file.

Easiest way to solve this is for dumbo2007 to recompile the modules in Release mode instead of Debug mode.
 

Donamy

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Oct 16, 2007
Messages
6,838
Reaction score
92
Points
123
Location
Cape
log
Code:
**** Orbiter.log
Build Aug 30 2010 [v.100830]
Timer precision: 3.39717e-010 sec
Found 0 joystick(s)
Devices enumerated: 3
Devices accepted: 3
==> RGB Emulation
==> Direct3D HAL
==> Direct3D T&L HAL
Module AtlantisConfig.dll .... [Build 100830, API 100830]
Module AtmConfig.dll ......... [Build 100830, API 100830]
Module DGConfig.dll .......... [Build ******, API 060425]
Module DGConfigurator.dll .... [Build 100830, API 100830]
Module EnergyConfigurator.dll  [Build ******, API 060425]
Module Rcontrol.dll .......... [Build 100830, API 100830]
Module ScnEditor.dll ......... [Build 100830, API 100830]
Module ExtMFD.dll ............ [Build 100830, API 100830]
Module CRT.dll ............... [Build 111001, API 100830]
---------------------------------------------------------------
>>> WARNING: Obsolete API function used: oapiRegisterMFDMode
At least one active module is accessing an obsolete interface function.
Addons which rely on obsolete functions may not be compatible with
future versions of Orbiter.
---------------------------------------------------------------
Error loading module Modules\Plugin\Bump.dll (code 14001)

**** Creating simulation session
DirectDraw interface OK
Direct3D interface OK
Graphics: Viewport: Window 1018 x 736 x 32
Graphics: Hardware T&L capability: Yes
Graphics: Z-buffer depth: 32 bit
Graphics: Stencil buffer depth: 8 bit
Graphics: Active lights supported: 8
Loading 15382 records from star database
Module Sun.dll ............... [Build 100830, API 100830]
VSOP87(E) Sun: Precision 1e-006, Terms 554/6634
Module Mercury.dll ........... [Build 100830, API 100830]
VSOP87(B) Mercury: Precision 1e-005, Terms 167/7123
Module Venus.dll ............. [Build 100830, API 100830]
Module VenusAtm2006.dll ...... [Build 100830, API 100830]
VSOP87(B) Venus: Precision 1e-005, Terms 79/1710
Module Earth.dll ............. [Build 100830, API 100830]
Module EarthAtmJ71G.dll ...... [Build 100830, API 100830]
VSOP87(B) Earth: Precision 1e-008, Terms 2564/2564
Module Moon.dll .............. [Build 100830, API 100830]
ELP82: Precision 1e-005, Terms 116/829
Module Mars.dll .............. [Build 100830, API 100830]
Module MarsAtm2006.dll ....... [Build 100830, API 100830]
VSOP87(B) Mars: Precision 1e-005, Terms 405/6400
Module Phobos.dll ............ [Build ******, API 060425]
Module Deimos.dll ............ [Build ******, API 060425]
Module Galsat.dll ............ [Build 100217, API 100215]
Module Jupiter.dll ........... [Build 100830, API 100830]
VSOP87(B) Jupiter: Precision 1e-006, Terms 1624/3625
Module Io.dll ................ [Build 100217, API 100215]
Module Europa.dll ............ [Build 100217, API 100215]
Module Ganymede.dll .......... [Build 100217, API 100215]
Module Callisto.dll .......... [Build 100217, API 100215]
Module Satsat.dll ............ [Build 100215, API 100212]
Module Saturn.dll ............ [Build 100830, API 100830]
VSOP87(B) Saturn: Precision 1e-006, Terms 2904/6365
Module Mimas.dll ............. [Build 100215, API 100212]
SATSAT Mimas: Terms 113
Module Enceladus.dll ......... [Build 100215, API 100212]
SATSAT Enceladus: Terms 33
Module Tethys.dll ............ [Build 100215, API 100212]
SATSAT Tethys: Terms 101
Module Dione.dll ............. [Build 100215, API 100212]
SATSAT Dione: Terms 59
Module Rhea.dll .............. [Build 100215, API 100212]
SATSAT Rhea: Terms 68
Module Titan.dll ............. [Build 100215, API 100212]
SATSAT Titan: Terms 100
Module Hyperion.dll .......... [Build 100215, API 100212]
SATSAT Hyperion: Terms 595
Module Iapetus.dll ........... [Build 100215, API 100212]
SATSAT Iapetus: Terms 605
Module Uranus.dll ............ [Build 100830, API 100830]
VSOP87(B) Uranus: Precision 1e-006, Terms 1827/5269
Module Miranda.dll ........... [Build ******, API 060425]
Module Ariel.dll ............. [Build ******, API 060425]
Module Umbriel.dll ........... [Build ******, API 060425]
Module Titania.dll ........... [Build ******, API 060425]
Module Oberon.dll ............ [Build ******, API 060425]
Module Neptune.dll ........... [Build 100830, API 100830]
VSOP87(B) Neptune: Precision 1e-006, Terms 391/2024
Module Triton.dll ............ [Build ******, API 060425]
Finished initialising world
---------------------------------------------------------------
>>> ERROR: Could not load vessel module: BulletBase
>>> [Vessel::LoadModule | .\Vessel.cpp | 5442]
---------------------------------------------------------------
---------------------------------------------------------------
>>> ERROR: Could not load vessel module: BulletBaseVehicle
>>> [Vessel::LoadModule | .\Vessel.cpp | 5442]
---------------------------------------------------------------
---------------------------------------------------------------
>>> ERROR: Could not load vessel module: BulletBaseVehicle
>>> [Vessel::LoadModule | .\Vessel.cpp | 5442]
---------------------------------------------------------------
---------------------------------------------------------------
>>> ERROR: Could not load vessel module: BulletBaseVehicle
>>> [Vessel::LoadModule | .\Vessel.cpp | 5442]
---------------------------------------------------------------
---------------------------------------------------------------
>>> ERROR: Could not load vessel module: BulletBaseVehicle
>>> [Vessel::LoadModule | .\Vessel.cpp | 5442]
---------------------------------------------------------------
---------------------------------------------------------------
>>> ERROR: Could not load vessel module: BulletBaseVehicle
>>> [Vessel::LoadModule | .\Vessel.cpp | 5442]
---------------------------------------------------------------
---------------------------------------------------------------
>>> ERROR: Could not load vessel module: ATVShuttle
>>> [Vessel::LoadModule | .\Vessel.cpp | 5442]
---------------------------------------------------------------
Finished initialising status
Finished initialising camera
Finished initialising panels
Finished setting up render state
**** Closing simulation session

**** Creating simulation session
DirectDraw interface OK
Direct3D interface OK
Graphics: Viewport: Window 1018 x 736 x 32
Graphics: Hardware T&L capability: Yes
Graphics: Z-buffer depth: 32 bit
Graphics: Stencil buffer depth: 8 bit
Graphics: Active lights supported: 8
Loading 15382 records from star database
Module Sun.dll ............... [Build 100830, API 100830]
VSOP87(E) Sun: Precision 1e-006, Terms 554/6634
Module Mercury.dll ........... [Build 100830, API 100830]
VSOP87(B) Mercury: Precision 1e-005, Terms 167/7123
Module Venus.dll ............. [Build 100830, API 100830]
Module VenusAtm2006.dll ...... [Build 100830, API 100830]
VSOP87(B) Venus: Precision 1e-005, Terms 79/1710
Module Earth.dll ............. [Build 100830, API 100830]
Module EarthAtmJ71G.dll ...... [Build 100830, API 100830]
VSOP87(B) Earth: Precision 1e-008, Terms 2564/2564
Module Moon.dll .............. [Build 100830, API 100830]
ELP82: Precision 1e-005, Terms 116/829
Module Mars.dll .............. [Build 100830, API 100830]
Module MarsAtm2006.dll ....... [Build 100830, API 100830]
VSOP87(B) Mars: Precision 1e-005, Terms 405/6400
Module Phobos.dll ............ [Build ******, API 060425]
Module Deimos.dll ............ [Build ******, API 060425]
Module Galsat.dll ............ [Build 100217, API 100215]
Module Jupiter.dll ........... [Build 100830, API 100830]
VSOP87(B) Jupiter: Precision 1e-006, Terms 1624/3625
Module Io.dll ................ [Build 100217, API 100215]
Module Europa.dll ............ [Build 100217, API 100215]
Module Ganymede.dll .......... [Build 100217, API 100215]
Module Callisto.dll .......... [Build 100217, API 100215]
Module Satsat.dll ............ [Build 100215, API 100212]
Module Saturn.dll ............ [Build 100830, API 100830]
VSOP87(B) Saturn: Precision 1e-006, Terms 2904/6365
Module Mimas.dll ............. [Build 100215, API 100212]
SATSAT Mimas: Terms 113
Module Enceladus.dll ......... [Build 100215, API 100212]
SATSAT Enceladus: Terms 33
Module Tethys.dll ............ [Build 100215, API 100212]
SATSAT Tethys: Terms 101
Module Dione.dll ............. [Build 100215, API 100212]
SATSAT Dione: Terms 59
Module Rhea.dll .............. [Build 100215, API 100212]
SATSAT Rhea: Terms 68
Module Titan.dll ............. [Build 100215, API 100212]
SATSAT Titan: Terms 100
Module Hyperion.dll .......... [Build 100215, API 100212]
SATSAT Hyperion: Terms 595
Module Iapetus.dll ........... [Build 100215, API 100212]
SATSAT Iapetus: Terms 605
Module Uranus.dll ............ [Build 100830, API 100830]
VSOP87(B) Uranus: Precision 1e-006, Terms 1827/5269
Module Miranda.dll ........... [Build ******, API 060425]
Module Ariel.dll ............. [Build ******, API 060425]
Module Umbriel.dll ........... [Build ******, API 060425]
Module Titania.dll ........... [Build ******, API 060425]
Module Oberon.dll ............ [Build ******, API 060425]
Module Neptune.dll ........... [Build 100830, API 100830]
VSOP87(B) Neptune: Precision 1e-006, Terms 391/2024
Module Triton.dll ............ [Build ******, API 060425]
Finished initialising world
Module Spacecraft3.dll ....... [Build ******, API 060425]
---------------------------------------------------------------
>>> WARNING: Obsolete API function used: VESSEL::SetBankMomentScale
At least one active module is accessing an obsolete interface function.
Addons which rely on obsolete functions may not be compatible with
future versions of Orbiter.
---------------------------------------------------------------
Finished initialising status
Finished initialising camera
Finished initialising panels
Finished setting up render state
**** WARNING: Mesh not found: .\Meshes\.msh
**** Closing simulation session
 

dumbo2007

Crazy about real time sims
Joined
Nov 29, 2009
Messages
675
Reaction score
0
Points
0
Location
India
Oh shoot, the debug/release thing again :p

I ll upload the release module.

Until i press G for the gear, part of the mesh is missing

Yes, the shuttle is not attached initially. It's a separate vessel waiting in one of the pads. When you press G it will be attached to the ATV Chassis vessel and you can control the vehicle from the shuttle (or continue with the chassis in focus whichever way you want).

Pressing H will detach it. The shuttle attach/detach process could be a bit more graceful :p, I will try and make an autopilot or something similar for it to make it approach the chassis before attaching.

To control the vehicle from the shuttle the ATVShuttle vessel should have focus(F3>select vessel). When the shuttle is detached it will sink to the ground through the chassis (needs collision detection there)

--------------------

Ok, release 2 is up here :

Donamy,
This should work without MSVCR90D.dll (select the latest release): http://code.google.com/p/surface-physics/downloads/list
Please let me know if it still doesn't show the meshes.
 
Last edited:

Donamy

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Oct 16, 2007
Messages
6,838
Reaction score
92
Points
123
Location
Cape
Totally awesome !!!! This is a God send for my Mars truck. Can you m ake it pull a trailer realistically ?
 

Attachments

  • MarsHAB1.jpg
    MarsHAB1.jpg
    35.2 KB · Views: 56
Last edited:

dumbo2007

Crazy about real time sims
Joined
Nov 29, 2009
Messages
675
Reaction score
0
Points
0
Location
India
Yeah I think it should be possible, should require adding 1 more vessel to the sim and connecting them via 6 DoF joints. I tried to attach vehicles together to make a train sometime back and it was working quite ok, so it should be fine. I ll try it later today.
 

N_Molson

Addon Developer
Addon Developer
Donator
Joined
Mar 5, 2010
Messages
7,925
Reaction score
1,002
Points
188
Location
Toulouse
Very interesting, seems to work on my comp. This could make planetary exploration much more fun. :thumbup:
 

jedidia

shoemaker without legs
Addon Developer
Joined
Mar 19, 2008
Messages
9,808
Reaction score
652
Points
203
Location
between the planets
We'll finally get a MAKO in orbiter! Thanks a lot for the encouraging proof of concept, dumbo2007!

Now, if we could link that up with ORULEX... hmmm. Ultimate orbiter expierience indeed! Starflight remake, here I come! :lol:
 

rodion_herrera

Moonwatcher
Addon Developer
Joined
Nov 4, 2007
Messages
223
Reaction score
3
Points
18
Location
Muscat, Oman
Website
astronomicalsolutions.com
Hmmm, now my plan of adding "regolith mounds" around my new Brighton (where else would they dump all the soil they dug up to build the underground base eh?) would make more sense with an addon like this. Nice work!

-RODION
 

dumbo2007

Crazy about real time sims
Joined
Nov 29, 2009
Messages
675
Reaction score
0
Points
0
Location
India
Yep lot of under the hood code rewriting still going on. I am trying to come up with an easy framework :p , to inject physical objects in any base and any vessel. It's primarily possible due to the public API of the VESSEL class.

Once I can make the vehicle demo work with the new classes, then I ll try adding static geometry and dynamic character movement :). It's mostly all present in Bullet already, I just have to link it to Orbiter's VESSEL class and make it easily extensible.
 
Last edited:
Top