| | Re: Ultimate ROBOLAB for PICs
|
|
(...) Philo sent me an email to attract my attention to registered trademarks of the Microchip Company among which PICLAB -all capitals. But, as ours is a non-commercial software, and we are using lower cases for the 2 final letters, this should not (...) (17 years ago, 31-May-07, to lugnet.robotics)
|
|
| | Re: Ultimate ROBOLAB for PICs
|
|
(...) We actually worked a lot with the 16F88, which is a really great chip, something like a combination of the 16F628 and 16F819. But we didn't play with the I2C module on it yet. So that must obviously be our next challenge. (17 years ago, 31-May-07, to lugnet.robotics)
|
|
| | Re: Ultimate ROBOLAB for PICs
|
|
Great timing. I just bought a PICkit2 to play with the other day. Any chance you already have the I2C slave interface for the NXT for the PIC? That way I can only concentrate on the specific code for a custom input/output device. (17 years ago, 30-May-07, to lugnet.robotics)
|
|
| | Ultimate ROBOLAB for PICs
|
|
We added a special programming environment for a series of PICs to the Ultimate ROBOLAB site www.ultimaterobolab.com. To distinguish it from RCX-Ultimate Robolab, we called it PICLab. This is a powerful tool for PIC programming. The result is .asm (...) (17 years ago, 30-May-07, to lugnet.robotics)
|
|
| | Re: Robo Quad - Stage Seven
|
|
(...) Thank you! I just finished adding the pilot to the cockpit. (...) LMAO, no comment other than the line I wrote above. (LOL) (...) Stage 9 coming soon. Completion projected at Stage 10. (URL) The Robo Quad about to get some tail. Eric Sophie (18 years ago, 25-May-07, to lugnet.robotics, lugnet.technic, FTX)
|
|
| | Re: Robo Quad - Stage Seven
|
|
Cool! Glad to see you're still in there making great robots Eric! Hope that robo-pussy comes alive with much enjoyment and pleasure! Regards, /Tobbe in Sweden (18 years ago, 24-May-07, to lugnet.robotics, lugnet.technic) !!
|
|
| | Re: Windows Vista Mindstorms Compatibility
|
|
Great! But now I've run into another problem. My USB tower is not detected. It is installed, I can see it under the Control Panel, but none of the programs can find it. I've tried plugging it into different USB ports, I've tried the new setup (...) (18 years ago, 20-May-07, to lugnet.robotics)
|
|
| | RE: Windows Vista Mindstorms Compatibility
|
|
Hi, BrixCC works fine under Vista here, just change the shortcut to "Run as Administrator" (under the "Advanced" button). Regards, Marco -----Original Message----- From: linmix [mailto:linmix@gmail.com] Sent: zondag 20 mei 2007 16:32 To: (...) (18 years ago, 20-May-07, to lugnet.robotics)
|
|
| | Windows Vista Mindstorms Compatibility
|
|
I have just bought a laptop with Windows Vista (it's the only OS you can get on a laptop around here) and of course I have immediately tried to install my LEGO software . Here's a short report of the different apps I've tried to install and the (...) (18 years ago, 20-May-07, to lugnet.robotics)
|
|
| | Pictures from Robot Sumo at Orlando, LIC
|
|
There was a Under 14 Light Weight Class Robot Sumo and a Tag Team event at the Orlando LIC -- see KK Quah's web-site, TLCK ((URL) for details. It happened May 19, 2007. Here are my pictures from the event: (URL) (18 years ago, 20-May-07, to lugnet.robotics)
|
|
| | Re: new xy-plotter
|
|
(...) Page is updated : (URL) (18 years ago, 19-May-07, to lugnet.robotics)
|
|
| | Re: circular pointer
|
|
(...) There's something about that too in the same book. If I have some time this weekend I'll try to figure that one out. (thanks for the pointer, I'd forgotten about it) linmix (18 years ago, 17-May-07, to lugnet.robotics)
|
|
| | Re: circular pointer
|
|
(...) Another way to accomplish the same result with less code and less memory is to use exponential smoothing. (see Wikipedia) The method uses coefficients between 0 and 1, but if you want to use integers you can always use the integer numerator (...) (18 years ago, 16-May-07, to lugnet.robotics)
|
|
| | Re: circular pointer
|
|
(...) I should have written: 'array' (...) OK, undefined is not the same as zero, that makes sense (in a way). I looked up how to initialise an array and according to Dave Baum's NQC Guide "The initial values for an array's elements cannot be (...) (18 years ago, 14-May-07, to lugnet.robotics)
|
|
| | Re: circular pointer
|
|
In lugnet.robotics, linmix <linmix@gmail.com> wrote: [snip] (...) [snip] I would say defining SIZE changes the size of the array and thus the period of the moving average. I'm not sure how you mean "macro" in this context. [snip] (...) Yes, both (...) (18 years ago, 13-May-07, to lugnet.robotics)
|
|
| | Re: circular pointer
|
|
I've inserted some comments, not all are questions, some are simply 'thinking aloud'. (...) So by defining SIZE here I can easily change the size of the macro without having to alter anything else in the code. Nice! (...) Right you are, I should (...) (18 years ago, 13-May-07, to lugnet.robotics)
|
|
| | Re: circular pointer
|
|
I've added my comments to the code you posted (they start with **). I've also added some indenting.: #define SIZE 3 int v[SIZE],i,sum,ave; // initialize the array and some other variables sum = 0; for (i=0;i<SIZE-1;i++) { //I think this means set (...) (18 years ago, 13-May-07, to lugnet.robotics)
|
|
| | Re: circular pointer
|
|
(...) The line above is the line that cycles the array - each time through the loop it increments i and resets it to zero if it's >= SIZE (% is modulus operator). But I would agree with you about the v[i]=0 line - seems to me it would make the (...) (18 years ago, 12-May-07, to lugnet.robotics)
|
|
| | Re: new xy-plotter
|
|
(...) Page is updated with the first picture. Note that there is no sensorial control over the motor's position: (URL) (18 years ago, 12-May-07, to lugnet.robotics)
|
|
| | circular pointer
|
|
Some time ago some of you offered to help out if I (and I suppose anyone else) had any questions about programming.... well, here goes I'm reading "Building Robots with Lego Mindstorms" and in Chapter 12, there is some code to create a circular (...) (18 years ago, 12-May-07, to lugnet.robotics)
|