To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 23220
  Re: balancing bot
 
(...) You may have a look to YAL: (URL) (20 years ago, 30-Dec-04, to lugnet.robotics)
 
  Re: balancing bot
 
(...) ...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
 
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
 
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)

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR