0

I’m building an underwater ROV. My intent is to tether the ROV from a PC via an Ethernet cable. On board the ROV is a RPI.

Currently, I have established a motor control program on the RPI, using a PS4 controller for input commands. I’m using the pygame module to capture the analog and button inputs from the PS4 controller.

Moving the PS4 controller to the PC with a USB connection, I can read the PS4 commands, again by way of the pygame module running on the PC.

With a Remote Desktop Connection between the PC the RPI, I can run the motor control program on the RPI, but my problem is that I have yet to find a way to pass the PS4 commands from the PC to the motor control program running on the RPI.

Other than what I have described above, I am stumped as to where to go from here. I suspect the solution has to do with passing parameters from a program on the PC over Ethernet to the RPI, an area to which I am clueless.

Rabbid76
  • 202,892
  • 27
  • 131
  • 174
HenryJ
  • 1
  • 1
  • Solution found. Using sockets to pass data between PC and RPi. Thanks to all who showed an overwhelming interest in my problem. – HenryJ Feb 21 '23 at 17:10

0 Answers0