myCobot
                                
                                
                                
                                    myCobot copied to clipboard
                            
                            
                            
                        Calibration Error with MyCobot using Python Script
Description
I am attempting to calibrate a MyCobot robotic arm using a Python script (rasp_mycobot_test_gui.py) on a Raspberry Pi, but I encountered an error related to the speed parameter in the send_angle method.
Environment
- MyCobot Model: MyCobot 280 Pi
 - Controller: Raspberry Pi
 - Python Version: 3.8
 - AtomMain v5.1
 
Steps to Reproduce
- Ran 
rasp_mycobot_test_gui.pyscript for calibration. - Selected the calibration option in the GUI.
 - Encountered an error during execution.
 
Expected Behavior
The script should calibrate the MyCobot robotic arm without errors, setting the servos to their initial positions.
Actual Behavior
Received an error related to the speed parameter in the send_angle method. The error message indicates that the speed value is not correct (should be in the range of 1 to 100), but a value of 0 is being passed.
Error Message
Exception in Tkinter callback
Traceback (most recent call last):
  ...
  File "rasp_mycobot_test_gui.py", line 216, in calibration_mycobot
    self.mycobot.send_angle(self.calibration_num, 0, 0)
  ...
pymycobot.error.MyCobotDataException: speed value not right! should be 1 ~ 100, the received speed is 0
Additional Information
- I was following the calibration guide from Elephant Robotics: Calibration Guide.
 - The error seems to be occurring when setting the speed parameter to 0 in the 
send_anglemethod. 
Suggested Solutions or Questions
- Is there a default speed value that should be used for calibration?
 - Are there any known issues or updates in the code that I should be aware of?