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 / 22194
  Re: YAL, Yet Another LegWay
 
(...) Hey Philo, I was just looking over your code, and I think if you change this line: pid = (Kd * errdiff + Kp * err + Ki * errint) /3000l; to something like this: pid = (Kd * errdiff + Kp * err + Ki * errint) /3000l + ForwardOffset; then when (...) (21 years ago, 9-Feb-04, to lugnet.robotics, FTX)
 
  Re[2]: YAL, Yet Another LegWay
 
Hello Steve, Monday, February 9, 2004, 8:55:11 PM, you wrote: (...) SH> Hey Philo, SH> I was just looking over your code, and I think if you change this line: SH> pid = (Kd * err_diff + Kp * err + Ki * err_int) /3000l; SH> to something like this: (...) (21 years ago, 9-Feb-04, to lugnet.robotics)
 
  Re: Re[2]: YAL, Yet Another LegWay
 
(...) Hi Steve and Allen, I already tried what you suggested, but I had only mixed results: either too little moves or unstable and uncontrolable ones. Perhaps also my PID coefficients, determined by trial and error, are not so good... I'd like to (...) (21 years ago, 10-Feb-04, to lugnet.robotics)
 
  [Q] Remote control code ?
 
Hi Philo,Steve and Allen. I've made a YAL right after reading the articles of you all. It's great and very fun. After tuning some papameters, it is working so well. My Lego has been in a dark corner of my room so long time. New BrickCC/BrickOS help (...) (21 years ago, 21-Feb-04, to lugnet.robotics)
 
  Re: [Q] Remote control code ?
 
I'm lazy . . . would someone please write a version of the program that works with the LEGO remote control? Using the remote control is cooler than driving it with a flashlight. And with a flashlight you can't make it turn. (21 years ago, 31-Mar-04, to lugnet.robotics, FTX)
 
  Re: [Q] Remote control code ?
 
(...) Okay, I tried writing it anyway. It doesn't work, and I think it's because I'm not changing the motor speeds. All I'm doing is changing motor directions. Help me out, please, since I spent the time to install BrickOS in BricxCC and learn the (...) (21 years ago, 31-Mar-04, to lugnet.robotics, FTX)

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