Hi Peter,

> I have now got my RC car running with the Raspberry Pi, but it is slow
> to respond.  I am wondering if I use a better tablet, or is there a
> faster browser to use than firefox, or other means of making it
> respond faster.

Ditch the tablet and Firefox to rule them out.  Prod the Flask web
server with curl(1) instead.  So if it serves a ‘forward’ entry point,
Logo like, responding to GETs on it then try

    time curl -sSgv --trace-time http://$ip:$port/forward

That will show the HTTP query being sent, and the HTTP reply, with each
line time-stamped, and the overall time at the end, though that includes
curl's execution time.

That will show if the Pi is replying quickly.

You could run that command on the Pi itself using the IP address of the
loopback interface, 127.0.0.1, to cut out the Wi-Fi interface too.

If that's still slow then perhaps your Python needs improving.  :-)

-- 
Cheers, Ralph.

-- 
  Next meeting: BEC, Bournemouth, Tuesday, 2019-08-06 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk/
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk

Reply via email to