FRC1076 / 2019-Competition

Code for 2019 Competition
2 stars 1 forks source link

Create a simple python client that can run on the Robot and send UDP messages to display server #23

Open mcolinj opened 5 years ago

mcolinj commented 5 years ago

Of key importance is that this client cannot crash. It should catch exceptions associated with opening sockets and sending packets, etc... If you don't know what exceptions are, you can read a posting on the learning-python channel about keeping calm and carrying on... And then you can dig deeper. The display client will be running on a raspberry pi, and it will take the status message from the robot and turn it into graphics display requests for the graphics panels on the sides of the robot.

This client will have to be used in the main robot loop, so it should probably do a little counting and only send every Nth message or so...

matthew