/tdfw

Primary LanguageC

TDFW

An autonomous air-hockey table

MDS

The Mallet Drive System ("MDS") is the low-level subsystem which controls the table's mallet

Interface

Commands

Mnemonic Syntax
Set parameters MR[X,Y]:<P>,<I>,<D>,<S>(,)\n
Set location ML:<X>,<Y>(,)\n
Start MS\n
Stop MP\n
Calibrate MC\n
Calibration done MD\n

Responses

Mnemonic Syntax
MDS on MO\n
Command acknowledged MA\n
Error ME:<"error string">\n
Calibration limits MI:<Xmin>,<Xmax>,<Ymin>,<Ymax>\n

Syntax Reference

Syntax Explanation
(c) 'c' is optional, and does not affect syntax
[c1,...,cn] one of 'c1' to 'cn' is required
<n> floating-point representation of 'n' is required
<"string"> a string (perhaps including spaces) is required. Does not include quotation marks

All other characters are required verbatim