Vessel Mars 2020 Rover and Mars Helicopter Scout

Gargantua2024

The Desktop Orbinaut
Joined
Oct 14, 2016
Messages
1,050
Reaction score
1,257
Points
128
Location
San Jose Del Monte, Bulacan
Same in normal graphics....endless loading
Code:
**** Orbiter.log
000000.000: Build Aug 28 2016 [v.160828]
000000.000: Timer precision: 5.69956e-007 sec
000000.000: Found 0 joystick(s)
000000.000: Devices enumerated: 6
000000.000: Devices accepted: 5
000000.000: [ ] RGB Emulation (SW)
000000.000: [ ] Direct3D HAL (HW)
000000.000: [x] Direct3D T&L HAL (HW)
000000.000: [ ] Direct3D HAL (AMD Radeon(TM) R2 Graphics) (HW)
000000.000: [x] Direct3D T&L HAL (AMD Radeon(TM) R2 Graphics) (HW)
000000.000: Module AtlantisConfig.dll .... [Build 160828, API 160828]
000000.000: Module AtmConfig.dll ......... [Build 160828, API 160828]
000000.000: Module DGConfigurator.dll .... [Build 160828, API 160828]
000000.000: Module EnergyConfigurator.dll  [Build 200818, API 160828]
000000.000: Module transx.dll ............ [Build 160216, API 160214]
000000.000: Module Multistage2015_MFD.dll  [Build 170626, API 160828]
000000.000: Module ScnEditor.dll ......... [Build 160828, API 160828]
000000.000: Module Meshdebug.dll ......... [Build 160828, API 160828]
000000.000: Module Attachment Manager.dll  [Build ******, API 060425]
000000.000:
000000.000: **** Creating simulation session
000000.000: DirectDraw interface OK
000000.000: Direct3D interface OK
000000.000: Graphics: Viewport: Window 1360 x 739 x 32
000000.000: Graphics: Hardware T&L capability: Yes
000000.000: Graphics: Z-buffer depth: 32 bit
000000.000: Graphics: Active lights supported: 8
000000.000: Loading 15382 records from star database
000000.000: ---------------------------------------------------------------
000000.000: >>> ERROR: DDraw error DDERR_BLTFASTCANTCLIP
000000.000: >>> [OrbiterGraphics::clbkBlt | .\OGraphics.cpp | 1633]
000000.000: ---------------------------------------------------------------
000000.000: Module Sun.dll ............... [Build 160828, API 160828]
VSOP87(E) Sun: Precision 1e-006, Terms 554/6634
000000.000: Module Mercury.dll ........... [Build 160828, API 160828]
VSOP87(B) Mercury: Precision 1e-005, Terms 167/7123
000000.000: Module Venus.dll ............. [Build 160828, API 160828]
000000.000: Module VenusAtm2006.dll ...... [Build 160828, API 160828]
VSOP87(B) Venus: Precision 1e-005, Terms 79/1710
000000.000: Module Earth.dll ............. [Build 160828, API 160828]
000000.000: Module EarthAtmJ71G.dll ...... [Build 160828, API 160828]
VSOP87(B) Earth: Precision 1e-008, Terms 2564/2564
000000.000: Module Moon.dll .............. [Build 160828, API 160828]
ELP82: Precision 1e-005, Terms 116/829
000000.000: Module Mars.dll .............. [Build 160828, API 160828]
000000.000: Module MarsAtm2006.dll ....... [Build 160828, API 160828]
VSOP87(B) Mars: Precision 1e-005, Terms 405/6400
000000.000: Module Phobos.dll ............ [Build ******, API 060425]
000000.000: Module Deimos.dll ............ [Build ******, API 060425]
000000.000: Module Galsat.dll ............ [Build 160828, API 160828]
000000.000: Module Jupiter.dll ........... [Build 160828, API 160828]
VSOP87(B) Jupiter: Precision 1e-006, Terms 1624/3625
000000.000: Module Io.dll ................ [Build 160828, API 160828]
000000.000: Module Europa.dll ............ [Build 160828, API 160828]
000000.000: Module Ganymede.dll .......... [Build 160828, API 160828]
000000.000: Module Callisto.dll .......... [Build 160828, API 160828]
000000.000: Module Satsat.dll ............ [Build 160828, API 160828]
000000.000: Module Saturn.dll ............ [Build 160828, API 160828]
VSOP87(B) Saturn: Precision 1e-006, Terms 2904/6365
000000.000: Module Mimas.dll ............. [Build 160828, API 160828]
SATSAT Mimas: Terms 113
000000.000: Module Enceladus.dll ......... [Build 160828, API 160828]
SATSAT Enceladus: Terms 33
000000.000: Module Tethys.dll ............ [Build 160828, API 160828]
SATSAT Tethys: Terms 101
000000.000: Module Dione.dll ............. [Build 160828, API 160828]
SATSAT Dione: Terms 59
000000.000: Module Rhea.dll .............. [Build 160828, API 160828]
SATSAT Rhea: Terms 68
000000.000: Module Titan.dll ............. [Build 160828, API 160828]
SATSAT Titan: Terms 100
000000.000: Module Iapetus.dll ........... [Build 160828, API 160828]
SATSAT Iapetus: Terms 605
000000.000: Module Uranus.dll ............ [Build 160828, API 160828]
VSOP87(B) Uranus: Precision 1e-006, Terms 1827/5269
000000.000: Module Miranda.dll ........... [Build ******, API 060425]
000000.000: Module Ariel.dll ............. [Build ******, API 060425]
000000.000: Module Umbriel.dll ........... [Build ******, API 060425]
000000.000: Module Titania.dll ........... [Build ******, API 060425]
000000.000: Module Oberon.dll ............ [Build ******, API 060425]
000000.000: Module Neptune.dll ........... [Build 160828, API 160828]
VSOP87(B) Neptune: Precision 1e-006, Terms 391/2024
000000.000: Finished initialising world
000000.000: Module MARSROVER2020NEW.dll .. [Build 200824, API 160828]
000000.000: ---------------------------------------------------------------
000000.000: >>> WARNING: Obsolete API function used: VESSEL::SetBankMomentScale
000000.000: At least one active module is accessing an obsolete interface function.
000000.000: Addons which rely on obsolete functions may not be compatible with
000000.000: future versions of Orbiter.
000000.000: ---------------------------------------------------------------
============================ ERROR: ===========================
Could not load vessel module: MARSCOPTER2020A
[Vessel::LoadModule | .\Vessel.cpp | 5747]
===============================================================
000000.000: Finished initialising status
000000.000: Finished initialising camera
000000.000: Finished setting up render state
000000.000: Finished initialising panels
 

