Related: 111, 112, 155
gabriel has pointed out the following problem with the train collision algorithm:
Collisions are checked for in train_step_c, after the train has already moved into the colliding position. If the train, for instance, moves 10 nodes, and collides after 2 nodes, the train still moves the full 10 nodes forward and thus comes to halt 8 nodes after the obstruction.
To solve this, collisions must be checked for after calculating the new position, but before actually advancing the train. If a collision is detected, the target index must be clipped accordingly.
The implementation of this would be straightforward, but it would be good to overthink the way collisions between trains on the same track are handled. In short, if the active train and the colliding train are on the same track, the stopping index should be the exact index where the other train ends. For this, we need a advtrains.path_project(train, other_train) function which returns the indices and orientation of the other_train projected on train's path. With this, we can also handle matching the coupling ends of trains in order to solve 155.
A further step to be considered is to integrate the on-track collisions into the LZB subsystem, to allow for "drive on sight" or "moving block" systems. Details of this are to be thought of.
Hello 180
Thanks for your response . As a Research Assistant of the
Research and Development Department working with Cimar Laboratory
Ltd Cambodia, One of the leading Bio-Pharmaceutical Companies
here in Cambodia. I'm looking for a reliable businessman/
individual in your region to represent my company in sourcing
some of our basic raw material used in the manufacturing of high-
quality Anti-Viral Vaccines, Cancer treatment, and other life-
saving Pharmaceutical Products.
This may not be your area of specialization but it will be
another income generating business out of your specialty. This is
because Our company is yet to locate any seller to buy from.
However, I have been able to discover a local dealer who can
supply us with this product. He is selling at a cheap rate, which
is far cheaper than our previous purchases.
My director is not yet aware that I have found a new seller. Now,
THIS IS MY PROPOSAL TO YOU; I want you to stand in as a new local
dealer from your country and I will introduce you to our company.
The reason for this is because I don't want my company to have
direct contact with the local agent that sells this herbal oil
extract very cheaply.
This will enable us to work together as partners and make really
cool profits. You as the local seller will supply our company at
a good rate which I will inform you how to go about it later when
we are in agreement. You will be amazed with what we can achieve
together.
I will give you more specific profit details when I receive
feedback from you if you are interested.
Regards .
Megan Elizabeth
Research Assistant
Research and Development Department
Cimar Laboratory Ltd
Email: meganeliz@mail.ee