CC3D-CableCam-Controller icon indicating copy to clipboard operation
CC3D-CableCam-Controller copied to clipboard

ODrive Fully operational issue

Open Unyck opened this issue 1 year ago • 1 comments

I never have the full Odrive fonction, in putty from the ESC i got this :

oDrive has a max speed of 4.000 and this controller of 4.000 oDrive motor is NOT calibrated, see oDrive manual on how to do that and store the setting permanently oDrive motor is calibrated oDrive encoder is calibrated oDrive motor is calibrated oDrive encoder is calibrated

my channel input work everething else work fine but i cannot make this last step to have a proper fonctionnal cablecam, can you please help me ?

            case ODRIVE_UNKNOWN:
                writeProtocolText("no response yet", endpoint);
                break;
            case ODRIVE_MOTOR_TO_BE_CALIBRATED:
                writeProtocolText("motor not calibrated yet", endpoint);
                break;
            case ODRIVE_MOTOR_CALIBRATED:
                writeProtocolText("waiting for encoder calibration", endpoint);
                break;
            case ODRIVE_ENCODER_CALIBRATED:
                writeProtocolText("checking if axis0.controller.config.control_mode = 2 (velocity)", endpoint);
                break;
            case ODRIVE_SPEED_MODE:
                writeProtocolText("checking if axis0.motor.armed_state = 3", endpoint);
                break;
            case ODRIVE_CLOSED_LOOP:
                writeProtocolText("reading max speed setting from odrive", endpoint);
                break;
            case ODRIVE_OPERATIONAL:
                writeProtocolText("fully operational", endpoint);
                break;

Unyck avatar Jun 17 '23 14:06 Unyck