communication between motors and simulator