DarwinBotsManual
Open the app EspañolES

.trefvelmysx

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

Facts

Address
440
Name
.trefvelmysx
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 .trefvelmydx 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 .trefvelmydx with the sign flipped: positive if the tied bot drifts away from you toward the left. It's useful for pairing it with .sx without having to flip the sign by hand.

' If the tied bot drifts to my left, I follow it
cond
*.numties 0 >
*.trefvelmysx 0 >
start
*.trefvelmysx .sx store
stop

The forward component is in .trefvelmyup.