| | 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)
|
|
| | Re: Zamor Spheres
|
|
(...) "regulation" (...) out" into (...) We'd like to see how soccer balls would run through our modules. I'm guessing that some would take the smaller balls just fine and could slip right into a regulation GBC, but others would find that their (...) (18 years ago, 11-May-07, to lugnet.robotics)
|
|
| | Re: Zamor Spheres
|
|
(...) This is indeed the main problem. As we originally defined a GBC it used soccer balls (at the time, Zamors hadn't yet even come out), so most GBC-standard modules not only use but take advantage of the fact that a LEGO soccer ball fits very (...) (18 years ago, 11-May-07, to lugnet.robotics)
|
|
| | Re: Zamor Spheres
|
|
<<but I gather that means they may not work in a ball pump e.g.>> I chose to use Zamor spheres (because of their availability) for our GBC in my small robotics/engineering class. The kids have made ball pumps, Archimede's screws, stair lifts, chain (...) (18 years ago, 11-May-07, to lugnet.robotics)
|
|
| | Re: Robo Quad - Stage Seven
|
|
(...) Thanks. When I make one for the head motion it should be pretty cool. The action of the left/right and up/down is pretty quick. - Eric Sophie (18 years ago, 10-May-07, to lugnet.robotics, lugnet.technic)
|
|
| | Re: Robo Quad - Stage Seven
|
|
(...) Thank you, it is just taking a long time to build. I don't want to build it the wrong way. So I choose carefully the steps involved. Plus, it is tough going on my fingers. (...) Hard to say. All the joints are very strong. The motors provide (...) (18 years ago, 10-May-07, to lugnet.robotics, lugnet.technic, FTX)
|
|
| | Re: Robo Quad - Stage Seven
|
|
(...) Very impressive. The complexity of this robot is astounding. It looks very heavy. Will there be enough power for the weight? I am not doubting your work but it is a question that may come to some when they see how many parts are involved in (...) (18 years ago, 10-May-07, to lugnet.robotics, lugnet.technic, FTX)
|
|
| | Re: Robo Quad - Stage Seven
|
|
Coming along nicely Eric. Can't wait to see video of this thing in action. Cheers, Nathan (18 years ago, 9-May-07, to lugnet.robotics, lugnet.technic, FTX)
|
|
| | Robo Quad - Stage Seven
|
|
(URL) Robo Quad - Stage One notes> (URL) Robo Quad - Stage Two and Three notes> (URL) Robo Quad - Stage Four and Five notes> (URL) Robo Quad - Stage Six notes> Robo Quad - Stage Seven Completed Robo Quad - Stage Eight Work in progress (URL) Robo (...) (18 years ago, 9-May-07, to lugnet.announce.moc, lugnet.robotics, lugnet.technic, lugnet.build.mecha, FTX)
|
|
| | Re: Control Lab & NQC
|
|
(...) someone still has an information page up. (18 years ago, 8-May-07, to lugnet.robotics)
|
|
| | Re: Control Lab & NQC
|
|
(...) linmix, if you can program in NQC, you can use C. It's pretty much the same language. You'll just have to learn how to use the serial port, it's not that hard. Get a book on C programming from your local library or bookstore. Get a little (...) (18 years ago, 7-May-07, to lugnet.robotics)
|
|
| | Re: Control Lab & NQC
|
|
(...) that's the one. Thanks for the link. I'll certainly try it out. (18 years ago, 7-May-07, to lugnet.robotics)
|
|
| | Re: Control Lab & NQC
|
|
(...) Unfortunately the link is dead. Why not use real C? Because I'm not a programmer and don't know C. Anything I do know (like NQC) I got from tutorials specific for LEGO. linmix (18 years ago, 7-May-07, to lugnet.robotics)
|
|
| | Re: Control Lab & NQC
|
|
(...) Is that the same as the Dacta 70909? I have a page with some info about that and its protocol, and a test environment programmed (with a puny 'programming language') in Delphi - no OCX needed. Source is available. (URL) Anders Isaksson, Sweden (...) (18 years ago, 7-May-07, to lugnet.robotics)
|
|
| | Re: Control Lab & NQC
|
|
(...) The Control Lab is a serial I/O device. I don't see the benefit of using NQC with it since it doesn't run programs itself; the computer does. NQC would have to change in a fundamental way to accommodate it: either compile to bytecodes for a (...) (18 years ago, 7-May-07, to lugnet.robotics)
|
|
| | Re: Control Lab & NQC
|
|
(...) Nothing has ever come of it. Partially because I haven't yet gotten my hands on a control lab unit and partially because I got involved with other things. John Hansen (18 years ago, 7-May-07, to lugnet.robotics)
|