send direction and position to RPi