To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / *9430 (-5)
  Swan scheduling bug?
 
I'm starting to use the swan firmware and I'm having a problem with the scheduling. It seems like a task with a long wait does not yield properly to other tasks. Here the NQC code sample: task taska() { WaitMS(150); AddToDatalog(9900); } task main() (...) (19 years ago, 22-Sep-05, to lugnet.robotics.rcx)
 
  pbrick and firmware
 
Palm 130, pbrick, rcx 1.0 Can the palm 130 with pbrick be used to control an rcx that doesn't have firmware downloaded? My suspicion is that it won't work without the firmware. Tammy (19 years ago, 22-Sep-05, to lugnet.robotics.rcx)
 
  Re: time sampling under the rcx standard OS
 
(...) Here's a code byte from my LegWay code. ---- int MotorSpeedArray[32] = {1,3,2,0}; // Speeds // ... later in the program... if (sys_time>CheckTime) // check system timer - is it time to check sensors again? { L1 = ReadSensor(SENSOR_1); L3 = (...) (19 years ago, 21-Sep-05, to lugnet.robotics.rcx.nqc)
 
  Re: time sampling under the rcx standard OS
 
Hi Steve, As I'm quite new to BrickOS and to C programming, I'm sorry I'm not sure I understood what you meant, neither how you do this : (...) - Do you check the sensor at a higher rate, and only send a command to the motor at 1kHz ? - How do you (...) (19 years ago, 21-Sep-05, to lugnet.robotics.rcx.nqc)
 
  position servoing under BrickOS
 
Thanks to your advices, Dick, Matt, and Steve, I've been very happy to solve my time sampling problems, installing BrickOS, which runs the rcx fast enough to get a proper position servoing (using rotation or light sensor, and a PID controller). I (...) (19 years ago, 20-Sep-05, to lugnet.robotics.rcx)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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