RobotSimulation/pick_and_place/ROS/src/niryo_one_ros/niryo_one_driver/src/hw_comm/can_communication.cpp
void CanCommunication::validateMotorsCalibrationFromUserInput(int mode)
{
    waiting_for_user_trigger_calibration = false;
    if (mode == CAN_STEPPERS_CALIBRATION_MODE_MANUAL || mode == CAN_STEPPERS_CALIBRATION_MODE_AUTO) {
        steppers_calibration_mode = mode;
    }
}
/*
 * User input to clear the calibration flag
 * - also choose a calibration mode (manual|auto)
 */
User input to clear the calibration flag
- also choose a calibration mode (manual|auto)
User input to clear the calibration flag - also choose a calibration mode ( manual|auto )
void CanCommunication::validateMotorsCalibrationFromUserInput(int mode)
{
    waiting_for_user_trigger_calibration = false;
    if (mode == CAN_STEPPERS_CALIBRATION_MODE_MANUAL || mode == CAN_STEPPERS_CALIBRATION_MODE_AUTO) {
        steppers_calibration_mode = mode;
    }
}
void CanCommunication :: validateMotorsCalibrationFromUserInput ( int mode ) { waiting_for_user_trigger_calibration = false ; if ( mode == CAN_STEPPERS_CALIBRATION_MODE_MANUAL || mode == CAN_STEPPERS_CALIBRATION_MODE_AUTO ) { steppers_calibration_mode = mode ; } }
User input to clear the calibration flag
 - also choose a calibration mode (manual|auto)
User input to clear the calibration flag - also choose a calibration mode ( manual|auto )