wernerdaehn / CC3D-CableCam-Controller

CC3D and STM Cube based CableCam controller
Apache License 2.0
37 stars 15 forks source link

ODrive Fully operational issue #58

Open Unyck opened 1 year ago

Unyck commented 1 year ago

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 commented 11 months ago

i don't know if you have time to help me, but i can pay you to solve this problem once for all. i am really close to finish this project