FIRST-Team-2557-The-SOTABots / FRC_Robot2.0

Deprecated
1 stars 0 forks source link

Create a new function to read data file and publish to the network table #20

Open mjmill opened 6 years ago

mjmill commented 6 years ago

Create a new function and call it here:

https://github.com/FIRST-Team-2557-The-SOTABots/FRC_Robot2.0/blob/d871adf1aa3e426bcd5f37672eb20461752629cf/pi/scripts/NetworkTable#L37

The new function needs to read the vision data and publish the data to the Network Table.

mjmill commented 6 years ago

Here's the file format.

$ cat /run/visionmessage/vision-message.txt right centerOfBlob=245.0,116.0 topLeftCornerOfBlob:171.0,82.0 ButtomRightCornerOfBlob:150.0,319.0

mjmill commented 6 years ago

There's some progress on this with check-ins 4c777bb and 55f70ea.

defied commented 6 years ago

If this is resolved, please close.