#!/usr/bin/env python ''' simple rover simulator ''' from rover import Rover import util, time, os, sys, math import socket, struct import select, errno def sim_send(a): '''send flight information to mavproxy''' from math import degrees earth_rates = util.BodyRatesToEarthRates(a.dcm, a.gyro) (roll, pitch, yaw) = a.dcm.to_euler() timestamp = int((a.time_now - a.time_base) * 1e6) buf = struct.pack('