kuddel

Donator
Donator
Joined
Apr 1, 2008
Messages
2,064
Reaction score
507
Points
113
Are you sure you've loaded the same scenario?
On Inline client MARSCOPTER2020A
On D3D9Client MARSCOPTER2020 ...

Not that this would explain the "endless loading", but still ;)
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
It has been suggested to make a camera of the mast. I tried that but something is wrong. The camera does not follow the animation of the mast. I could add camera at the base where the HAz camera are?
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
Some thing minor may be have the copter case just go away. Ideally it would be on the ground below the rover. But dropping it might bounce it into space.

Any driving this?
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
Looking at copter deployment
gucGjhv.jpg

add the cover. I guess it will spawn a vessel
cAsK1UP.jpg


Then rotate the copter down. and the legs also.
Q1CtBfe.jpg


then spawn the copter and stored copter mesh goes away.


redid the copter mesh
cSi5zUS.jpg
mainly the bottom and front notch for the camera. Removed the Nasa logo as the real one doesn't seem to have it.
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
Some coding issues. I spawn the case and the copter. There are landed. but not upright?
i2AMsxE.jpg

void MSL_ROVER::SPAWNCOPTER(void) { VESSELSTATUS2 vs; memset(&vs, 0, sizeof(vs)); vs.version = 2; GetStatusEx(&vs); OBJHANDLE COPTER_VESSEL; vs.status = 1; COPTER_VESSEL = oapiCreateVesselEx("MARSCOPTER", "MARSCOPTER2020", &vs); // do we need apostrophes "" ? VESSEL2* COPTER_COVER_vessel = (VESSEL2*)oapiGetVesselInterface(COPTER_VESSEL); // vessel interface if needed, delete line if not SetMeshVisibilityMode(COPTER, MESHVIS_NEVER); // coptercover = 1; RevertCOPTER(); copterdep = 1; }
1fwNkWo.jpg

Another parent/child issue. the body of the copter follows the animation. but the leg doesnot follow the body
anim_copterdeploy = CreateAnimation(0.0); static UINT COPTERARM1[1] = { GRP_copter3 };//COPTER RELEASE static MGROUP_ROTATE CPTRARM1(0, COPTERARM1, 1, _V(.421 , .661, - .277), _V(0, 0, 1), (float)(90 * RAD)); static UINT COPTERARM2[2] = { GRP_copter1,GRP_copter2, };//COPTER HOLDER static MGROUP_ROTATE CPTRARM2(0, COPTERARM2, 2, _V(-.0187794, .7054401, - 0.23251), _V(0, 0, 1), (float)(-90 * RAD)); static UINT COPTERBODY[44] = { 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,32,33,34,35,36,37,38,39,40,41,42,45,46 };//COPTERMESH static MGROUP_ROTATE CPTRARM3(1, COPTERBODY, 44, _V(-.0187794, .7054401, -0.23251), _V(0, 0, 1), (float)(-90 * RAD)); static UINT COPTERBODYLEG1[3] = { 31,43,44 };//COPTERLEG static MGROUP_ROTATE CPTRARM4(1, COPTERBODYLEG1, 3, _V(0.2670395 , .6479696, - .2957048), _V(1, 0, 0), (float)(-90 * RAD)); AddAnimationComponent(anim_copterdeploy, 0, .5, &CPTRARM1);//COPTER RELEASE COPTERPARENT=AddAnimationComponent(anim_copterdeploy, .5, .9, &CPTRARM2);//COPTER HOLDER COPTERPARENT = AddAnimationComponent(anim_copterdeploy, .5, .9, &CPTRARM3,&COPTERPARENT);//COPTERBODY COPTERPARENTLEG=AddAnimationComponent(anim_copterdeploy, .9, 1, &CPTRARM4,&COPTERPARENT);//COPTERLEG
 
Last edited:

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
Not sure why the spawned vessels are not upright?
OIYnl4Z.jpg

cfg for the cover
Meshname = MARS2020/COPTERCOVERLANDED Mass = 1 Size = 4.0 LAND_PT1=(10,0,0) LAND_PT2=(-10,0,0) LAND_PT3 = (0,0,10) EnableFocus = FALSE EnableXPDR = FALSE
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
Yes. I can spawn a eva guy and he is standing up right. Not sure why the case and copter are like that. MAybe TD points?
 

Marijn

Active member
Joined
Mar 5, 2008
Messages
755
Reaction score
166
Points
43
Location
Amsterdam
I'd like to have a play with the helicopter. Is that possible?
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
Yes, I made on in Vessel Builder. I can post it. I have a new mesh.
 

Marijn

Active member
Joined
Mar 5, 2008
Messages
755
Reaction score
166
Points
43
Location
Amsterdam
Yes, I made on in Vessel Builder. I can post it. I have a new mesh.
That's great. But I am not familiar with Vessel Builder. Will I be able to unzip it like other add-ons?
 

fred18

Addon Developer
Addon Developer
Donator
Joined
Feb 2, 2012
Messages
1,666
Reaction score
100
Points
78
Not sure why the spawned vessels are not upright?
OIYnl4Z.jpg

cfg for the cover
Meshname = MARS2020/COPTERCOVERLANDED Mass = 1 Size = 4.0 LAND_PT1=(10,0,0) LAND_PT2=(-10,0,0) LAND_PT3 = (0,0,10) EnableFocus = FALSE EnableXPDR = FALSE
that is default cfg without any addon? because I remember of encountering an issue on spawning landed vessels. It's due to the vessel state not being updated for landed vessels so they don't work correctly by default, you have to actively solve that on a custom vessel. I think in VB it should work, does it?
 

Marijn

Active member
Joined
Mar 5, 2008
Messages
755
Reaction score
166
Points
43
Location
Amsterdam
Ok, I've installed VesselBuilder1_PreRelease. And I found the MarsRoverCopter1.zip file in this thread. I first tried my oldest Orbiter installation with an old D3D9 cliient (R2.1) and that worked, although the wheels weren't visible.

Then I tried an installation with the R4.11 D3D9 client, but that led to a nasty crash of my system.
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
that is default cfg without any addon? because I remember of encountering an issue on spawning landed vessels. It's due to the vessel state not being updated for landed vessels so they don't work correctly by default, you have to actively solve that on a custom vessel. I think in VB it should work, does it?
So there are 2 vessels. One is the case cover, basically a mesh and touchdown point. The copter is a VB vessel
 

Marijn

Active member
Joined
Mar 5, 2008
Messages
755
Reaction score
166
Points
43
Location
Amsterdam
Can you help with a scenario where the helicopter is ready to hop? I can't really figure out the keys to move the rover and have it to deploy the copter.
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
Can you help with a scenario where the helicopter is ready to hop? I can't really figure out the keys to move the rover and have it to deploy the copter.
Well That is what I am working on. What works is the rover moving around. The case dropping off. The copter rotating 90 degrees. And it gets spawned. But it is crashed into the ground as is the case. The other thing that doesn't work is the arms of the copter need to move down. Let me put together an zip of what I got
 

Marijn

Active member
Joined
Mar 5, 2008
Messages
755
Reaction score
166
Points
43
Location
Amsterdam
No rush. But can you hint me on the keys to use to move the rover and drop the heli? I did look for it in the docs..
 
Top