mike4192 / spotMicro

Spot Micro Quadruped Project
MIT License
1.85k stars 457 forks source link

Calibration: Servo doesn't react to commands #87

Open xiangee2022 opened 1 year ago

xiangee2022 commented 1 year ago

I have entered the calibration stage, but the calibration procedure started according to the instructions in the document, although the calibration command can be issued, but the servo does not respond at all.

The following is a part of the calibration operation record:

Servo Control Module for 12 Servos.

Enter one of the following options:

quit: stop and quit the program oneServo: Move one servo manually, all others will be commanded to their center position allServos: Move all servo's manually together

Keyboard commands for One Servo Control

q y f g j k z x b n m

q: Quit current command mode and go back to Option Select z: Command servo min value y: Command servo center value x: Command servo max value f: Manually decrease servo command value by 10 g: Manually decrease servo command value by 1 j: Manually increase servo command value by 1 k: Manually increase servo command value by 10 b: Save new min command value n: Save new center command value m: Save new max command value

anything else : Prompt again for command

CTRL-C to quit

Command?: oneServo Which servo to control? Enter a number 1 through 12: 5 Enter command, q to go back to option select: Servo value not in range [0,4095] Servo 4 cmd: 0 Servo value not in range [0,4095] Servo 4 cmd: 0 Servo 4 cmd: 1 Servo 4 cmd: 2 Servo 4 cmd: 3 Servo 4 cmd: 4 Servo 4 cmd: 5 Servo 4 cmd: 15 Servo 4 cmd: 25 Servo 4 cmd: 35 Servo 4 cmd: 45 Servo 4 cmd: 55 Servo 4 cmd: 65 Servo 4 cmd: 75 Servo 4 cmd: 85 Servo 4 cmd: 95 Servo 4 cmd: 96 Servo 4 cmd: 86 Servo 4 cmd: 76

shanbady commented 1 year ago

I'm also running into the same issue using pdi-hv5523mg servos. the calibration script doesnt work but spot_micro_keyboard_command seems to