DarwinBotsManual
Open the app EspañolES

.trefvelyourdn

The backward velocity of the tied bot, measured from its own front: a copy of its .veldn.

Facts

Address
447
Name
.trefvelyourdn
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 copies the .veldn published by the tied bot. 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
−32000 to 32000
Mutations
picked as a read (*)

It is the .veldn of the tied bot, which always equals its .velup with the sign flipped. That's why this sysvar is .trefvelyourup with its sign flipped: positive if the other is moving backward relative to where it points.

' If the tied bot is backing up, cell 50 is 1
cond
*.numties 0 >
*.trefvelyourdn 0 >
start
1 50 store
stop