Hello,
I am aware that speed mainly depends on the servos and that servos delivered are not quite high end. Nevertheless I wanted to check if there is any software or hardware (board switch) that I could play with in order to force kitty to walk faster.
Also in tutorial it is mentioned board switch that I can turn but I am not sure what exactly is it for. Can you please explain. My jumper is set on Batt and V_S.
Also in the code part there is a speedratio defined as float speedRatio[2] = {1, 1};: Can you please clarify that?
void behavior(int n, char** skill, float *speedRatio, int *pause) {
for (byte i = 0; i < n; i++) {
motion.loadBySkillName(skill[i]);
transform( motion.dutyAngles, speedRatio[i]);
delay(pause[i]);
}
}
with the speed I now have another issue -> grip, the cat is too fast and it slides. I am trying to mount some parts that will increase the grip.What are you using for your Bella?
In nybble.ino I set the clock frequency for I2C communication to 200000 Hz, the default is 100000 Hz which seems to slow down the movements (as log as the GYRO is enabled). In addition I uncommented the "#define SKIP 1" in the same file.
// read a packet from FIFO
Wire.setClock(200000L); <----- here
mpu.getFIFOBytes(fifoBuffer, packetSize);
I am wondering why this works because the manual tells me the next mode is 400000 (fast mode). But definitely my fan cat "bela" is running like a rocket now and balancing nicely :-)
@Li What do you think about it?
In general, faster chip and servo will make the cat run faster.
Batt powers the servos directly with the batteries. V+ powers the servos with the step down chip, and has limited output.
The speedratio only defines how fast the behavior switches between defined postures. You can look into the function transform to see how it works.