I saw on another post that you might not be including InstinctNybble.h inside OpenCat.h around line 76. ( so instead your cat is trying to do a Byttle dog move which has those servos reversed ). But I'm a noob. Hope this helps :)
( this post may have been where I read that )
have you changed the definition of the robot to Nybble in OpenCat.h?
//#include "InstinctBittle.h" //activate the correct header file according to your model
Thanks for your reply. I have solve this problem with your help. However, another issue is that servos sometimes has a wrong position feedback. As shown in the figure, when I press "c", sometimes the position of one hing leg is wrong, and when I press "j", serial monitor shows that all the position is zero.
@Hangjie Mo Did you install the legs after entering the calibration mode? What if you uninstall that joint and reinstall it at the correct angle?
Yes, I first calibrated the motor and then installed the leg and head. Sometimes the motor went to the right position and sometimes went to the wrong position. Sometimes,
the head even rotated more than 360 degree. Another issue is that the motor suddenly rotated to an wrong position and then rotate to the right position smoothly when I input a command.
I just noticed that the servo has a semi-transparent case. When did you get the kit? Is the servo MG90D?
When did you download the code? You can try to download our newest code and it may help solve the problem.
Yes, four servos are MG09 and I download the code two month ago. What is the meaning of semi-tranparent case?
@Hangjie Mo Oh, I can see its wires from the outside of the case. It just looks different from our current servos, so I know it's MG90D.
Thanks for your concern, such issues have been solved by reconnecting the wire and adjusting the voltage. Another issue is that when I uploaded Opencat.ino to the mainboard, everything works well, but when I try the serial commands in the serial monitor, the first command was ok, and then following commands did not have a response. I need to power the cat again. I was confused.
Did you set "no line ending" for the serial monitor?
You can also download the newest code from GitHub. Remember to set the instinct to InstinctNybble in OpenCat.h.
Thanks for your reply. Maybe the reason is shown in the images. When uploaded the Writeinstinct.ino 34 skill addressed and while uploaded the Opencat.ino, only 3 skill addressed. I uploaded several times with the same results.
no, that's not the cause. Most of the skills have been saved in the first step.
@Rongzhong Li But when I upload Writeinstinct.ino, everything works well while upload Opencat.ino, the problem occured.