| | Re: balancing bot Philippe Hurbain
| | | (...) ...and here is a NQC sample code that works on YAL, using Dick Swan's fast firmware. Try it on a clear color surface (not necessarily even, some patterns help stabilize position) with overhead diffuse lighting. YAL must be started balanced (...) (20 years ago, 30-Dec-04, to lugnet.robotics)
| | | | | | | | Re: balancing bot dan miller
| | | | | this looks similar to the logic I got working. I tweaked the parameters (equiv. to a,b,c in your code) and it's much more stable now. Interestingly, I have to set 'b' very high, about 2X of what 'a' is set to -- most code I've seen is just the (...) (20 years ago, 31-Dec-04, to lugnet.robotics)
| | | | | | | | | | Re: balancing bot Dick Swan
| | | | | I recently implemented a new motor control "source" specifically targeted at PID algorithms in the new firmware. It takes a signed number in the range -128 to +128 and converts it into a motor control command. -128 to -1 is reverse direction and (...) (20 years ago, 31-Dec-04, to lugnet.robotics)
| | | | | | |