class QueryStatus(Command): arguments = [] response = [('fix', Boolean()), ('lat', Float()), ('lon', Float()), ('gps_heading', Float()), ('gps_speed', Float()), ('altitude', Float()), ('num_sat', Integer()), ('timestamp', String()), ('datestamp', String()), ('compass_heading', Float()), ('temperature', Float())]
class NewPlayer(Command): #Notify someone that a Player with the given identifier is at the given position. arguments = [('identifier', Integer()), ('x', Float()), ('y', Float())]
class Introduce(Command): #Client greeting message used to retrieve initial model state. response = [('identifier', Integer()), ('granularity', Integer()), ('x', Float()), ('y', Float())]
class PanCommand(Command): arguments = [('speed', Float())] requiresAnswer = False
class ManualDriveCmd(Command): arguments = [('throttle', Float()), ('steering', Float())] response = [('status', Boolean())] requiresAnswer = False
class NavigationCmd(Command): arguments = [('speed', Float()), ('heading', Float())] response = [('status', Boolean())] requiresAnswer = False
class Benchmark(Command): arguments = [ (b'foo', String()), (b'bar', Integer()), (b'baz', ListOf(Float())), ]