read quaternions from file/serial port, publish and subscribe