Jump to content

[PART, 1.0.2] Anatid Robotics / MuMech - MechJeb - Autopilot - Historical thread


r4m0n

Recommended Posts

Hey all, running 0.24.0.549 and AR202/Mechjeb 2.3.0.0 on a Mac, with KSP steam.

I dropped the MechJeb2 folder into GameData, and I have the AR202 part in the hangar, but I never get a UI dialog. Am I missing something here? This is a completely clean KSP Steam installation, no other mods present.

Link to comment
Share on other sites

Not sure if this is the Squad problem mentioned earlier, something I screwed up installing, or a legit bug, but I can't get the plugin to load despite the parts showing up. I don't see the specific error mentioned in Sarbian's earlier post about it, but I have several errors on ksp.log. Version 2.3.0 and KSP .24 X64.

ERR 20:05:28.232] AssemblyLoader: Exception loading 'MechJeb2': System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.

at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)

at System.Reflection.Assembly.GetTypes () [0x00000] in <filename unknown>:0

at AssemblyLoader.LoadAssemblies () [0x00000] in <filename unknown>:0

Additional information about this exception:

System.TypeLoadException: Could not load type 'MuMech.FuelNode' from assembly 'MechJeb2, Version=2.0.9.0, Culture=neutral, PublicKeyToken=null'.

System.TypeLoadException: Could not load type 'MuMech.MechJebModuleStagingController' from assembly 'MechJeb2, Version=2.0.9.0, Culture=neutral, PublicKeyToken=null'.

System.TypeLoadException: Could not load type 'MuMech.PositionTarget' from assembly 'MechJeb2, Version=2.0.9.0, Culture=neutral, PublicKeyToken=null'.

System.TypeLoadException: Could not load type 'MuMech.PositionTarget' from assembly 'MechJeb2, Version=2.0.9.0, Culture=neutral, PublicKeyToken=null'.

System.TypeLoadException: Could not load type '<SetConsumptionRates>c__AnonStorey1' from assembly 'MechJeb2, Version=2.0.9.0, Culture=neutral, PublicKeyToken=null'.

System.TypeLoadException: Could not load type '<CanDrawNeededResources>c__AnonStorey2' from assembly 'MechJeb2, Version=2.0.9.0, Culture=neutral, PublicKeyToken=null'.

System.TypeLoadException: Could not load type '<HasStayingChutes>c__AnonStorey9' from assembly 'MechJeb2, Version=2.0.9.0, Culture=neutral, PublicKeyToken=null'.

This error shows up multiple times as well :

[ERR 20:08:11.138] MechJeb caught exception in core OnLoad: System.TypeLoadException: Could not load type 'MuMech.MechJebModuleStagingController' from assembly 'MechJeb2, Version=2.0.9.0, Culture=neutral, PublicKeyToken=null'.

at MuMech.MechJebCore.OnLoad (.ConfigNode sfsNode) [0x00000] in <filename unknown>:0

If it's a Squad problem I'll just have to land this base by hand I guess.

Link to comment
Share on other sites

Hey all, I've got the following log file to reference a problem in which I can see the AR202 and mechjeb pod, but never see any UI dialog:

Kerbal Space Program - 0.24.0.549 (OSXPlayer) Steam

OS: Mac OS X 10.9.4

CPU: Intel® Core i5-3570K CPU @ 3.40GHz (4)

RAM: 16384

GPU: NVIDIA Quadro 4000 OpenGL Engine (2047MB)

SM: 30 (OpenGL 2.1 [2.1 NVIDIA-8.26.26 310.40.45f01])

RT Formats: ARGB32, Depth, ARGBHalf, RGB565, ARGB4444, Default, DefaultHDR, ARGBFloat, RGFloat, RGHalf, RFloat, RHalf, R8

Log started: Wed, Jul 23, 2014 20:20:29

[LOG 20:20:29.848] Load(Assembly): MechJeb2/Plugins/MechJeb2

[LOG 20:20:29.850] AssemblyLoader: Loading assembly at /Users/cbellers/Library/Application Support/Steam/SteamApps/common/Kerbal Space Program/GameData/MechJeb2/Plugins/MechJeb2.dll

