 | | Re: "Servo" Driver for NQC
|
|
The ON/OFF bang-bang control you are trying has some problems that proportional control does not. While it is true that if the update rate is high enough, or the controlled plant damped enough, that switching a drive ON and OFF can simulate (...) (24 years ago, 30-Jan-02, to lugnet.robotics)
|
|
 | | Re: Incorrect result
|
|
(...) Yes, this is what happens when one is used to just making everything long and not considering overflows. Even worse was that I was doing the math on the computer's calculator, but not looking at the intermediate result, just typing in the (...) (24 years ago, 30-Jan-02, to lugnet.robotics.rcx.legos)
|
|
 | | Re: BricxCC release 3.3.3.4
|
|
hi Guido, I just a very little time also the comming week, but my first impression is very good !! Thanks very much. And you said you weren't a fast programmer ;-) (...) It sound great indeed. (...) I couldn't get it to work, but maybe I did (...) (24 years ago, 30-Jan-02, to lugnet.robotics.rcx.nqc)
|
|
 | | Re: Incorrect result
|
|
(...) 256 * 128 = 32768, one higher as the biggest positive integer value. The cast to long would help, but your cast is too late. I have not tested, but I think rc += ( (long)b->magnitude * (long)TA_costable[...] ) >> 7; will help. Try output in (...) (24 years ago, 30-Jan-02, to lugnet.robotics.rcx.legos)
|
|
 | | RE: Incorrect result
|
|
<snipped code> (...) Robert, this is a classic problem with ranges of singed numbers in C rx = (long)(a->magnitude * TA_costable[a->direction]) >> 7; I don't have an RCX in frot of me, but I think you need to cast a->magnitude to long before the (...) (24 years ago, 30-Jan-02, to lugnet.robotics.rcx.legos)
|
|
 | | Incorrect result
|
|
This problem, unlike the other, is definitely not a result of my eyes/brain being tired or something. I thoroughly displayed every value before and after evaluation and the result is ***WRONG***. Here is the code and the values: typedef struct { int (...) (24 years ago, 30-Jan-02, to lugnet.robotics.rcx.legos)
|
|
 | | Re: "Servo" Driver for NQC
|
|
(...) <snip> (...) Right, but in the firmware PWM, it is 'on-float-on-float' not 'on-brake-on-brake' I think (but I'm not sure). In fact, the 'on-brake-on-brake' is a neat way to get fine control to (say) just crack a pneumatic valve to move a (...) (24 years ago, 30-Jan-02, to lugnet.robotics)
|
|
 | | RE: true tcp/ip on the RCX
|
|
Hi :) Just out of curiosity, check this thread from Jan/2000: (URL) mc. (...) (24 years ago, 30-Jan-02, to lugnet.robotics.rcx.legos)
|
|
 | | RE: IP on Mindstorms
|
|
FOUND IT ! -> (URL) was 2 years ago, 3-Jan-00 ! :) phew... mc. (...) (URL) (24 years ago, 30-Jan-02, to lugnet.robotics)
|
|
 | | RE: IP on Mindstorms
|
|
Check (URL) was posted on the legOS list. mc. PS: I was under the impression that a few years ago (one,two?) someone here did a HTTP server with a RCX. I just can't find info about it anymore :/ (...) (24 years ago, 30-Jan-02, to lugnet.robotics)
|
|
 | | Re: IP on Mindstorms
|
|
(...) See this thread: (URL) (24 years ago, 30-Jan-02, to lugnet.robotics)
|
|
 | | Re: true tcp/ip on the RCX
|
|
(...) <snip> (...) <snip> Yeah, I've got a server farm of 3 million RCXs. Each hosts errrrr... 1 page. ;-) Great job Olaf! Steve Martin IndyLUG (24 years ago, 30-Jan-02, to lugnet.robotics.rcx.legos)
|
|
 | | IP on Mindstorms
|
|
SlashDot yesterday had a story on someone putting an IP stack into the RCX. I expected to read about it here, but don't see anything. Does anyone have the story? --Jack Gregory (24 years ago, 30-Jan-02, to lugnet.robotics)
|
|
 | | Re: "Servo" Driver for NQC
|
|
"Steve Baker" <lego-robotics@crynwr.com> wrote in message news:3C56E677.33FD99...ail.net... (...) Floating (...) if (...) I cannot gear it differently - the geartrain is optimized for the correct speed I must achieve. Float doesn't work because of (...) (24 years ago, 30-Jan-02, to lugnet.robotics)
|
|
 | | Re: true tcp/ip on the RCX
|
|
"Olaf" <christ_o@gmx.de> schrieb im Newsbeitrag news:Gqo0BH.E9t@lugnet.com... (...) calls (...) <---snip----> Hi Olaf, i think it´s the wrong way to blow up the legOS kernel with a ip-stack, because you lost valuable RCX memory to legOS (...) (24 years ago, 30-Jan-02, to lugnet.robotics.rcx.legos)
|
|
 | | Re: Control the RCX from AppleScript
|
|
The lego camera will not work with imovie, I'm afraid. Imovie only works with DVcameras, not with webcams. I think the lego camera is actually one of the logitech cameras inside, so there may be a MacOS 9 driver, but not a MacOS X driver. I don't (...) (24 years ago, 30-Jan-02, to lugnet.robotics.rcx.nqc)
|
|
 | | External motor power and expansion board combo problem?
|
|
I wish to make the small mod to allow for external power to the motor outputs of the main board. However, this seems to cause several potential problems with the expansion board. First, the motor power connector is occupied by the motor power (...) (24 years ago, 30-Jan-02, to lugnet.robotics.handyboard)
|
|
 | | Re: Lego Studios Cam and Macintosh
|
|
(...) I tried the Philips driver back when I hunted down drivers to make it work. Multiple drivers were tried, but nothing worked. I'll put a list together before BW and someone else can benefit from the info in the future. I'd try iMovie if I had (...) (24 years ago, 30-Jan-02, to lugnet.robotics)
|
|
 | | Re: Lego Studios Cam and Macintosh
|
|
(...) Did you try that Philips driver referenced in Barney's post? What about the iMovie thing? Matt (24 years ago, 30-Jan-02, to lugnet.robotics)
|
|
 | | Re: Lego Studios Cam and Macintosh
|
|
(...) You got it, Matt! The camera will go to BricksWest. We'll test it out on site. If you or anyone else has any more ideas on how to get this to work, I'm still open to suggestions, but so far I haven't located drivers that would allow it to work (...) (24 years ago, 30-Jan-02, to lugnet.robotics)
|