Proposed Client -> Rasp Pi Control Software
Posted: Sun Jan 14, 2018 10:25 pm
I would like to propose a client <-> server model for controlling the Rover over Wifi (and eventaully BT). i have developed this for another project involving the Rasp PI and a 32x32 Led Display. The client for this is either a linux application or an Android App going over Wifi to the Rasp PI.
You can check out the code :
Android Client: https://github.com/MarcKarasek/Android_Led_Server
Rasp Pi/ Linux Code : https://github.com/MarcKarasek/rpi_rgb_ ... rneldriver
This uses UDP as a control plane for sending in commands to the Rasp PI. And TCP as a data stream for sending display frames to the 32x32 led Display.
I have started to port this over to the Rover
Android Client : https://github.com/MarcKarasek/AndroidS ... Controller
Rasp Pi Server : https://github.com/MarcKarasek/SpiritRover_PiServer
This is still a WIP and would welcome any help/feedback/testing (whern we get to a testing phase).
I envision having an app on Android to send commands to the Rover (move fwd, move bkwd, etc..). Sending these over UDP/BT. With TCP being used as a transport stream for pictures/video from the Rover.
I plan on having the baseline Android App and Rasp Pi server up in a week or so. Adding in the GPIO backend to send commands to the Arduino.
In keeping with the spirit (pun intended) of the Rover being inspired by his older brothers on Mars. I want to keep the commands such that you could also script them as they do for the Mars robots. Sending in a sequence (move 3 fwd, turn left, etc..).
Marc
You can check out the code :
Android Client: https://github.com/MarcKarasek/Android_Led_Server
Rasp Pi/ Linux Code : https://github.com/MarcKarasek/rpi_rgb_ ... rneldriver
This uses UDP as a control plane for sending in commands to the Rasp PI. And TCP as a data stream for sending display frames to the 32x32 led Display.
I have started to port this over to the Rover
Android Client : https://github.com/MarcKarasek/AndroidS ... Controller
Rasp Pi Server : https://github.com/MarcKarasek/SpiritRover_PiServer
This is still a WIP and would welcome any help/feedback/testing (whern we get to a testing phase).
I envision having an app on Android to send commands to the Rover (move fwd, move bkwd, etc..). Sending these over UDP/BT. With TCP being used as a transport stream for pictures/video from the Rover.
I plan on having the baseline Android App and Rasp Pi server up in a week or so. Adding in the GPIO backend to send commands to the Arduino.
In keeping with the spirit (pun intended) of the Rover being inspired by his older brothers on Mars. I want to keep the commands such that you could also script them as they do for the Mars robots. Sending in a sequence (move 3 fwd, turn left, etc..).
Marc