I wondered how I can get the value of current speed during uniformly accelerated rectilinear motion of my conveyor. I tried with: speed = path.getProperty(‘Speed’) but it only gets maximum value so it is constant all the time.
I think there isn’t just one “current speed” for a path. Each component’s movement on a path can be started and stopped independently, so they probably also accelerate and deaccelerate independently.
What I actually need is the path to accelerate before the component arrives to simulate the conveyor accelerating. The component won’t need to accelerate since the path should have matched already the speed of the previous conveyor. However I need the acceleration to measure the distance travelled theoretically by that conveyor/path.
Does someone know a way?