DarwinBotsManual
Open the app EspañolES

.trefvelmydn

The relative velocity of the tied bot toward your back: it is .trefvelmyup with its sign flipped.

Facts

Address
442
Name
.trefvelmydn
Kind
Sense: the engine writes it for the DNA to read
Group
What it feels through a tie (tref*)
Written by
The engine, in the forces and collisions phase: it is .trefvelmyup with the sign flipped. You read it in the next cycle.
Cleared
The engine, when you run out of ties or don't have the tie that .readtie asks for.
Range
About −23000 to 23000; in practice, much less
Mutations
picked as a read (*)

It always holds the same as .trefvelmyup with the sign flipped. Positive means that the tied bot, seen from you, is moving backward (or that you are moving forward faster than it is). It exists so you can write more readable conditions, just like .veldn versus .velup.

' If the tied bot is falling behind, I brake to wait for it
cond
*.numties 0 >
*.trefvelmydn 5 >
start
5 .dn store
stop