That code is weird. The Roaming Ralph sample will be updated to contain better code in the upcoming 1.6.0 release of Panda.
This is more or less the better equivalent:
smi.setY(smi, globalClock.getDt() * speed)
Where speed is how much units smi should move relative to it’s own coordinate system.