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 / *9345 (-20)
  Re: Swan firmware crash!
 
(...) That's where your completely wrong. I can see the error, calls to motor power should be set out like this motorPower128(1) = MyVariableName; in this example the constant "1" means set the power to output B to the value specified by (...) (19 years ago, 20-Jul-05, to lugnet.robotics.rcx.nqc)
 
  Re: Swan firmware crash!
 
(...) * Maybe I wasn't too clear, but really there isn't much to say: it is the SetMotorPower128 command that causes the error. * Another question is: why costants MTR_A or MTR_B don't work at all? Here's the code(all the code): task main{ (...) (19 years ago, 20-Jul-05, to lugnet.robotics.rcx.nqc)
 
  Re: Swan firmware crash!
 
(...) You haven't given us(readers) much to go on. I had a similair problem but finding the solution was a bit of a fluke. If you could provide some info like program size, and a description of what the program does or some code we may have more (...) (19 years ago, 19-Jul-05, to lugnet.robotics.rcx.nqc)
 
  Swan firmware crash!
 
Hi. I've installed new NQC and BRICXcc to test new functions in fast firmware by Dick Swan. I wanted to see if the new 1/1000th second resolution could let me drive a servo. When I try to use the SetMotorPower128 command, compiler is ok, downloading (...) (19 years ago, 19-Jul-05, to lugnet.robotics.rcx.nqc)
 
  Re: I've got what Iain Hendry's got, was Re: Swan Firmware
 
(...) Hi John I've fixed the problem. I tracked it down by commenting out parts of my program. Luckily I started on the function containing the problem So I found it very quickly. Solving the problem took longer though. As you can see below I've (...) (19 years ago, 16-Jul-05, to lugnet.robotics.rcx.nqc)
 
  Re: I've got what Iain Hendry's got, was Re: Swan Firmware
 
(...) Can you please email me the NQC source so that I can generate the listing to see if possibly the compiler is generating invalid code? John Hansen (19 years ago, 16-Jul-05, to lugnet.robotics.rcx.nqc)
 
  I've got what Iain Hendry's got, was Re: Swan Firmware
 
(...) I've got the flashing five problem as well, and it's really annoying, I spent most of my Friday in vain trying to fix it. I thought/think it's a stack overflow problem, but after serious optimising of my program It's made zero difference. (...) (19 years ago, 16-Jul-05, to lugnet.robotics.rcx.nqc)
 
  Re: different output power at different ports?
 
(...) Sounds like more friction in the drive mechanism to one wheel than the other. I've had the same problem with tank-driven robots. I was using the fast 9V motors geared down, but they were under-powered for the application. The friction in the (...) (19 years ago, 15-Jul-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
 
  Re: different output power at different ports?
 
You're absolutely sure it's not a sticky wheel? Thomas (...) (19 years ago, 15-Jul-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
 
  Re: different output power at different ports?
 
(...) This sounds to me like a good tactic. Your program might have some issue with turning in one direction vs another. (...) I also have trouble believing variations in parts (except the motors themselves) will cause this much difference. Ralph (19 years ago, 14-Jul-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
 
  Re: different output power at different ports?
 
(...) Okay - did you try a simple program going in a straight line, and check how much it veered after a few meters? Unfortunately - it does not sound an entirely unlikely problem - if there are variations between the h-bridges (general (...) (19 years ago, 14-Jul-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
 
  RE: different output power at different ports?
 
On Thu, July 14, 2005 10:12 am, Elizabeth Mabrey said: (...) well, I'm not a precious hardware guru, :) but I find it hard to believe the small difference in the electronics would make a noticeable difference in the output of the motors. If you're (...) (19 years ago, 14-Jul-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
 
  RE: different output power at different ports?
 
Sorry... I meant "precise hardware verification" not precious. I do not the equipment to measure them. Any suggestion, other than getting extra hardware like a power analyzer, for trouble shooting? Trouble shooting is always (well, almost always) (...) (19 years ago, 14-Jul-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
 
  RE: different output power at different ports?
 
(...) Without any precious hardware verification, this is what I did: - symptom: motor C was not able to make turn as well as motor A can - troubleshooting steps: a) to ensure even load on both motor ports, I removed all other attachments, and left (...) (19 years ago, 14-Jul-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
 
  Re: different output power at different ports?
 
(...) This might be a dumb question, but are we talking actual different voltage levels, or different PWM duty ratios? Have you ensured that you have set (from code) the power levels of all the ports to be the same? How have you observed the (...) (19 years ago, 14-Jul-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
 
  different output power at different ports?
 
I just confirmed that some RCX happens to allow various output power to different output ports. In my case, the port A tends to produce more power thru motor and the port C does. I then switched the two motors. The condition stays the same. (...) (19 years ago, 14-Jul-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
 
  Re: Control RoboSapein with IR-tower
 
A friend sent me this link - here's how to replace RoboSapien's head with a PDA so he can be programmed to do all manner of things... Thomas (URL) (19 years ago, 8-Jul-05, to lugnet.robotics.rcx.legos)
 
  Re: Custom sensor current drain - use two sensor ports?
 
(...) Watches with glow-in-the-dark spots on them are a radioactive source. Brian Nielsen (19 years ago, 7-Jul-05, to lugnet.robotics.rcx)
 
  Re: Control RoboSapein with IR-tower
 
(...) Doesn't Robolab have some way of starting external applications? You could possibly setup a PC with IR-tower, which would receive a message from RCX ((URL) - are the Robolab messages compatible with Mindstorms RIS? - I cannot find it (...) (19 years ago, 6-Jul-05, to lugnet.robotics.rcx.legos)
 
  RE: Control RoboSapein with IR-tower
 
That will be way too cool if this can be done from Robolab..!!! ---...--- -------- Best Regards, Elizabeth Mabrey Partner of Director LEGO MINDSTORMS 3322 Rt. 22 West, Bldg 4, Ste 402 Robotics Community Branchburg, NJ 08876 Ph: (908) 595-1010 ; M-F: (...) (19 years ago, 6-Jul-05, to lugnet.robotics.rcx.legos)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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