From 4c52c56449ec0684b3b7f534fdde6744bbb52c64 Mon Sep 17 00:00:00 2001 From: sanjayk03-dev Date: Mon, 4 Nov 2024 19:16:08 +0530 Subject: [PATCH] modifying max-velocity --- src/js/app.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/js/app.js b/src/js/app.js index 9eba4aa..f72117b 100644 --- a/src/js/app.js +++ b/src/js/app.js @@ -325,8 +325,10 @@ module.exports = new Vue({ let motor = this.config.motors[2]; if(motor['axis'] == 'A'){ motor['axis'] = 'Y'; + this.config.motors[1]['max-velocity'] /= 2; } else { motor['axis'] = 'A'; + this.config.motors[1]['max-velocity'] *= 2; } try { await api.put("config/save", this.config);