-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.js
More file actions
9 lines (8 loc) · 742 Bytes
/
constants.js
File metadata and controls
9 lines (8 loc) · 742 Bytes
1
2
3
4
5
6
7
8
9
// pubsub topics
exports.roverconnection_command = "rcc" // send connect/disconnect commands from web page via sockets to phidget controller
exports.roverconnection_status = "rcs" // send phidget connection status back to sockets controller to send to web page
exports.rovervelocity_command = "rvc" // send velecity commands from web page via sockets to phidget controller
exports.roversteering_command = "rss" // send steering command from web page via sockets to phidgets controller
exports.rovervelocity_statusrequest = "rvsreq" // request motor velocity
exports.rovervelocity_statusreport = "rvrpt" // report motor velocity
exports.errorreport = "errorrpt" // report an error from the phidget controller to send to web page