I was pondering something. Using a Hexapod or a Biped for example, would it be possible to use a single axi gyro, or a couple of them, to maintain an upright position in a robot?
In my case, I’m still making my way through the BasicX guide to learn how to program. I can do simple things but I think programming to use an accelerometer is out of my abilities at the moment. I, however, am very familiar with helicopter gyros and have used them in other applications as well.
So I thought, a rate gyro will sense a a change in rotation on an axi then respond by moving a servo to correct and stop the change (and return to the original position before the change in the case of a Head-Hold gyro). So if you were to put a gyro on a Hexapod so it sensed a change in the lateral axi, front to back (so any rotation to the left side or right side, tipping) then had the gyro, instead of moving a tail servo on a helicopter, it would adjust the height of the legs on the left or right side of the Hexapod to level itself out. Make sense?
So basically the gyro would work independently but you would need a way to collect the servo out data from the gyro lead and translate that into a custom group movement. So if the Gyro sensed the hex was leaning considerably to the left (walking sideways across a bank or slope) it would respond by extending the height of the left legs slightly and lower the height of the right legs slightly. Basically by offsetting the right and left leg positions by adding or subtracting from the normal operating position. The Hex walking seq would continue running as intended but with these small offsets in height added in at the same time, determined by the gyro.
I hope this makes sense. This I think I could do except for the group adjustment required. I can’t wire the hip joints together to be run by the gyro for obvious reasons so I’m wondering if there would be a way to use the SEQ program to accept the gyro output as an input, and react by adjusting the leg height. Or would this require programming as well and I might as well use an accelerometer of some sort?
Thanks