From 538236ab21fc4f6b13ff4402ae40d560bccad458 Mon Sep 17 00:00:00 2001 From: Unknown Date: Thu, 4 Oct 2018 18:50:56 -0400 Subject: [PATCH] Each axis needs a can nodeID --- Firmware/MotorControl/axis.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Firmware/MotorControl/axis.hpp b/Firmware/MotorControl/axis.hpp index 6063ee3a..ec8fa8ef 100644 --- a/Firmware/MotorControl/axis.hpp +++ b/Firmware/MotorControl/axis.hpp @@ -54,6 +54,8 @@ public: float spin_up_current = 10.0f; // [A] float spin_up_acceleration = 400.0f; // [rad/s^2] float spin_up_target_vel = 400.0f; // [rad/s] + + uint8_t can_node_id = 0; // If both axes are 0, only the first one will get commands. }; enum thread_signals {