Jump to content

[1.6.x] RasterPropMonitor - Development Stopped (v0.30.6, 29 December 2018)


MOARdV

Recommended Posts

I have a sandbox game, and this pops up now

 [Exception]: MissingMethodException: Method not found: 'FinePrint.WaypointManager.navIsActive'.

This is the page affected

  PAGE {
    name = PFD
    button = NPU1-2       
    text = SovietPack/Props/Neptune/pa_PFD.txt
    BACKGROUNDHANDLER
    {

      name = JSIPrimaryFlightDisplay
      method = RenderPFD
      buttonClickMethod = ButtonProcessor
      speedModeButton = 4
      navBallModel = SovietPack/Props/Neptune/PFD/NavBall
      horizonTexture = SovietPack/Props/Neptune/PFD/NavBall000
      staticOverlay = SovietPack/Props/Neptune/PFD/StaticMask
      headingBar = SovietPack/Props/Neptune/PFD/HDG
      cameraAspect = 2
      headingBarPosition = 0.0, 0.65, 0.4, 0.05
      navBallCenter = 480, 320
      navBallDiameter = 400
      markerSize = 84      
    }
  }

All the other pages work fine. 

Edited by AlbertoKermov
Link to comment
Share on other sites

I used RPM for the first time yesterday (launch, docking with a target vehicle and return to Kerbin) and came across an issue that I assume is due to a mistake I made, rather than a bug and thought I'd ask here if anyone has experienced anything similar and had a solution for it.

The issue was that that after undocking (I had to exit IVA at to do this to use the right click menu on the docking port) I found that all the readouts of orbital parameters, current altitude etc. even the information on the docking camera screen were showing information as if I had not undocked.

As I moved away from the target vehicle and went through the re-entry, the altitude readout for example stuck stubbornly to the 250km orbit of the target vehicle rather than decreasing as I descended.