[LOG 20:20:29.884] AssemblyLoader: KSPAssembly 'MechJeb2' V2.3

[LOG 20:20:29.884] Load(Assembly): Plugins/MechJeb2

[LOG 20:20:29.884] AssemblyLoader: Loading assembly at /Users/cbellers/Library/Application Support/Steam/SteamApps/common/Kerbal Space Program/Plugins/MechJeb2.dll

[LOG 20:20:29.889] AssemblyLoader: Loading assemblies

[ERR 20:20:29.907] AssemblyLoader: Exception loading 'MechJeb2': System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.

at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)

at System.Reflection.Assembly.GetTypes () [0x00000] in <filename unknown>:0

at AssemblyLoader.LoadAssemblies () [0x00000] in <filename unknown>:0

Additional information about this exception:

System.TypeLoadException: Could not load type 'MuMech.FuelNode' from assembly 'MechJeb2, Version=2.0.8.0, Culture=neutral, PublicKeyToken=null'.

System.TypeLoadException: Could not load type 'MuMech.MechJebModuleStagingController' from assembly 'MechJeb2, Version=2.0.8.0, Culture=neutral, PublicKeyToken=null'.

System.TypeLoadException: Could not load type 'MuMech.PositionTarget' from assembly 'MechJeb2, Version=2.0.8.0, Culture=neutral, PublicKeyToken=null'.

System.TypeLoadException: Could not load type 'MuMech.PositionTarget' from assembly 'MechJeb2, Version=2.0.8.0, Culture=neutral, PublicKeyToken=null'.

System.TypeLoadException: Could not load type '<SetConsumptionRates>c__AnonStorey1' from assembly 'MechJeb2, Version=2.0.8.0, Culture=neutral, PublicKeyToken=null'.

System.TypeLoadException: Could not load type '<CanDrawNeededResources>c__AnonStorey2' from assembly 'MechJeb2, Version=2.0.8.0, Culture=neutral, PublicKeyToken=null'.

Then I get normal success messages in the log.

Then some of this:

LOG 20:21:01.792] MechJeb caught exception in core OnLoad: System.TypeLoadException: Could not load type 'MuMech.MechJebModuleStagingController' from assembly 'MechJeb2, Version=2.0.8.0, Culture=neutral, PublicKeyToken=null'. at MuMech.MechJebCore.OnLoad (.ConfigNode sfsNode) [0x00000] in <filename unknown>:0

[WRN 20:21:01.800] The referenced script on this Behaviour is missing!

[WRN 20:21:01.800] The referenced script on this Behaviour is missing!

[WRN 20:21:01.801] The referenced script on this Behaviour is missing!

[WRN 20:21:01.801] The referenced script on this Behaviour is missing!

[LOG 20:21:01.811] PartLoader: Compiling Part 'MechJeb2/Parts/MechJeb2_AR202/part/mumech_MJ2_AR202_features1'

[LOG 20:21:01.819] PartLoader: Compiling Part 'MechJeb2/Parts/MechJeb2_AR202/part/mumech_MJ2_AR202_features2'

[LOG 20:21:01.827] PartLoader: Compiling Part 'MechJeb2/Parts/MechJeb2_AR202/part/mumech_MJ2_AR202_features3'

[LOG 20:21:01.834] PartLoader: Compiling Part 'MechJeb2/Parts/MechJeb2_AR202/part/mumech_MJ2_AR202_features4'

[LOG 20:21:01.842] PartLoader: Compiling Part 'MechJeb2/Parts/MechJeb2_Pod/part/mumech_MJ2_Pod'

[LOG 20:21:01.860] Added sound_rocket_mini to FXGroup running

[LOG 20:21:01.865] MechJeb caught exception in core OnLoad: System.TypeLoadException: Could not load type 'MuMech.MechJebModuleStagingController' from assembly 'MechJeb2, Version=2.0.8.0, Culture=neutral, PublicKeyToken=null'.

at MuMech.MechJebCore.OnLoad (.ConfigNode sfsNode) [0x00000] in <filename unknown>:0

