 | | Re: OS-X driver for the Vision Command cam ?
|
|
(...) good for anything else. Does anyone else's run faster? (19 years ago, 17-May-07, to lugnet.robotics.vc)
|
| |
 | | 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 (19 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 (...) (19 years ago, 16-May-07, to lugnet.robotics)
|
| |
 | | Re: Building and downloading NXT firmware
|
|
(...) Thanks for trying: You need just to look at the NXTGCC project. You should probably be able to start by reading nxt.pdf at (URL) then install either the winarm or (URL) toolchains. Finally download the zip file from (URL) see if you can (...) (19 years ago, 14-May-07, to lugnet.robotics.nxt.nxthacking)
|
| |
 | | 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 (...) (19 years ago, 14-May-07, to lugnet.robotics)
|
| |
 | | Re: NBC arrays
|
|
Thank you for the valuable first-hand information. It is a pitty there is no byte-code instruction to copy a part of an array somewhere to a middle of another array (so that one does not have to index and replace element-by-element or allocate a new (...) (19 years ago, 13-May-07, to lugnet.robotics.nxt)
|
| |
 | | 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 (...) (19 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 (...) (19 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 (...) (19 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 (...) (19 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) (19 years ago, 12-May-07, to lugnet.robotics)
|
| |
 | | NXT radar
|
|
I've built a 'true' NXT radar, using a 4 wire untangler to allow infinite rotation of a Sharp IR sensor from mindsensors.com. Details and images on www.nxtasy.org main page. Guy Ziv NXTasy.org (19 years ago, 12-May-07, to lugnet.robotics.nxt)
|
| |
 | | 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 (...) (19 years ago, 12-May-07, to lugnet.robotics)
|
| |
 | | robo soccer
|
|
I'm not sure if this is a right forum to ask for this. I am wondering if there is anyone who may be interested in working with 10 high school kids on learning how to do robosoccer. --Elizabeth (19 years ago, 12-May-07, to lugnet.robotics.edu)
|
| |
 | | robo soccer
|
|
I'm not sure if this is a right forum to ask for this. I am wondering if there is anyone who may be interested in working with 10 high school kids on learning how to do robosoccer. --Elizabeth (19 years ago, 12-May-07, to lugnet.robotics.nxt)
|
| |
 | | Building and downloading NXT firmware
|
|
Hello Hackers, That's my first post to this group so I would like to introduce myself shortly: I'm a 34 year old german who has studied computer science some years ago. Being on the job for a few years I decided to go back to the university to get a (...) (19 years ago, 11-May-07, to lugnet.robotics.nxt.nxthacking)
|
| |
 | | 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 (...) (19 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 (...) (19 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 (...) (19 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 (19 years ago, 10-May-07, to lugnet.robotics, lugnet.technic)
|