If anyone knows what I might have done wrong, or alternately if this might be a known issue (I've read a few recent references to RPM having some issues post undocking) a nudge in the right direction would be much appreciated.

Here's a couple of images to help illustrate what I experienced.

In orbit after undocking.

JqVI3EG.png

 

During re-entry

Tu96Usk.png

This only affected the numerical readouts and not the navball, which functioned normally.

 

Link to comment
Share on other sites

32 minutes ago, purpleivan said:

I used RPM for the first time yesterday (launch, docking with a target vehicle and return to Kerbin) and came across an issue that I assume is due to a mistake I made, rather than a bug and thought I'd ask here if anyone has experienced anything similar and had a solution for it.

The issue was that that after undocking (I had to exit IVA at to do this to use the right click menu on the docking port) I found that all the readouts of orbital parameters, current altitude etc. even the information on the docking camera screen were showing information as if I had not undocked.

It's a known bug in v0.26.0.  It's fixed in v0.27.0, which I hope to release Soon (TM).

Link to comment
Share on other sites

18 minutes ago, AlbertoKermov said:

Cool, let me know if you have a dev/rc branch I could test out.

There is a dev build on DropBox now that removes that exception and another one I found related to MechJeb updates.  Waypoints do not work, however, because there were a couple of changes under the hood that are hiding some info I was relying on to provide the marker on the PFD.

Link to comment
Share on other sites

I've officially kicked v0.27.0 out the door.  This version is a major update to core parts of this mod that should address performance for many players in advanced IVAs (such as the ALCOR lander).  Updated versions of these IVAs will be able to take advantage of newer features that will reduce RPM's performance impact even more.

I recommend you skim through the release notes on GitHub (especially if you make IVAs - there is a lot there).

Link to comment
Share on other sites

2 hours ago, MOARdV said:

I've officially kicked v0.27.0 out the door.  This version is a major update to core parts of this mod that should address performance for many players in advanced IVAs (such as the ALCOR lander).  Updated versions of these IVAs will be able to take advantage of newer features that will reduce RPM's performance impact even more.

I recommend you skim through the release notes on GitHub (especially if you make IVAs - there is a lot there).

Thanks!

The navball PDF works fine now. 

Link to comment
Share on other sites

Just now, AlbertoKermov said:

I thought that didn't work anymore. Is this accessible through an actual monitor?

VV works as of 1.1.2 though it hasn't been recompiled in a while. Whether or not it works in 1.1.3 IDK yet.

But yes, going to the VV page in a standard RPM IVA will allow you to access the VV menu, which in turn will let you navigate to parts and use their options from inside the IVA. Again, its confusing and isn't terribly intuitive, but is the only option we really have for it outside of 10 million action groups.

Link to comment
Share on other sites

6 hours ago, AlbertoKermov said:

I meant to ask this, is there a page handler, similar a the target menu, but that goes through each component of the ship and and allows you to engage actions? For example, deploying antennae or solar panels, decoupling, etc?

Outside of the VV plugin G'th mentioned, no, there isn't.  I can't think of a good way to implement it as a text-only system using part names, especially when docked to a larger space station with other visiting craft..

EDIT: As of v0.27.0, solar panels and landing gear can be deployed / retracted, but the basic IVAs won't support it.  I know of 2-3 IVAs in development that will, however.  They're just not ready to go yet.

Edited by MOARdV
Link to comment
Share on other sites

On 02/05/2016 at 2:09 PM, MOARdV said:

Most likely because of the way scatterer is implemented.  If it's not working on one of the normal camera layers, RPM isn't aware that it needs to do anything with it.  I'd have to dig through the scatterer source to see what it would take for RPM to be aware of it.

 

On 02/05/2016 at 3:35 AM, Ghosty141 said:

I got a question regarding scatterer, do you know the reason why the scatterer atmosphere somehow "drifts" out of place when looking trough the cameras?

The depth buffer scatterer renders is for the main camera and so doesn't match additional viewpoints, there is also some trickery with the effect being applied to a box surrounding the camera which won't work from additional viewpoints. This is assuming you're in the atmosphere, in scaledspace all should work fine.

Fixing it for additional cameras is on my to-do list for the future.

Link to comment
Share on other sites

18 hours ago, MOARdV said:

Outside of the VV plugin G'th mentioned, no, there isn't.  I can't think of a good way to implement it as a text-only system using part names, especially when docked to a larger space station with other visiting craft..

EDIT: As of v0.27.0, solar panels and landing gear can be deployed / retracted, but the basic IVAs won't support it.  I know of 2-3 IVAs in development that will, however.  They're just not ready to go yet.

I see. I'm not familiar with the KSP API, but I hope there is a getAllParts method to get an array of parts, iterate over them to see available actions, and so on.

In a huge space station that could be a problem. But for a little vessel, no issues. Unless was another API endpoint to get current vessel without docked parts.

I think this is also a problem on the target menu, when you click on undock it shows all docked ships.

I also wanted to ask, i read that there are ways to set alarms. Are these bound to defined variables? EG: Alarm when fuel is less than 10%, etc?

Edited by AlbertoKermov
Link to comment
Share on other sites

10 hours ago, AlbertoKermov said:

I see. I'm not familiar with the KSP API, but I hope there is a getAllParts method to get an array of parts, iterate over them to see available actions, and so on.

In a huge space station that could be a problem. But for a little vessel, no issues. Unless was another API endpoint to get current vessel without docked parts.

I think this is also a problem on the target menu, when you click on undock it shows all docked ships.

I also wanted to ask, i read that there are ways to set alarms. Are these bound to defined variables? EG: Alarm when fuel is less than 10%, etc?

Answers in reversed order:

The alarm variables that are built in to RasterPropMonitor are hard-coded.  That would include any IVAs that are part of the RPM distribution.  Alarms found in other IVAs (my Yarbrough remake, alexustas' ALCOR and Mk1-2, possibly others) use custom variables that are defined with a particular threshold.  Changing it is trivial, once you figure out the variable name, and which config file it lives in.

As far as the KSP API: yes, there's a "get all parts" method.  The trick then is to iterate over every single part and look at each of its modules and decide "do I know how to take action with this?"  And it gets a little more convoluted by needing to check each module to see if it can have action taken on it (eg, you can't typically turn off SRBs, some solar panels can't be retracted, etc).  The menu structure would probably need to be organized by modules (Solar Panels, Retractable Gear, Decouplers, etc) first, and then individual parts second (maybe with a "deploy all" / "retract all" option at the top of the list).  So, yeah, it can be made as usable as the other parts of the menu.

The main roadblock is that I really need to tear that menu apart and rebuild it, because it currently uses polling to refresh its tables of components instead of a callback system, so the menu is more expensive than it needs to be.

Link to comment
Share on other sites

Just letting you know KAC has been updated. Not asking for an update or anything, just in case you don't get a chance to leave this thread ever.:D

@AlbertoKermov

For alarms at predefined resource levels, you could try the mods: DangerAlerts or Alternative Resource Panel. Not IVA exclusive, but it's something? Alternatively, if you want actions at predefined resource levels, try SmartParts.

Link to comment
Share on other sites

43 minutes ago, Deimos Rast said:

Just letting you know KAC has been updated. Not asking for an update or anything, just in case you don't get a chance to leave this thread ever.:D

@AlbertoKermov

For alarms at predefined resource levels, you could try the mods: DangerAlerts or Alternative Resource Panel. Not IVA exclusive, but it's something? Alternatively, if you want actions at predefined resource levels, try SmartParts.

Thanks Deimos, I was asking from a dev perspective, about extending raster prop or if implementation was possible.

 

Link to comment
Share on other sites

On ‎6‎/‎24‎/‎2016 at 6:18 AM, MOARdV said:

As far as the KSP API: yes, there's a "get all parts" method.  The trick then is to iterate over every single part and look at each of its modules and decide "do I know how to take action with this?"  And it gets a little more convoluted by needing to check each module to see if it can have action taken on it (eg, you can't typically turn off SRBs, some solar panels can't be retracted, etc).  The menu structure would probably need to be organized by modules (Solar Panels, Retractable Gear, Decouplers, etc) first, and then individual parts second (maybe with a "deploy all" / "retract all" option at the top of the list).  So, yeah, it can be made as usable as the other parts of the menu.

There is another mod, Part Commander, which does a pretty good job of just that but as a toolbar button.  Seems like the shortest amount of work would be taking that and redirecting the output to RPM instead of trying to do it manually.  It's already all text and does some kind of filtering.

Link to comment
Share on other sites

2 hours ago, Deimos Rast said:

Just letting you know KAC has been updated. Not asking for an update or anything, just in case you don't get a chance to leave this thread ever.:D

Already supported with no changes required (KAC had to update due to breaking changes in KSP 1.1.3, but the interface I use did not change).

52 minutes ago, Pex-Corrh said:

There is another mod, Part Commander, which does a pretty good job of just that but as a toolbar button.  Seems like the shortest amount of work would be taking that and redirecting the output to RPM instead of trying to do it manually.  It's already all text and does some kind of filtering.

I don't use Part Commander, which means the effort to create an interface with it and to maintain that interface is outside the scope of the time I can justify spending on RPM. With two exceptions, all of the mods RasterPropMonitor directly supports are mods that I use myself.

Link to comment
Share on other sites

hi just wondering what im missing, i cant seem to be able to move the attached camera i can only zoom in or out? Is there more than one type of camera because i can only find one?

Edited by Dazza23
Link to comment
Share on other sites

The JSI External Radial-mount Camera can pan and tilt but the display screen buttons have to be defined to support it.     The default displays included with the RPM mod only supports zoom.   Some other mods, like ALCOR Pod or the MK 1-2 IVA Replacement, have display screens with buttons that are setup for pan & tilt.

Edited by nukeboyt
Link to comment
Share on other sites

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