[WRN 20:21:01.893] The referenced script on this Behaviour is missing!

[WRN 20:21:01.893] The referenced script on this Behaviour is missing!

Once I enter the hangar and place a mechjeb part, I start seeing a bunch of this:

LOG 20:21:40.793] ------------------- initializing editor mode... ------------------[LOG 20:21:40.793] editor started

[WRN 20:21:40.803] The referenced script on this Behaviour is missing!

[WRN 20:21:40.803] The referenced script on this Behaviour is missing!

[WRN 20:21:40.803] The referenced script on this Behaviour is missing!

[LOG 20:21:40.810] Untitled Space Craft - Untitled Space Craft

[WRN 20:21:40.838] The referenced script on this Behaviour is missing!

[WRN 20:21:40.839] The referenced script on this Behaviour is missing!

[WRN 20:21:40.839] The referenced script on this Behaviour is missing!

[WRN 20:21:54.316] The referenced script on this Behaviour is missing!

[WRN 20:21:54.316] The referenced script on this Behaviour is missing!

[WRN 20:21:54.352] The referenced script on this Behaviour is missing!

[WRN 20:21:54.352] The referenced script on this Behaviour is missing!

[WRN 20:21:54.352] The referenced script on this Behaviour is missing!

[EXC 20:21:59.548] NullReferenceException: Object reference not set to an instance of an object

[EXC 20:21:59.579] NullReferenceException: Object reference not set to an instance of an object

[EXC 20:21:59.595] NullReferenceException: Object reference not set to an instance of an object

[EXC 20:21:59.611] NullReferenceException: Object reference not set to an instance of an object

[EXC 20:21:59.628] NullReferenceException: Object reference not set to an instance of an object

[EXC 20:21:59.662] NullReferenceException: Object reference not set to an instance of an object

[EXC 20:21:59.678] NullReferenceException: Object reference not set to an instance of an object

And from there the logfile is just flooded with the last error line until I leave the hangar.

I have no other mods or mod managers installed, to my knowledge this is an entirely vanilla KSP / Steam installation, and the above logs resulted from creating a new sandbox game, so it cant be carryover missions or ships or whatnot.

Any ideas?

Link to comment
Share on other sites

Hey all, I've got the following log file to reference a problem in which I can see the AR202 and mechjeb pod, but never see any UI dialog:

Then I get normal success messages in the log.

Then some of this:

Once I enter the hangar and place a mechjeb part, I start seeing a bunch of this:

And from there the logfile is just flooded with the last error line until I leave the hangar.

I have no other mods or mod managers installed, to my knowledge this is an entirely vanilla KSP / Steam installation, and the above logs resulted from creating a new sandbox game, so it cant be carryover missions or ships or whatnot.

Any ideas?

It looks like you've got the KSP.log there, which is not a good log file for troubleshooting with.

To find your log file:

  • Windows: KSP_win\KSP_Data\output_log.txt
  • Mac OSX: Open Console, on the left side of the window there is a menu that says 'files'. Scroll down the list and find the Unity drop down, under Unity there will be Player.log Aka Files>~/Library/Logs>Unity>Player.log
  • Linux: ~/.config/unity3d/Squad/Kerbal\ Space\ Program/Player.log
  • NOT ksp.log file. Especially not ever.

Link to comment
Share on other sites

So I wanted to land at the Kerbcity airport, so I set the cords, and mechjeb slows me down flips me the other way then sends me off into deep space.... any idea what it is thinking? Are we to land on the opposite end of Kerbin's orbit?

Link to comment
Share on other sites

Can anyone provide a link to the latest MechJeb? I'm running MechJeb2-2.3.0.266-266 and it doesn't create an orbit. It make the node but fails miserably when executing it. Goes way off course.

You have the latest version then. Sounds like you might not have enough control authority on your craft though.

FYI: The first page of this thread contains links to download the current release, and all dev builds of MechJeb.

Link to comment
Share on other sites

If it doesn't turn fast enough for your liking, go in altitude adjustment and use stock SAS. It will overshoot everything when turning, since it doesn't let go of the controls until it reaches the node but it has more authority than the automatic thing.

