5 Controlling robots remotely

This chapter covers

  • Executing robot commands over the network using SSH
  • Creating web services to control robots
  • Calling robot web services from Python
  • Creating Python-based remote execution functions
  • Measuring the execution time of local and remote HTTP commands
  • Building a high-performance Python client with low-latency calls

This chapter will teach you how to share your robot over your network so that remote Python clients can issue movement commands to control it. Both SSH and HTTP protocols will be used, meaning that two solutions from a protocol perspective will be offered, each with its own set of benefits and tradeoffs. For the HTTP solution, a simple Python client will be created first, followed by a more ...

Get Build Your Own Robot now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.