summaryrefslogtreecommitdiff
path: root/robot.js
diff options
context:
space:
mode:
authormarcellus <msimon_fr@hotmail.com>2024-04-02 13:01:33 +0200
committermarcellus <msimon_fr@hotmail.com>2024-04-02 13:01:33 +0200
commit36e299381ad106fc5eeb6b6b0b87aed396188175 (patch)
tree5ad897b0abe57b7d26f752d20033ba770942c852 /robot.js
parentf125fec3e663b1a48d9934307f3bf006152fd876 (diff)
misc: test work on the controls
Diffstat (limited to 'robot.js')
-rw-r--r--robot.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/robot.js b/robot.js
index f318441..11409c0 100644
--- a/robot.js
+++ b/robot.js
@@ -50,13 +50,9 @@ client.on('connect', () => {
console.log(client)
console.log('Connecté au courtier MQTT');
client.subscribe('move')
- moveTo(1000,1000)
});
// client.publish('move','ULT1')
-/* client.on('message', function (topic, message) {
- console.log('Received from ', topic, ' : ', message.toString());
-}); */
/* client.on('close', function () {
console.log('Déconnecté du courtier MQTT');