Link to comment
Share on other sites

Hey guys I'm having some problems with mechjeb, I've already downloaded it twice but the same thing keeps happening. I have all mechjeb parts however when I place it on a craft, the side toolbar does not show. hnYLfha.png

I downloaded it exactly how I've always done, extract the file and put them in the game data folder, and that's it.

Thanks for the help in advance.

P.S. Sorry for taking such a blurry picture, would have made a screenshot but no internet so using phone.

Link to comment
Share on other sites

I have run into an...interesting issue. When using blizzys toolbar when selecting buttons the buttons for the various autopilots pop up, and when placed in the toolbar allow for the selection of said autopilots from the start this occurs on mechjeb dev build #266

Link to comment
Share on other sites

Apologies if this has been asked before-- Is there any way to move the MJ tab's position? It's right under the contract/resource displays in the upper right, and everything tends to overlap if I display anything there. It would be great if it could dock a button to the new button bar up there, like KER does now. However, just being able to configure the position would be great, so I'm wondering if there's a config option I've missed somewhere.

Edited by NecroBones
Link to comment
Share on other sites

Apologies if this has been asked before-- Is there any way to move the MJ tab's position? It's right under the contract/resource displays in the upper right, and everything tends to overlap if I display anything there. It would be great if it could dock a button to the new button bar up there, like KER does now.

Either use toolbar or right-click drag on the menu.

Link to comment
Share on other sites

Hey all. Could be I'm using something incorrectly, but I'm having a problem with MJ in .24 that I never had in 23.5. For some reason the MJ Landing module only seems to work 1/3 of the time. Here's what happens: I open the plugin, use "select a target" to select a landing spot on the Mun. MJ then will do a course correction/attitude change to get on target, then if it says "Course change complete, waiting for time to start braking" (or something along those lines) I know it's not working properly. I have auto-warp turned on, but MJ will just let the ship coast along at 1x speed even though I'm still 100 kilometers or more away from the Mun's surface. Then I'll abort auto-landing and again select "land at target", if it's working properly, I'll see "making course correction of xxx m/s", then it will speed up time to the "low orbit deburn point", then do the reverse burn for "target speed xxx m/s".

Is this possibly happening because I'm trying to land from an elliptical rather than circular orbit? I can think of nothing else I'm doing differently than I did in KSP 23.5. I'm no coder, but it seems that there's a branch in the code. One way makes MJ go to "course change completed, waiting for proper time to start braking" (in wich case it hangs), the other way makes it go to a proper landing procedure.

Link to comment
Share on other sites

Hey guys I'm having some problems with mechjeb, I've already downloaded it twice but the same thing keeps happening. I have all mechjeb parts however when I place it on a craft, the side toolbar does not show. http://i.imgur.com/hnYLfha.png

I downloaded it exactly how I've always done, extract the file and put them in the game data folder, and that's it.

Thanks for the help in advance.

P.S. Sorry for taking such a blurry picture, would have made a screenshot but no internet so using phone.

If you're in Career Mode you first have to unlock it. If you're not in Career Mode try a clean-install

Link to comment
Share on other sites

Anatid Robotics and Multiversal Mechatronics proudly presents the first flight assistant autopilot: MechJeb

I would like to thank CardBoardBoxProcessor for the amazing MechJeb model.

From version 1.7 and onwards, MechJeb has been merged with AR202, and The_Duck is working for new features :)

http://www.mumech.com/uploads/mj2.1_release.png

Current version: 2.3.0

Version History

Download 2.3.0 here

Source code available here, GPL3 license

You can also get the latest dev builds here.

Usage instructions:

Use the button on the right side of the screen to access MechJeb window selection interface, and click on the buttons to activate the windows. The windows can be dragged anywhere on screen, and their position is saved and reused among all rockets.

Manual

Please send Suggestions/Bug reports here: https://github.com/MuMech/MechJeb2/issues

A video from speedio explaining the basic operations you can do with it (outdated but still useful):

Another video, this one by tncm for AR202, but still very useful:

Soon: New modules in development.

When I go to the space center buttons stop working often

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...