Filippo Gentile

Results 251 comments of Filippo Gentile

My idea is max accel/braking is what physically can do the locomotive. For example if decoder has some inertia settings. A little bit of decoder inertia is good to smooth...

Another option is to calculate realistic acceleration/braking rate based on Power/Weight and other parameters. Then we have a global acceleration factor which multiplies the result to shorten distances for small...

@reinder Now that Vehicles store every Train they are part of in `trains` property... We could move the removal of deleted Vehicles to Vehicle itself inside `destroying()`. This avoids a...

What if we made braking rate positive and then add a minus in acceleration calculations? I think it's counter intuitive to work with negative values because you reverse every less...

> @gfgit Can you add one (or more) speed table files here, just so I can try it :) Of course right! [some_mappings.zip](https://github.com/user-attachments/files/17057250/some_mappings.zip) In this archive you will find 3...

Hi Reinder, I'm currently rebasing on latest master. Did your throttle rework influence this PR? Like for example if a train has 2 locomotives: - Loco A is driven by...

Also there is a problem with "immediate" throttle commands. Since locomotives in a train can have different acceleration values, usually speed cannot be applied immediately. Otherwise locomotives with higher acceleration...

Rebased! It was a bit painful to do since many changes happened in the meantime on master. Still not tested. Do you have some speed mappings of your locomotives to...

Further testing seems to always work here now.

@reinder last 2 commits are not really related but help for long standing issues. PropertyObjectEdit's m_property still does not have its `m_id` updated on change. Infact I use the value...